I'm trying to show a specific icon on the postbit_legacy template based on the posters usergroup.
I want to show one image if the poster is in the registered users usergroup2, and a different icon if the poster is in the custom usergroup13
I tried this but it shows BOTH icons (if the user is in both groups) instead of one icon or another:
I also tried this:
Any suggestions on how to just show ONE image even if the groups are overlapping (ex: a member will always be in the registered users group2, but they may also later be promoted to the additional custom usergroup13)
I want to show one image if the poster is in the registered users usergroup2, and a different icon if the poster is in the custom usergroup13
I tried this but it shows BOTH icons (if the user is in both groups) instead of one icon or another:
Code:
<if condition="is_member_of($post, 2)">IMAGE HERE</if> <if condition="is_member_of($post, 2) AND is_member_of($post, 13)"> IMAGE HERE</if>
Code:
<if condition="is_member_of($post, 2)">IMAGE HERE<else /> <if condition="is_member_of($post, 2) AND is_member_of($post, 13)"> IMAGE HERE</if></if>
Comment