![]() |
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.
|
since you already installed advanced templates, you can edit newthread template and disable "submit poll" checkbox according to forumid and usergroupid variables.. ;)
|
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. ;)
|
Quote:
*me runs to find it and install* :) |
Quote:
|
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.
|
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? |
Quote:
[[($forumid==38 OR $bbuserinfo[usergroupid]==6)]] $polloptions [[/($forumid==38 OR $bbuserinfo[usergroupid]==6)]] Quote:
|
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" |
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. |
All times are GMT. The time now is 10:16 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|