Quote:
Originally Posted by DiverTree
shows up good on the profile and in posts. thanks.
if its not to much to ask, how bout the members list?
also, can i specify two different user groups if i seperate them with a comma or comma/space?
|
A user that is temporary banned like this does not show any avatar i members list in the first place, so that won't be possible without modifying code (and that we should not do).
I don't know if "or" works in the templates. It could look like this:
Code:
<if condition="is_member_of($post, 73) or condition="is_member_of($post, 74)">
<table $post[avwidth] $post[avheight] border="0" cellspacing="0" cellpadding="0" background="$post[avatarurl]">
<tr>
<td><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="images/misc/cell.gif" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td>
</tr>
</table>
<else />
<a href="member.php?$session[sessionurl]u=$post[userid]">
<img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" />
</a>
</if>
or something like this:
Code:
<if condition="is_member_of($post, 73)">
<table $post[avwidth] $post[avheight] border="0" cellspacing="0" cellpadding="0" background="$post[avatarurl]">
<tr>
<td><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="images/misc/cell.gif" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td>
</tr>
</table>
<or condition="is_member_of($post, 73)">
<table $post[avwidth] $post[avheight] border="0" cellspacing="0" cellpadding="0" background="$post[avatarurl]">
<tr>
<td><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="images/misc/cell.gif" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td>
</tr>
</table>
<else />
<a href="member.php?$session[sessionurl]u=$post[userid]">
<img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" />
</a>
</if>
You can test these two approaches and report back to us if it works.