Version: 1.0.4, by Boofo
Developer Last Online: Jun 2012
Category: Miscellaneous Hacks -
Version: 3.5.0
Rating:
Released: 08-28-2005
Last Update: 10-11-2005
Installs: 196
Uses Plugins
No support by the author.
vB3.5 15 Most Recent Searches Made By Our Members
Version 1.0.4
(By Boofo)
What does this product do?
This product 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. Searches made in your private forums are not shown to members who do not have access to those forums. It is now fully permissions based.
Version Information:
Version 1.0.0 --Initial release
Version 1.0.1 --Fixed error for new sites when the search table was empty.
Version 1.0.2 --Product is now fully self-contained. No more need for a template edit. Also changed the product name.
Version 1.0.3 --Fixed search template from repeating itself on each subsequent search.
Version 1.0.4 --Fixed searchee name being blank on a guest search.
Upgrade Instructions:
1. You MUST un-install the old product before upgrading due to the product name being changed.
1. Go to the "search_forums" template and remove "$last15searches" (sans quotes).
2. Install the product.
Credits:
A big thank you goes out to EvilSL1 for co-authoring the vB3.0 version, on which this hack has been converted.
Installation overview:
----------------------------
Products to install: (1)
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
You will notice that if you do in fact do a search of your own, that error will go away. Seems that when no searches are listed that is when the error appears??
You will notice that if you do in fact do a search of your own, that error will go away. Seems that when no searches are listed that is when the error appears??
Your search table was empty. You shouldn't have any problem with that error now.
So that error had to do with the fact that the table was empty? I guess if you say so as I know nothing about coding??
**clicks install just for Boofo **
Yes, that was it. I just had it confirmed for me by someone who knows more about arrays than I ever will. I just need to add a check to make sure there are entries in the search table is all.
You will notice that the error will reappear every hour unless people have been searching. (The cron system deletes the contents of the search table that are over an hour old every hour)
Im sure Boofo and Marco will solve the issue soon.
You will notice that the error will reappear every hour unless people have been searching. (The cron system deletes the contents of the search table that are over an hour old every hour)
Im sure Boofo and Marco will solve the issue soon.
same thing here.. I would prefer not to have a cron job to delete them, and keep the last 15 searches, without a time restraint.
You will notice that the error will reappear every hour unless people have been searching. (The cron system deletes the contents of the search table that are over an hour old every hour)
Im sure Boofo and Marco will solve the issue soon.
The error doesn't appear for me when the search table contents are deleted.