Quote:
Originally Posted by Big Jim
I really enjoy the 'random' poll feature. However, is their someway to limit the date as to how far it goes back on the poll? I'm getting posts pulled up from ages ago. Also, being able to highlight the title of the poll and have a 'thread preview' would be pretty nifty as well (for the polls that don't make a tonne of sense without some information).
|
In vbindex.php find:
PHP Code:
".iif(strtoupper($vbindex['pollsforumid']) != 'ALL', "AND thread.forumid IN ($vbindex[pollsforumid])")."
Add before:
PHP Code:
AND poll.dateline > ". TIMENOW - X."
Replacing X with the number of seconds old it can be, for example any poll created within the last 31 days put 2678400.
I'll try and remember to add the thread preview to RC4.