-=Sniper=-
07-11-2006, 10:00 PM
############################################
##############--Bought to you by--###############
Talk Coding - Programming Forums
(http://www.talkcoding.com)
##########--Free / Premium vBulletin Solutions--#########
############################################
This will work for vbulletin 3.6 is well!
In the SHOWTHREAD template find
<if condition="!$show['search_engine']">
<br />
<div class="smallfont" align="center">
<strong>«</strong>
<a href="showthread.php?$session[sessionurl]t=$threadid&goto=nextoldest" rel="nofollow">$vbphrase[prev_thread]</a>
|
<a href="showthread.php?$session[sessionurl]t=$threadid&goto=nextnewest" rel="nofollow">$vbphrase[next_thread]</a>
<strong>»</strong>
</div>
</if>
Replace it WITH
<!-- /quick actions area by sniper -->
<br />
<table class="tborder" cellpadding="6" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td class="alt1" align="left">
<if condition="!$show['search_engine']">
<div class="smallfont" style="float: right; padding: 5px 5px 0 0;">
<strong>«</strong>
<a href="showthread.php?$session[sessionurl]t=$threadid&goto=nextoldest" rel="nofollow">$vbphrase[prev_thread]</a>
|
<a href="showthread.php?$session[sessionurl]t=$threadid&goto=nextnewest" rel="nofollow">$vbphrase[next_thread]</a>
<strong>»</strong>
</div>
</if>
<if condition="$show['search']">
<div class="smallfont">
<!-- search this thread -->
<form action="search.php?do=process&searchthreadid=$threadid" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="process" />
<input type="hidden" name="searchthread" value="1" />
<input type="hidden" name="showposts" value="1" />
<input type="hidden" name="searchthreadid" value="$threadid" />
<input type="text" class="bginput" name="query" value="$vbphrase[search_this_thread]" size="20" style="width:175px" onfocus="this.value = '';" />
$gobutton
<a href="search.php$session[sessionurl_q]">$vbphrase[advanced_search]</a>
</form>
<!-- / search this thread -->
</div>
</if>
</td>
</tr>
</table>
<!-- /end quick actions area by sniper -->
Live Demo: http://www.hardwareforums.com/my-new-case-12587
##############--Bought to you by--###############
Talk Coding - Programming Forums
(http://www.talkcoding.com)
##########--Free / Premium vBulletin Solutions--#########
############################################
This will work for vbulletin 3.6 is well!
In the SHOWTHREAD template find
<if condition="!$show['search_engine']">
<br />
<div class="smallfont" align="center">
<strong>«</strong>
<a href="showthread.php?$session[sessionurl]t=$threadid&goto=nextoldest" rel="nofollow">$vbphrase[prev_thread]</a>
|
<a href="showthread.php?$session[sessionurl]t=$threadid&goto=nextnewest" rel="nofollow">$vbphrase[next_thread]</a>
<strong>»</strong>
</div>
</if>
Replace it WITH
<!-- /quick actions area by sniper -->
<br />
<table class="tborder" cellpadding="6" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td class="alt1" align="left">
<if condition="!$show['search_engine']">
<div class="smallfont" style="float: right; padding: 5px 5px 0 0;">
<strong>«</strong>
<a href="showthread.php?$session[sessionurl]t=$threadid&goto=nextoldest" rel="nofollow">$vbphrase[prev_thread]</a>
|
<a href="showthread.php?$session[sessionurl]t=$threadid&goto=nextnewest" rel="nofollow">$vbphrase[next_thread]</a>
<strong>»</strong>
</div>
</if>
<if condition="$show['search']">
<div class="smallfont">
<!-- search this thread -->
<form action="search.php?do=process&searchthreadid=$threadid" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="process" />
<input type="hidden" name="searchthread" value="1" />
<input type="hidden" name="showposts" value="1" />
<input type="hidden" name="searchthreadid" value="$threadid" />
<input type="text" class="bginput" name="query" value="$vbphrase[search_this_thread]" size="20" style="width:175px" onfocus="this.value = '';" />
$gobutton
<a href="search.php$session[sessionurl_q]">$vbphrase[advanced_search]</a>
</form>
<!-- / search this thread -->
</div>
</if>
</td>
</tr>
</table>
<!-- /end quick actions area by sniper -->
Live Demo: http://www.hardwareforums.com/my-new-case-12587