![]() |
Quote:
forumid=X exclode=X,Y,Z |
Quote:
search.php?do=getdaily&days=30&forumid=26 search.php?do=getdaily&days=30&exclude=28,29 Specifying the forumid will also include children, which is nice. This would allow adding buttons to do specific searches such as "Last Month for Forum X" or "Last Week for Category Y", but does not provide the flexibility of being able to do "Last X Days" searches from the Advanced Search form. With the hack described in this thread, you can select any combination of forums (thanks to the great new search features in vb 3) and then view all the posts from the last x days in those forums. You can also list the results by posts, which I don't think is possible with getdaily. |
Related to this topic, it seems that whenever you run a search using "getdaily", the Search Results web page always says:
Search: Posts From Last Day Regardless of the number of days you specify. Not a big deal, but it would be nice if it listed the number of days used in the search. |
Quote:
Bravo, and thank you! |
So simple, but so useful - qualities of a great hack. Should be included in future versions. I've also added the optional enhancements. It works like a charm.
|
Like some posters said, this feature is built into vB - you just need to add the template mod described above - no hack needed. :)
|
Quote:
This is the code I found in my search.php file: Code:
// error if no search terms Code:
// error if no search terms Is there some other setting I need to change? Thanks. |
I see my mistake. I need to remove the "empty" command in front of the 'searchdate' pointer. All is OK now.
|
All times are GMT. The time now is 06:18 AM. |
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:
|