View Full Version : Help with a simple template edit
CrashPush
11-21-2007, 10:41 PM
I need help with a simple template edit. So simple that I cannot figure out myself.
How do line up the user name under the avatar in postbit not postbit legacy?
I tried and tried and I can't it to work. This part of the code is a little too confusing for me.
example:
AVATAR
USERNAME
USER TITLE
default postbit:
AVATAR USERNAME
USERTITLE
Gray Matter
11-22-2007, 01:34 AM
This should work (untested).
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]">
And replace it with:
<td nowrap="nowrap">
<if condition="$show['avatar']"><div><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]">
CrashPush
11-22-2007, 03:42 AM
Excellent! It worked like a charm. Thank you so much.
Can you also post the code for the avatar at the bottom of the user name and user title.
example:
USERNAME
USER TITLE
AVATAR
--------------- Added 1195749540 at 1195749540 ---------------
I figured it out based on the changes you made to the first edit. Thanks Gray Matter!
--------------- Added 1195749588 at 1195749588 ---------------
I figured it out based on the first changes you made. Thank you!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.