PDA

View Full Version : user ranks


TruVB
03-09-2009, 07:14 PM
How do i put them so they show up below the members avatar.

Lynne
03-09-2009, 07:45 PM
In the postbit template, find this and delete it:
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>And move it to here (in red):
<td nowrap="nowrap">
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>

<div id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
$post[onlinestatus]
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
</div>That should put it below the avatar and above the username. If using the postbit_legacy template, do similar (the <td> tag is a bit different in the postbit_legacy, but the username stuff is all there).

TruVB
03-09-2009, 08:05 PM
thanks for helping but it didnt work for me.
i want to move this below the avatar:
http://img15.imageshack.us/img15/5237/screenoxh.jpg

Lynne
03-09-2009, 10:42 PM
You are using the postbit_legacy template. So, find that text I said to find and delete, and put it under the avatar:

<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>

TruVB
03-10-2009, 12:23 AM
It worked! thanks for your help! appreciate it!

--------------- Added 1236729681 at 1236729681 ---------------

also if someone could help, how do you do this: https://vborg.vbsupport.ru/.. put those boxes around the users info.