PDA

View Full Version : Avatar above User Rank image?


MikeWalczak
12-25-2006, 05:14 PM
Hi,
I am wondering if it is possible (and if so how) to have a User Rank image set below the avatar. Currently on my board it has the User Rank image right below the user title with the avatar following underneath the rank image.

Thanks,
Mike

ZeeLex
12-27-2006, 02:47 PM
Hi,
I am wondering if it is possible (and if so how) to have a User Rank image set below the avatar. Currently on my board it has the User Rank image right below the user title with the avatar following underneath the rank image.

Thanks,
Mike
In template postbit_legacy
FIND:
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>

<if condition="$show['avatar']">
<div class="smallfont">
&nbsp;<br /><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>
</div>
</if>


REPLACE WITH:
<if condition="$show['avatar']">
<div class="smallfont">
&nbsp;<br /><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>
</div>
</if>
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>