Version: 1.00, by Erwin
Developer Last Online: May 2013
Version: 2.3.x
Rating:
Released: 10-28-2002
Last Update: Never
Installs: 82
No support by the author.
Search Thread - by Erwin Loh
-----------------------------
This hack will add a "Search This Thread" search box at the bottom of threads (similar to the "Search This Forum" search box at the bottom of Forum Display).
Should be useful for loooooooooooooong threads, especially for a forum like this one.
Demo
-------
This hack is installed here at vB.org - just use the Search This Thread box at the bottom right hand corner of this page.
Features
-----------
1. Only posts from the thread will be searched.
2. Uses that standard searchindex table.
3. Uses the same vB search algorithms.
4. This will add NO extra queries to your forum.
5. Uses the standard search and forum permissions set by you.
Installation
------------
1. Running 1 database query
2. Making 2 changes to showthread.php
3. Making 6 changes to search.php
4. Making 1 change to template "showthread"
5. Adding a new template "showthread_searchthread"
Enjoy!
Please click install if you want updates to this hack!
Dr. Erwin Loh
I've updated the installation text file to make things clearer, and made the search box visible to guests as well.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
That's because vB 2.2.8 uses a different cookie saving method compared to vB 2.2.6 - you cannot use 1 file in 2.2.8 with 2.2.6 - upgrade your whole site to 2.2.8. 2.2.8 fixes the cookie bug for AOL users, that's why.
Aaaah, I've been looking for this hack for so long and never came across it, mostly for going thru threads on here that I needed it, never noticed the option at the bottom of the screen All that reading thru the vbIndex thread and vbproArcade :speechless:
Anyhoo great hack, I've added it to my forum, no problems, I just have one issue though!
Attached is what my search results page looks like after using this feature, notice the way the topic field pushes the others over and makes everything look cluttered
Ah, I figured it out. It's because of the quote box hack, if the quote is long then the box pushes the other fields across, same occurs when using the main Search and selecting "results as posts". I'll just ignore it
I'm attempting to install this hack on 2.2.5 and I need a 2.2.5 Search.php - does anyone have a virgin copy of 2.2.6 search 2.2.6. The code in 2.2.6 search.php is slightly different than 2.2.5 but will still work with 2.2.5 and I want to install this hack but don't have 2.2.6 - if you have it, please email it to webmaster@fastboats.info
Originally posted by Erwin I assume you are using 2.2.8. If so, then you need to uninstall the hack, and install it again. That error you are getting looks like an error with your search query - possibly one of the variables is written wrongly.
As you can see on this site which is using the same hack, and on many other sites, the hack works perfectly.