PDA

View Full Version : Profile Enhancements - Avatar Position 2


MrPHD
25 Feb 2008, 10:11
To changes Profile information and put below to avatar your Rank and Nickname please follow this steps.


Admincp -> Template Manager -> choose your style and Template editor -> Postbit

FIND:

<if condition="$show['avatar']"><td class="alt2"><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></td></if>

<td nowrap="nowrap">

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

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


REPLACE WHIT:
$template_hook[postbit_userinfo_left]

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

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


Done.

Example

http://www.vbulletin.org/forum/attachment.php?attachmentid=76353&stc=1&d=1203934281

rooban12
04 Apr 2008, 08:43
thanks!!!

chennairam
27 Jun 2008, 12:44
not work for me.. i put but after no more change in avatar

digicom
27 Jun 2008, 15:57
Thankyou :up:

sat4world.com
29 Jun 2008, 19:21
hi thankyou

Phoenixgal
02 Sep 2008, 01:55
Thanks!!!

BigJohnny
11 Nov 2008, 13:02
not work for me.. i put but after no more change in avatar

this looks like its for the postbit template. if your using the postbit_legacy template then this hack will have no effect for you.