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

XF 1.5 Conditional Help Needed

Discussion in 'XenForo Questions and Support' started by Michael, Oct 18, 2015.

  1. Michael

    Michael Active Member

    Hi guys,

    I currently use this conditional:

    <xen:if is="{xen:helper ismemberof, $message, 19}">

    If I wanted to include multiple usergroups in this conditional how would I format it?

    Thank you.
  2. Brogan

    Brogan XenForo Moderator Staff Member

    See the link to the guide in my signature.
    Michael likes this.
  3. James

    James Well-Known Member

    Just add more Usergroup IDs separated by commas.

    19, 12, 8, 27,etc
    Michael likes this.
  4. Michael

    Michael Active Member

    I tried but it didnt appear to work, I used 19 like so:

    <xen:if is="{xen:helper ismemberof, $message, 18,19}"> but it doesnt seem to work for me.
  5. Tracy Perry

    Tracy Perry Well-Known Member

    You need to place it in an array
    Refer to Brogan's conditional statement(s) resource.

Share This Page