I'm trying to set some images by usergoups and I'm using this code:
Code:
<div align="center">
<if condition="$bbuserinfo['usergroupid'] == 6">
<img src="$stylevar[imgdir_misc]/admin.png">
</if>
<if condition="$bbuserinfo['usergroupid'] == 5">
<img src="$stylevar[imgdir_misc]/mod.png">
</if>
<if condition="$bbuserinfo['usergroupid'] == 8">
<img src="$stylevar[imgdir_misc]/banned.png">
</if>
<if condition="$bbuserinfo['usergroupid'] == 2">
<img src="$stylevar[imgdir_misc]/member.png">
</if>
</div>
Problem is it displays the admin.png image for every user and will not show any other image.