The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vB3 15 Most Recent Searches Made By Our Members Details »» | |||||||||||||||||||||||||||
vB3 15 Most Recent Searches Made By Our Members
Developer Last Online: Jun 2012
vB3 15 Most Recent Searches Made By Our Members
Version 1.1 (By Boofo and EvilLS1) What does this hack do? This hack will display the last 15 searches made by your members on your main site search page at the top. The search words are then linked to those search results. It uses your censor options to make sure nothing bad shows up. The searchee will also be visible, but only to Admins. The search box will only show up when searches have been made. The Admin, Supermod and Mod searches will not show up in the listing. It is done this way so any searches made in your private forums are not shown to the regular members. Credits: A big thank you goes out to AntiOnline for his original "Last 10 Searches" hack for vB2, partly on which this hack is based. Version Information: Version 1.0 --Initial release Version 1.1 --Re-did the template code to make it match the default style a little better and also added the ability to collaspe the table. Installation overview: Files to edit: (1) --search.php Templates to edit: (1) --search_forums For those wanting the HTL file for this, thanks to Frank, you can get it from this post. The first image is what the other members will see and the second image is what the Admin will see. Show Your Support
|
Comments |
#82
|
|||
|
|||
Great hack!
Works great! Thanks! - Alex |
#83
|
|||
|
|||
nice hack
|
#84
|
||||
|
||||
Hi Boofo, my old friend, very nice Hack !
clicked install thank your |
#85
|
|||
|
|||
vb is also only showing the last hour of searches for me. This was on a fresh 3.0.3 install on my test board. So I did some investigating. I figured I would start at the scheduled tasks, so I took a look at the "Hourly Cleanup" entries. In the file ./includes/cron/cleanup.php I found:
PHP Code:
If I have problems I will report back. |
#86
|
||||
|
||||
Quote:
|
#87
|
|||
|
|||
I am getting this error;
Code:
Database error in vBulletin 3.0.3: Invalid SQL: SELECT search.searchid,search.orderedids,search.dateline,search.query,search.userid,user.username,user.userid,user.usergroupid FROM vb3_search,vb3_user WHERE query!='' AND user.userid = search.userid AND usergroupid NOT IN (5,6,7) ORDER BY searchid desc LIMIT 0,15 mysql error: Unknown table 'search' in field list mysql error number: 1109 Date: Saturday 17th of July 2004 12:16:03 PM Script: http://forum.ugamer.net/search.php? Referer: Username: S------ IP Address: ----------- My table prefix is vb3_ I'm running 3.0.3 |
#88
|
||||
|
||||
JimpsEd,
Change to following queries. They will add the table prefix for you. Change: PHP Code:
PHP Code:
PHP Code:
PHP Code:
Make sure to click install. |
#89
|
|||
|
|||
Thanks for the tips
But, unfortunatly nothing is showing at all - just nothing. Even from a clean install of your mod with your changes (and yes, template stuff correct); http://forum.ugamer.net/search.php? Not even an error message. ( I have also testing searching as regular user, and also turning off User Group *not** 7,6,5 |
#90
|
||||
|
||||
Quote:
|
#91
|
|||
|
|||
Still definetly not working :surprised:
I cannot understand, i've resinstalled the hack, even installed it on a blank forum install. Attatched is my Search.php and Template file if you can see anything wrong. The Search Template is a reverted one, with the hack added. The same goes for the search.php file, only with your above query modifications. I have tried rebuilding search indexes etc. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|