Helpful Information
 
 
Category: vBulletin 3.7 Template Modifications
Show Thread Enhancements - New Posts link between next / previous thread links

This is a quick dirty little hack to get a handy new posts link right at the bottom of a thread saving your users valuable seconds from not having to scroll all the way back to the top of the page from the bottom of a thread.

In template SHOWTHREAD find:

<if condition="$show['next_prev_links']">
<!-- next / previous links -->
<br />
<div class="smallfont" align="center">
<strong>&laquo;</strong>
<a href="showthread.php?$session[sessionurl]t=$threadid&amp;goto=nextoldest" rel="nofollow">$vbphrase[prev_thread]</a>
|
<a href="showthread.php?$session[sessionurl]t=$threadid&amp;goto=nextnewest" rel="nofollow">$vbphrase[next_thread]</a>
<strong>&raquo;</strong>
</div>
<!-- / next / previous links -->
</if>

replace with:

<if condition="$show['next_prev_links']">
<!-- next / previous links -->
<br />
<div class="smallfont" align="center">
<strong>&laquo;</strong>
<a href="showthread.php?$session[sessionurl]t=$threadid&amp;goto=nextoldest" rel="nofollow">$vbphrase[prev_thread]</a>
|
<a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a>
|
<a href="showthread.php?$session[sessionurl]t=$threadid&amp;goto=nextnewest" rel="nofollow">$vbphrase[next_thread]</a>
<strong>&raquo;</strong>
</div>
<!-- / next / previous links -->
</if>

The link appears below the Quick Reply box like so:

http://devioustyrant.com/members/azh-albums-random-picture158-new-posts.jpg

Brought to you by Devious Tyrant Forums (http://devioustyrant.com).

Thanks, it's quite useful for me :)

seems good

Glad you like it. :)

This doesn't show the thread title. Just " « Previous Thread | New Posts | Next Thread » "

How can I show the name of the thread instead of previous and next. Any idea?

nice, I like it
thanks

This doesn't show the thread title. Just " « Previous Thread | New Posts | Next Thread » "

How can I show the name of the thread instead of previous and next. Any idea?
Sorry, it must be a setting. I just flicked through all the vBulletin Options but couldn't see which one it was. Maybe ask over at vb.com as it's definately a setting.

This doesn't show the thread title. Just " « Previous Thread | New Posts | Next Thread » "

How can I show the name of the thread instead of previous and next. Any idea?

check this out:

http://www.vbulletin.org/forum/showthread.php?t=92407

http://www.vbulletin.com/forum/showthread.php?t=271418

It's related to vBSEO (which I'm running). Maybe the above from Jinni will help??

Implemented

Demo @ http://wikinewforum.com/showthread.php?p=998467










privacy (GDPR)