Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Enable/Disable Poll Permissions Per Forum Details »
Enable/Disable Poll Permissions Per Forum
Mod Version: 1.4, by Logikos (Member) Logikos is offline
Developer Last Online: Jan 2020 I like it Show Printable Version Email this Page

This thread is in the Modification Graveyard.
vB Version: 3.5.4 Rating: (0 vote - 0 average) Installs: 5
Released: 26 Apr 2006 Last Update: 26 Apr 2006 Downloads: 3
Not Supported DB Changes Uses Plugins  


Enable/Disable Poll Permissions Per Forum



Keywords
Poll, Polls, Permissions, Per-Forum

What this does
This will give you the option to enable or disable poll permissions on a per-forum basis. You could create this effect using the forum permissions, but you would have to edit every single forum, and every single usergroup to create this effect. This was requested by a user, so I created it for that user.

How this plugin works
The concept of this plugin is simple. If you have polls enabled on one forum, then all users will be allowed to post polls and add polls to threads in that forum. It will look for the forum permissions if enabled in a forum. If you have polls disabled on a forum, then this hack will over-ride the forum permissions and stop users from posting new polls and adding polls to existing threads in that forum; even if they know the full URL (poll.php?do=newpoll&t=X)

Also note that if you disable polls on a forum, all existing polls in that forum will not be shown. (They won't be deleted, just hidden from view)

To do list...
  • Time to install: 1 minute
  • Queries to run: 1 (Installer Controlled)
  • File Mods: 0
  • Templates to edit: 0
  • Templates to add: 0
  • New Phrases: 3
  • New Plugins: 5
Credits
Thanks to Paul M for eliminating a template edit.
Thanks to Boofo for the idea of this hack and cleaning some of the code up for me.

Click It For Support!

Install This Product



Important Notes
This feature is disabled on all forums by default
Read next post for more info on how to enable/disable polls on all forums

Testing Information
This hack was tested on 2 live sites and my local machine with zero problems. Though bugs could always appear. If so, please post them here and we will see what we can do to fix them.

Product History
Wednesday, April 26, 2006 - Public Released

Help & Support
Before asking for support, please make sure you have done all the necessary changes! If you still need support, please post a reply here and double check that you have clicked the Install Button. We will try to support this hack the best we can. Support is not guaranteed!

Please post any bugs and errors here. Hope you like it, feedback is always welcomed!

Download Now

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

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	poll.gif
Views:	59
Size:	9.6 KB
ID:	46554  

Show Your Support

  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Global Enable/Disable feature (edit forum) Mephisteus vBulletin 2.x Full Releases 8 22 Mar 2003 22:31

Comments
  #2  
Old 26 Apr 2006, 06:06
Logikos Logikos is offline
 
Join Date: Jan 2003
Enable On All Forums
If your a member that has alot of forums and would like to enable this feature on ALL forums. Then please run the following query after you have installed the product:


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


Once you have executed the above query, please remember to save at least one of your forum options, so the above query will be cached in the datastore.


Disable On All Forums
By default, this feature is disabled on all forums. Though if you need to disable the feature on all forums for whatever reason. Then please run the following query after you have installed the product:


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


Once you have executed the above query, please remember to save at least one of your forum options, so the above query will be cached in the datastore.
__________________
Full Time PHP Developer
Please feel free to contact me if you have any paid work to be done.

Last edited by Logikos; 26 Apr 2006 at 06:23.
Reply With Quote
  #3  
Old 26 Apr 2006, 06:20
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Excellent job, sir. Clicking Install as I type.
Reply With Quote
  #4  
Old 26 Apr 2006, 07:21
Atakan KOC's Avatar
Atakan KOC Atakan KOC is offline
 
Join Date: Feb 2006
Real name: Atakan KOÇ
great mod !
__________________
vBulletin 5 : http://www.atabb.com/
Reply With Quote
  #5  
Old 26 Apr 2006, 19:58
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Real name: Josh
Thanks man!
Reply With Quote
  #6  
Old 26 Apr 2006, 20:21
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Don't forget the install button, guys.
Reply With Quote
  #7  
Old 01 May 2006, 01:07
TwTom TwTom is offline
 
Join Date: Apr 2006
Just what I'm looking for. Thanks much!
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 09:27.

Layout Options | Width: Wide Color: