![]() |
Search (without user or words)
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:
PHP Code:
Rgds ------------- John |
I have make the Changes, but I see no Modifikation!
Can you post a screenshot before and after installing? |
It doesn't change anything. When you do a search for date, you use to get an error message.
Once with this minor addition installed, you can search for dates as well, right? |
You won't see any visual differences.
Go to the search form, select only a time period and hit search. Now try this with and without this hack installed. Btw: One could also use search.php?do=getdaily&days=x to get posts since the last x days |
Ah thx! Now I´ve checked this little "Add On"
|
That's correct, you would not see any changes, it just allows you to search with the period only, without having to enter a word or a user name.
That's all it does, but for me, it was very useful, so I thought I would release it here. Rgds |
great idea, its always a pain when you have 2 seconds to check your site, dont have enough time to read every post, and then basicaly lose track of all those posts!
|
Quote:
-dndog |
Small change, but really useful.
Thanx !! |
It's actually been in Beta Releases for aaages.
https://vborg.vbsupport.ru/showthrea...ht=search+date Wonder why the original author didn't release it. |
All times are GMT. The time now is 04:13 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|