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

Secondary User Group Conditional

Discussion in 'XenForo Questions and Support' started by Jeff Fuqua, Aug 28, 2012.

  1. Jeff Fuqua

    Jeff Fuqua Well-Known Member

    I'm attempting to block a particular user group from viewing ads.

    Here's my code:
    <xen:if is="!{xen:helper ismemberof, $visitor, 13}">

    Since this user group is a not the primary group, it doesn't seem to be working. Any ideas? Thanks.
  2. Chris D

    Chris D XenForo Developer Staff Member

    That should work...

    You could try:

    <xen:if is="{xen:helper ismemberof, $visitor, 13}">
    <xen:else />
    Ad code​
    EDIT: By the way, did you recently send me a PM. I remember reading something but I can't find it :confused:

    I've just moved house, so more with it now. If you need to, drop me another PM.

    Hope GoTitans is going well :)
  3. Jeff Fuqua

    Jeff Fuqua Well-Known Member

    That worked! Thanks.

    Congrats on the move. I'll resend my PM soon.

Share This Page