![]() |
Posts from last x days?
Does anyone know if a hack exists that would also the user to display all posts made within the last x days? i.e. similar to vB's inbuilt 'posts from last 24 hours' feature, but which could provide variable options (e.g. posts from last 1, 3, 7, 10 days).
Many thanks in advance. |
Simple... append ?do=getdaily&days=x to the end of the search.php so you have:
yourforum/search.php?do=getdaily&days=5 for the last 5 days posts. Change 5 to however many days you need. |
Many thanks - precisely what's needed.
Of course, the fact that the search screen still says 'posts from the last day', no matter how many days are in fact being queried, is somewhat confusing for users. But alas. |
All times are GMT. The time now is 08:07 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:
|