View Full Version : Chaning username & rank placement in showthread
Jinsogood
02-11-2005, 06:50 PM
I want to have the usernames shown right before the postdat / time stamp (In the same bar), and I want the rank images to show up right under users avatars. Is there a hack for this somewhere? I looked , but had no luck. Thanks in advance to anyone who can help.
Also, where can I change the size of the username text?
deathemperor
02-12-2005, 02:34 PM
find in postbit template for $post[username] , then place it before the $post[date] or $post[time], for rank it's $post[rank], find this in postbit templte
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if> then place it under <if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$avatarurl" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if> the rank will then be under the user's avatar.
for username size
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
class="bigusername" mean the size's big, you can change it right there by either replace class="bigusername" with a "style" element or using the span/div/font tag.
Jinsogood
02-13-2005, 07:11 PM
where can i find the postbit template?
Everything I change in the postbit template is not showing up any different on my forums.
find in postbit template for $post[username] , then place it before the $post[date] or $post[time], for rank it's $post[rank], find this in postbit templte
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if> then place it under <if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$avatarurl" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if> the rank will then be under the user's avatar.
for username size
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
class="bigusername" mean the size's big, you can change it right there by either replace class="bigusername" with a "style" element or using the span/div/font tag.
Did everything just like you said. For some reason, none of the changes im making to postbit showing up on the forums. They save, but on the forums, nothing changes.
Marco van Herwaarden
02-14-2005, 03:18 AM
Are you maybe using the postbit_legacy (postbit showing on the left instead of in the top). If so you will need to edit the postbit_legacy instead.
Or you use multiple styles, and you'll have to edit postbit in them also.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.