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

Additional User Group...

Discussion in 'XenForo Questions and Support' started by Mr. Goodie2Shoes, Feb 27, 2012.

  1. Mr. Goodie2Shoes

    Mr. Goodie2Shoes Well-Known Member

    okay... so I am thinking of adding a User Group Upgrade and the members will gain access to our Premium Zone...

    I would also like to add a user rank and I use conditions for that... and its:
    Code:
    <xen:if is="{$user.user_group_id} == x ">
    and it only works for the Primary User Group... so what is the the "element" for "Additional User Groups"?

    Thanks! :D
     
  2. Mr. Goodie2Shoes

    Mr. Goodie2Shoes Well-Known Member

    is it "$user.secondary_group_ids"?
     
  3. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

  4. Mr. Goodie2Shoes

    Mr. Goodie2Shoes Well-Known Member

    oh.. so "ismemberof" helper works on Secondary User Groups? :D
     
  5. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Yes. It checks both primary and secondary.
     

Share This Page