Back to vBulletin 3.0 Template Modifications

Read New Post button at bottom of thread
Mod Version: 1.00, by attroll

This modification is in the archives.
vB Version: Rating: (0 vote - 0 average) Installs: 2
Released: 16 Oct 2004 Last Update: Never Downloads: 1
Not Supported  

While on my site and when I got the the bottom of the page while reading a thread I got sick of going back to the top of the page to click on NEW POSTS again. So I added a button at the bottom of each thread so when you go to the bottom of the page you did not have to scroll all the way back to the top to click on NEW POSTS then you go do it from there.

I went into my ADMINCP and went to templates and edited ShowThread Templates/SHOWTHREAD.

Find:
PHP Code:
<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
At the end of that code you just found bewtween the </a> and the </td> enter a couple of returns so that it looks like this:

PHP Code:
<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

Now right above the </td> at the end of this code insert this code:
PHP Code:
<!-- New Post mod -->
 
<
a href="$vboptions[bburl]/search.php?$session[sessionurl]do=getnew"><img src="$stylevar[imgdir_button]/na_newpost.gif" alt="newpostitle="Read New Posts" border="0"></a>
 
<!-- / New Post mod --> 
You will now have to create a graphic titled na_newpost.gif and put it in you forum/images/buttons directory or you can use the one I have included.

Download

No files for download.

Screenshots


vblts.ru supports vBulletin®, 2022-2024