vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - vB3.5 15 Most Recent Searches Made By Our Members (https://vborg.vbsupport.ru/showthread.php?t=95270)

Boofo 08-28-2005 10:00 PM

vB3.5 15 Most Recent Searches Made By Our Members
 
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)

yoyoyoyo 08-29-2005 01:10 PM

Thanks once again, Bob!

Boofo 08-29-2005 01:12 PM

You're very welcome, sir. Enjoy! ;)

amykhar 08-29-2005 01:20 PM

Dumb question. This doesn't show people doing the getnew search does it? My members do that every 2 seconds, which would make it impossible to see real search terms.

Boofo 08-29-2005 01:22 PM

Quote:

Originally Posted by amykhar
Dumb question. This doesn't show people doing the getnew search does it? My members do that every 2 seconds, which would make it impossible to see real search terms.

No, it only shows specific words/terms they are searching for. ;)

VirtualMind 08-29-2005 01:40 PM

working fine here

*installs*

amykhar 08-29-2005 01:41 PM

Then I'll give it a shot. Thanks Bob. (See, I spelled your name right! :D )

Boofo 08-29-2005 02:02 PM

Quote:

Originally Posted by amykhar
Then I'll give it a shot. Thanks Bob. (See, I spelled your name right! :D )

Oh, sure, spell it right when I release something. ;)

And you're welcome. ;)

chanzero 08-29-2005 03:35 PM

Quote:

Originally Posted by Boofo
Oh, sure, spell it right when I release something. ;)

And you're welcome. ;)

cool :) thanks boofo *installs*

FleaBag 08-29-2005 04:36 PM

Nice addition Boofo. The 3.0 version intermitantly stopped working on me once I got past around 3.05 or so I believe - hopefully this one will work out :)! About to install - thanks a lot. :)


All times are GMT. The time now is 09:02 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01494 seconds
  • Memory Usage 1,733KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete