Resource icon

User Search log 1.0.1

No permission to download

Rene_V

Active member
Rene_V submitted a new resource:

User Search log - Logs and displays users search keywords

This add on adds a new table to your forum's database where all keywords that your users will use to search at your forum from the time that you install the add on will be stored, along with the user ids and the time of the search.

Admins can view all the search keywords that were used by their users by going at the Logs section in the Admin Panel. There a new log called User Search Log has been added containing all the aforementioned search data. Only admins with the permissions to view...

Read more about this resource...
 
A handy add-on! :)

However, our logs are growing at an alarming rate. Is there any way to prune them or to select which entries to keep?

There is not such an option in the app, but you can truncate the custom table manually from the database by running this sql query:

TRUNCATE TABLE 'xf_user_search_log';

I've made a note to add a truncate button at the app's results table so there will be no need to run the aforementioned sql query.
 
A good idea to prevent bots from flooding the search function is to block them from searching, without affecting the regular guests. Separate them if you will. A way to do that imo is to call the session object and check if it's a robot and then block them from searching the forum.
 
Back
Top Bottom