aaa , I will try this , I return with reply
--------------- Added [DATE]1316009592[/DATE] at [TIME]1316009592[/TIME] ---------------
Nothing happens.. I try with 2, 8, 1, 10 ... doesn't work .
I have this modification:
PHP Code:
<if condition="$bbuserinfo[showavatars]">
<div class="smallfont">
<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="/forum/images/noavatar.png" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
</div>
</if>
I need the condition for usergroupid
I try this way -->
PHP Code:
<if condition="$bbuserinfo[showavatars]">
<if condition="is_member_of($bbuserinfo, array(123))">
<div class="smallfont">
<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="/forum/images/banned.png" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
</div>
</if>
</if>
An this way -->
PHP Code:
<if condition="$bbuserinfo[showavatars]">
<if condition="$bbuserinfo['usergroupid'] ==123">
<div class="smallfont">
<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="/forum/images/banned.png" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
</div>
</if>
</if>
Before the:
PHP Code:
<if condition="$bbuserinfo[showavatars]">
<div class="smallfont">
<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="/forum/images/noavatar.png" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
</div>
</if>
I try that inside the above code .. nothing happens
I try this way to -->
PHP Code:
<if condition="$bbuserinfo[showavatars]">
<div class="smallfont">
<br /><if condition="is_member_of($bbuserinfo, array(123))"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="/forum/images/banned.png" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></if><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="/forum/images/noavatar.png" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
</div>
</if>
Doesn't work