The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
How do you center ONLY the username, usertitle, and avatar in vB3.8.7 postbit? The rest would be left aligned to the left
![]() Sorry if this already exist. |
#2
|
||||
|
||||
![]()
i use to use the <center tags, but dont work with some browsers.
so i tested out <div align="center"> and works a treat. if you wrap the <div align="center"> </div> around each bit of coding you want centered, then it will work for you to. first off, are you using post bit legacy ? if you look at this code and search in post bit legacy and compare with yours. you can see where i have placed the center tags. for what you want to work. Code:
<div align="center"><div id="postmenu_$post[postid]"> <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></div> <div align="center"><if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if></div> <div align="center"><if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if></div> <div align="center">$template_hook[postbit_userinfo_left]</div> <div align="center"><if condition="$show['avatar']"> <div class="smallfont"> <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></div> |
#3
|
|||
|
|||
![]() Quote:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|