The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Polls only in certain forums
Is there a way to only allow polls in certain forums? I want to be able to turn it off in some forums and leave it on in others.
|
#2
|
||||
|
||||
since you already installed advanced templates, you can edit newthread template and disable "submit poll" checkbox according to forumid and usergroupid variables..
|
#3
|
||||
|
||||
Dang! Why didn't I think of that? I have been using your hack for almost everything and that didn't even occur to me. DOHH!!! Dummy me. Thanks for reminding me of that.
|
#4
|
||||
|
||||
Quote:
*me runs to find it and install* |
#5
|
||||
|
||||
Quote:
|
#6
|
||||
|
||||
actually, this can be done in the forum permissions section of the control panel. It has to be done per usergroup, but it can be done.
|
#7
|
||||
|
||||
Sinan, it worked like a charm. A simple
[[($forumid==38)]] $polloptions [[/($forumid==38)]] took care of my problem. Thanks again. Also, is there a way to do an array for more forums here or would I have to do the "$forumid==38 OR $forumid==41 OR $forumid==112" code? |
#8
|
||||
|
||||
Quote:
[[($forumid==38 OR $bbuserinfo[usergroupid]==6)]] $polloptions [[/($forumid==38 OR $bbuserinfo[usergroupid]==6)]] Quote:
|
#9
|
||||
|
||||
You're right, as usual. The wife even caught me on that one. I better watch myself with you two around.
By the way, what does this mean? "latter" |
#10
|
|||
|
|||
Quote:
BTW, templates are never the solution for denying permissions. All they can do is remove the interface but people can still send the actual data. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|