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

If member of x show x?

Discussion in 'Styling and Customization Questions' started by Nudaii, May 31, 2012.

  1. Nudaii

    Nudaii Well-Known Member

    Howdy i am uncertain how to do the following

    i want to show certain content to just usergroups, while showing a no permission message to all other groups

    3,6,9

    how could i accomplish this

    example

    <if>
    blah
    </else>
    blah blah
    </if>
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    <xen:if is="{xen:helper ismemberof, $visitor, 3, 6, 9}">
    blah
    <xen:else />
    blah blah
    </xen:if>

    Should do it :)
     
    ArnyVee and Jake Bunce like this.

Share This Page