PDA

View Full Version : Profile Enhancements - Avatar Position 2


MrPHD
02-24-2008, 10:00 PM
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

https://vborg.vbsupport.ru/attachment.php?attachmentid=76353&stc=1&d=1203934281

rooban12
04-04-2008, 06:43 AM
thanks!!!

chennairam
06-27-2008, 10:44 AM
not work for me.. i put but after no more change in avatar

digicom
06-27-2008, 01:57 PM
Thankyou :up:

sat4world.com
06-29-2008, 05:21 PM
hi thankyou

Phoenixgal
09-01-2008, 11:55 PM
Thanks!!!

BigJohnny
11-11-2008, 11:02 AM
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.