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

XF 1.3 <xenif> $user question

Discussion in 'Styling and Customization Questions' started by Rmarmorstein, Sep 10, 2014.

  1. Rmarmorstein

    Rmarmorstein Member


    I'm wondering if this code will work for secondary usergroups as well. For example, user is in usergroups 3,4,5 with 3 being the primary one.

    <xen:if is="{$user.user_group_id} == 5">
    Would that be true or false? If false, how could I change that to work with secondary groups?
  2. Brogan

    Brogan XenForo Moderator Staff Member

Share This Page