Back to vBulletin 3.0 Add-Ons

Search (without user or words)
Mod Version: 1.00, by sv1cec

This modification is in the archives.
vB Version: 3.0.3 Rating: (0 vote - 0 average) Installs: 5
Released: 19 Nov 2004 Last Update: Never Downloads: 0
Not Supported  

Being the admin of my forums, I always try to check all new threads (or at least I want to). Some times, I go to the site and forget to check the "New threads". Spend some time there, then either leave the computer and do other chores or whatever. When I go back a couple of hours later, there are no new threads to see.

vBulletin's search has an option, which would allow you to see all threads since various periods of time (like: since yesterday, since one week ago etc.), BUT it does not work on its own. It has to be combined with a user name or a word for which to search. If you try to just define that you want the threads since yesterday, you get an error message.

So, today I decided it was time to do something about it. After searching the code a bit, I figure it out. So, if you too want to be able to see all posts since 2 weeks ago (or whatever is allowed there), do the following:

Edit file search.php and find:

PHP Code:
if (empty($query) AND empty($searchuser) AND empty($replyless)) 
Replace that with:

PHP Code:
if (empty($query) AND empty($searchuser) AND empty($replyless) AND empty($searchdate)) 
Voila, search with only the dates you are interested in.

Rgds
-------------
John

Download

No files for download.


vblts.ru supports vBulletin®, 2022-2024