Resource icon

Hide Polls in Specific Forums

0xym0r0n

Well-known member
0xym0r0n submitted a new resource:

Hide Polls in Specific Forums - Hide polls that you don't want.

This doesn't actually disable one's ability but there's no way that I know to create a poll without going through the actual thread creation process. So this removes the poll from view.

I will go through the steps of allowing specific usergroups to view poll creation options as well as show you how to remove it from specific forums.
-----------

First login to your admincp and go to Appearance -> Templates -> thread_create *Make...

Read more about this resource...
 
Was just looking for this.

Here is a suggestion....

Change this

Code:
<xen:if is="in_array({$forum.node_id}, array(#))">
<xen:else />

to

Code:
<xen:if is="!in_array({$forum.node_id}, array(#))">

From
http://xenforo.com/community/resources/conditional-statements.1604/

When working with arrays, the ! is placed just before the argument.
For example, <xen:if is="in_array({$forum.node_id}, array(x, y, z))"> for true, <xen:if is="!in_array({$forum.node_id}, array(x, y, z))"> for false.
 
Back
Top Bottom