Back to vBulletin 3.0 Add-Ons

Default Poll Timeout
Mod Version: 1.00, by tjdrico

This modification is in the archives.
vB Version: 3.0.0 Rating: (0 vote - 0 average) Installs: 2
Released: 23 Apr 2004 Last Update: Never Downloads: 0
Not Supported  

Again, did a quick search and didn't find this.

By default, polls are open ended. People can vote on them for as long as they like, and poll threads tend to get bumped even if no one posts (I know you can turn that off).

There isn't way to set the default time-out on polls, so they end after N days, and most people tend not to set one. If you want your forum's polls to have a default shelf life, there's a very simple way to encourage this:

Open poll.php

Find:
PHP Code:
// ############################### start new poll ###############################
if ($_REQUEST['do'] == 'newpoll')

After, add:
PHP Code:
$timeout 2
Save & close. The 2 means "2 days", so you can set it to 1 day, 5 days, a week etc. This will then be the default value in the "Poll Timeout" / "Close poll N days after" box. Users may freely change it back to 0 or any other value.

Download

No files for download.

Similar Mods

Extended timeout for whois online without changing cookie timeout vBulletin 2.x Full Releases

vblts.ru supports vBulletin®, 2022-2024