Hello,
I have this code
What I want to achieve with this is a double user group conditional. If a user is in the usergroup 3 and usergroup 6, then he should get the class "modMag" (for a rank image). However it didn't work. I have also this code
This code works instead of the above one. Is there a special conditional for secondary usergroups?
EDIT: Nevermind, I just found this resource: http://xenforo.com/community/resources/user-group-badges-per-usergroup.588/
Going to try it
I have this code
HTML:
<xen:if is="{$user.user_group_id} == 3 AND {$user.user_group_id} == 6">
<div class="userRank modMag"></div>
</xen:if>
What I want to achieve with this is a double user group conditional. If a user is in the usergroup 3 and usergroup 6, then he should get the class "modMag" (for a rank image). However it didn't work. I have also this code
HTML:
<xen:if is="{$user.user_group_id} == 3">
<div class="userRank mod"></div>
</xen:if>
EDIT: Nevermind, I just found this resource: http://xenforo.com/community/resources/user-group-badges-per-usergroup.588/
Going to try it