News:

Wondering if this will always be free?  See why free is better.

Main Menu

Popular And Recent Search Result

Started by Xpresskonami, April 03, 2020, 11:40:41 AM

Previous topic - Next topic

Xpresskonami

Hello, is there any code to get this search result for recently and popular search. Check attachment below.

From the attachment, any keywords search in the forum will be shown at recent search.

vbgamer45

We would need to be storing the search terms for each search request. Could be done. Unless maybe along with a timestamp probably only useful if you have lots of searches done.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Xpresskonami

Quote from: vbgamer45 on April 03, 2020, 12:43:03 PM
We would need to be storing the search terms for each search request. Could be done. Unless maybe along with a timestamp probably only useful if you have lots of searches done.
How can this be done please. If there is any way of coding it, it can be drop here with steps.
Thanks for getting back to me.

vbgamer45

Yes, it would need to be coded. A new database table created to store the data.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Arantor

It's a surprising amount of work and surprisingly easy to game on a small forum by accident - someone searches, they don't find what they wanted so they do different searches. A determined person ca screw this up very quickly, unless you have a large board and a lot of people, and then there are probably better ways of working out what's trending.

Note that Twitter doesn't use search nearly so much to define its trends as other systems, and .google can get away with this because enough people use Google generally that someone doing repeated searches/variants/trying to find something is a rounding error in the data.

Advertisement: