XF 2.0 Conditional

audio

Member
What conditional would I use if i wanted to get the seconday group. I am trying to keep everyone's primary group as Registered and if they are admin, moderator or whatever that is their secondary group.
 
it does on my site. This is how i have things set up on my site right now for my avatar borders that show ranks instead of the badge underneath the name.
PHP:
<xf:if is="{$user.user_group_id} == 3"> <!-- Admin -->
    <div class="avatar-frame admin">
In order for me to set the rank the person earned or bough I have to set the primary group to the rank instead of using the check boxes to assign a secondary rank. If I use just the check boxes the frame rank does not show at all.
 
Back
Top Bottom