Addin « Previous Thread | Next Thread »

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JamieB
    Senior Member
    • Jan 2004
    • 195
    • 3.6.x

    Addin « Previous Thread | Next Thread »

    to the top of my forums?
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    Edit this template:

    Admin CP -> Styles & Templates -> Style Manager -> « » -> Show Thread Templates -> SHOWTHREAD

    Move the red code as shown:

    Code:
    $stylevar[htmldoctype]
    <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
    <head>
    	<title>$vboptions[bbtitle] - $thread[title]</title>
    $headinclude
    
    </head>
    <body onload="$onload">
    $header
    $navbar
    
    $poll
    
    [color=red]MOVE RED CODE HERE[/color]
    
    <a name="poststop" id="poststop"></a>
    
    <!-- controls above postbits -->
    <table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
    <tr valign="bottom">
    	<if condition="$show['largereplybutton']">
    		<td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$FIRSTPOSTID"><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']"><td align="$stylevar[right]">$pagenav</td></if>
    </tr>
    </table>
    <!-- / controls above postbits -->
    
    <!-- toolbar -->
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
    <tr>
    	<td class="tcat" width="100%">
    		<div class="smallfont">
    		<if condition="$show['firstunreadlink']">
    			<a href="$firstunread"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[view_first_unread]" border="0" /></a>
    			<a href="$firstunread"><strong>$vbphrase[view_first_unread]</strong></a>
    		</if>
    		&nbsp;
    		</div>
    	</td>
    	<td class="vbmenu_control" id="threadtools">
    		<a href="#goto_threadtools"<if condition="is_browser('ie')"> accesskey="3"</if>>$vbphrase[thread_tools]</a>
    		<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadtools"); </script></if>
    	</td>
    	<if condition="$show['search']">
    		<td class="vbmenu_control" id="threadsearch">
    			<a href="#goto_threadsearch">$vbphrase[search_this_thread]</a>
    			<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadsearch"); </script></if>
    		</td>
    	</if>
    	<if condition="$show['threadrating']">
    		<td class="vbmenu_control" id="threadrating">
    			<a href="#goto_threadrating"><if condition="$show['rating']">$vbphrase[rating]: <img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" border="0" /><else />$vbphrase[rate_thread]</if></a>
    			<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadrating"); </script></if>
    		</td>
    	</if>
    	<if condition="$vboptions['allowthreadedmode']">
    	<td class="vbmenu_control" id="displaymodes">
    		<a href="#goto_displaymodes">$vbphrase[display_modes]</a>
    		<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("displaymodes"); </script></if>
    	</td>
    	</if>
    </tr>
    </table>
    <!-- / toolbar -->
    
    <!-- end content table -->
    $spacer_close
    <!-- / end content table -->
    
    <if condition="$show['threadedmode'] OR $show['hybridmode']">
    <!-- thread posts list -->
    $threadlist
    <!-- /thread posts list -->
    </if>
    
    <div id="posts">$postbits</div>
    
    <!-- start content table -->
    $spacer_open
    <!-- / start content table -->
    
    <!-- controls below postbits -->
    <table cellpadding="0" cellspacing="0" border="0" width="100%">
    <tr valign="top">
    	<if condition="$show['largereplybutton']">
    		<td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$LASTPOSTID"><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']"><td align="$stylevar[right]">$pagenav</td></if>
    </tr>
    </table>
    <!-- / controls below postbits -->
    
    <br />
    
    [color=red]<div class="smallfont" align="center">
    	<strong>&laquo;</strong>
    		<a href="showthread.php?$session[sessionurl]t=$threadid&amp;goto=nextoldest">$vbphrase[prev_thread]</a>
    		|
    		<a href="showthread.php?$session[sessionurl]t=$threadid&amp;goto=nextnewest">$vbphrase[next_thread]</a>
    	<strong>&raquo;</strong>
    </div>
    
    <br />[/color]
    
    $quickreply
    
    <!-- currently active users -->
    <if condition="$show['activeusers']">
    	<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    	<tr>

    Comment

    • JamieB
      Senior Member
      • Jan 2004
      • 195
      • 3.6.x

      #3
      that's great thanks

      Comment

      • Fun and Bliss
        New Member
        • May 2010
        • 25

        #4
        Sir, I like to change the following
        1. « Previous Thread | Next Thread » ( in title style ) as « अलादीन का चिराग Main जिगर की आग »
        2. and want to change its color

        so Dear Jake as above for me also kindly show template to edit or move the code

        p. s. I want to show title name in stead of Previous Thread | Next Thread Thanks for your kind co-op all the time
        Last edited by Fun and Bliss; Mon 4 Jul '11, 8:38am.

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...