Back to vBulletin 3.6 Template Modifications

'Previous / Next Page' link in forum/thread navigation menus
Mod Version: 1.00, by styleforum

This modification is in the archives.
vB Version: 3.6.4 Rating: (1 vote - 5.00 average) Installs: 17
Released: 26 Jan 2007 Last Update: Never Downloads: 6
Not Supported  

I don't know if this is really enough of a change to call it a whole mod, but I searched a long time ago for how to do this and eventually just figured it out myself. It's ridiculously easy, but since I like the feature and miss it on boards that don't have it, I figured I'd publish it. Please install it so I can browse your board more easily!

Feel free to delete or whatever if this is a duplicate or just too stupid.

The idea of this is simply to create obvious links within the "page nav numbers" section of the forum and thread display pages, that lead to the previous and next page of results respectively. There actually are little tiny ">" symbols to click on but they aren't obvious, and when you spend as much time as I do on the forum it gets tedious to find them with your mouse, etc.

In pagenav template change:

Code:
<if condition="$show['prev']"><td class="alt1"><a class="smallfont" href="$address<if condition="$prevpage != 1">&amp;page=$prevpage</if>$address2" title="$vbphrase[prev_page] - <phrase 1="$prevnumbers[first]" 2="$prevnumbers[last]" 3="$total">$vbphrase[results_x_to_y_of_z]</phrase>">&lt;</a></td></if>
to: (bold is the only change)

Code:
<if condition="$show['prev']"><td class="alt1"><a class="smallfont" href="$address<if condition="$prevpage != 1">&amp;page=$prevpage</if>$address2" title="$vbphrase[prev_page] - <phrase 1="$prevnumbers[first]" 2="$prevnumbers[last]" 3="$total">$vbphrase[results_x_to_y_of_z]</phrase>">&lt; Previous</a></td></if>
and then change

Code:
 <if condition="$show['next']"><td class="alt1"><a class="smallfont" href="$address&amp;page=$nextpage$address2" title="$vbphrase[next_page] - <phrase 1="$nextnumbers[first]" 2="$nextnumbers[last]" 3="$total">$vbphrase[results_x_to_y_of_z]</phrase>">&gt;</a></td></if>
to

Code:
<if condition="$show['next']"><td class="alt1"><a class="smallfont" href="$address&amp;page=$nextpage$address2" title="$vbphrase[next_page] - <phrase 1="$nextnumbers[first]" 2="$nextnumbers[last]" 3="$total">$vbphrase[results_x_to_y_of_z]</phrase>">Next Page &gt;</a></td></if>
That's it. If you wanted to do this for different languages I'm sure you could add a custom vbphrase [page_prev] and [page_next] or something like that, but since I don't care to figure it out, you're on your own there.

Hope this helps someone.

Download

No files for download.

Screenshots

Click image for larger version
Name:	prevnext.jpg
Views:	535
Size:	7.2 KB
ID:	59526  

Similar Mods

Show Thread Enhancements New Posts link between next / previous thread links vBulletin 3.7 Template Modifications
Replace Previous and Next Link with Actual Thread Titles vBulletin 3.5 Add-ons

vblts.ru supports vBulletin®, 2022-2024