PDA

View Full Version : How to move the post reply button from the left to right


s1dest3pnate
29-01-09, 08:31 PM
What code would I change to move the post reply button in vBulletin from the left to the right? There are two post reply buttons; one on top left and one of the top right. I'd simply like to the move the bottom left one to the bottom right. Thanks in advance,

Taragon
30-01-09, 04:15 AM
Hi s1dest3pnate,

Personally I don’t really like it since it moves my page navigation around in an awkward way…

In SHOWTHREAD find:
<!-- controls below postbits -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:$stylevar[margin_3px_fix]px">
<tr valign="top">
<if condition="$show['largereplybutton']">
<td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$LASTPOSTID" rel="nofollow"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>
<else />
<td class="smallfont">&nbsp;</td>
</if>
<if condition="$show['pagenav'] OR $show['inlinemod']">
<td align="$stylevar[right]">$pagenav
<if condition="$show['inlinemod']">
and replace with:
<!-- controls below postbits -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:$stylevar[margin_3px_fix]px">
<tr valign="top">
<if condition="$show['pagenav'] OR $show['inlinemod']">
<td align="$stylevar[right]">
<div class="smallfont">
<if condition="$show['largereplybutton']">
<a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$LASTPOSTID" rel="nofollow"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a>
<else />
&nbsp;
</if>
</div>
<br />
$pagenav
<if condition="$show['inlinemod']">

michaelhanson
20-10-09, 11:40 PM
Thanks Taragon that worked for me.

Michael Hanson