1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Unmaintained Hide Polls in Specific Forums

Hide polls that you don't want.

  1. 0xym0r0n

    0xym0r0n Well-Known Member

    0xym0r0n submitted a new resource:

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

    Read more about this resource...
     
    0ptima likes this.
  2. 0ptima

    0ptima Well-Known Member

    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.
     

Share This Page