Log in

View Full Version : How Do I....?


RazerZoneX
11-12-2008, 10:48 PM
How do I center peoples avatar and username for postbit_legacy. Would be really appreciated if somebody helps. Thank You Very Much!

Like how paul did it:

https://vborg.vbsupport.ru/attachment.php?attachmentid=75854&d=1202758021

Lynne
11-12-2008, 11:05 PM
Find these spots in your postbit_legacy template and add what is in red (this is from 3.6.8, so yours may be a bit different):

<div id="postmenu_$post[postid]" align="center">
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
</div>

<if condition="$post['usertitle']"><div class="smallfont" align="center">$post[usertitle]</div></if>
<if condition="$post['rank']"><div class="smallfont" align="center">$post[rank]</div></if>
$template_hook[postbit_userinfo_left]

<if condition="$show['avatar']">
<div class="smallfont" align="center">
&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>

RazerZoneX
11-12-2008, 11:50 PM
It doesn't work

Edit: I did something else and it worked!
If anybody want's tto know how to do it, ask for it.