Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Default Poll Timeout Details »
Default Poll Timeout
Mod Version: 1.00, by tjdrico (Member) tjdrico is offline
Developer Last Online: Apr 2014 I like it Show Printable Version Email this Page

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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

After, add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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 Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Extended timeout for whois online without changing cookie timeout Jakeman vBulletin 2.x Full Releases 21 30 Nov 2006 04:38

Comments
  #2  
Old 23 Apr 2004, 19:13
juanmalaga9 juanmalaga9 is offline
 
Join Date: Jul 2003
Very util and easy. Thanks ,)
Reply With Quote
  #3  
Old 24 Apr 2004, 07:11
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Is there a way to make this forum specific?
Reply With Quote
  #4  
Old 24 Apr 2004, 07:59
tjdrico's Avatar
tjdrico tjdrico is offline
 
Join Date: Apr 2004
Yes, but not without more hacking, which I haven't done. It would be better to have it controlled by the Admin CP, so I'll look into that.
__________________
Old communities never die, they just respawn!
vBookie - a bookmaking extension for vB 3.0.0
User-optional Replacements-based Censorship for vB 3.0.0
Hide Threads Posted By Ignored Users for vB 3.0.0
Reply With Quote
  #5  
Old 27 Apr 2004, 14:00
ranger2kxlt ranger2kxlt is offline
 
Join Date: Jan 2003
Real name: Justin
Would be great to have the user set the timeout date...we run polls for "car" of the month, and need the poll to end at a certain time....let us know if you create an option like this :-D
Reply With Quote
  #6  
Old 30 Apr 2004, 01:32
M.C.'s Avatar
M.C. M.C. is offline
 
Join Date: Jan 2002
What about Poll close date on your Poll create or edite page which is default option? Is it not the same?!
__________________
WBR`s
M.C.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 07:20.

Layout Options | Width: Wide Color: