The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Trying to limit query to X amount of days...how?
What do I need to change in these bits of code to make it where the "Most Read" and "Most Commented" so that the modules only list the top articles in the last "X" amount of days?
PHP Code:
PHP Code:
|
#2
|
|||
|
|||
You could do something like:
PHP Code:
Then in the WHERE clause add HTML Code:
AND thread.dateline > $cutoff |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|