sv1cec
11-18-2004, 10:00 PM
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:
if (empty($query) AND empty($searchuser) AND empty($replyless))
Replace that with:
if (empty($query) AND empty($searchuser) AND empty($replyless) AND empty($searchdate))
Voila, search with only the dates you are interested in.
Rgds
-------------
John
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:
if (empty($query) AND empty($searchuser) AND empty($replyless))
Replace that with:
if (empty($query) AND empty($searchuser) AND empty($replyless) AND empty($searchdate))
Voila, search with only the dates you are interested in.
Rgds
-------------
John