I found a tutorial here that may help to start something like this.

ubbt_SEARCH_RESULTS would have to be altered (or a new table created) to save all the SEARCH_WORDS indefinitely, keeping track of how often each word/phrase has been typed in.

P.S. I never actually browsed that table before, and discovered 3 instances of SPAM in there! Unbelievable...! So things like this would need to be accounted for/prevented first...;)

This conversation probably belongs on ubbDev
Attachments
Search_Words-spam.gif


GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP