PDA

View Full Version : "To the top" link in every reply


StarBuG
08-01-2005, 10:00 PM
Desc: This is a simple modification. It adds an image link next to every quick reply (or quote) button in every thread and reply that brings you back to top.
Time to install: About 1Min
Templates to edit: 1
Versions: All vB Versions

In postbit template search for:


<if condition="$SHOWQUICKREPLY AND !$show['threadedmode']">
<a href="$post[replylink]" onclick="return qr($post[postid]);"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
</if>


after that add


<a href="#top"><img src="$stylevar[imgdir_button]/top.gif" alt="To the Top" border="0" /></a>


Now download the image I attached and upload it to /forum/images/buttons

The Image was made for my forum but you can change it or add a different image.

Hope you like it

StarBuG

Corriewf
08-02-2005, 01:59 PM
I did something just like this but with with every post there was a link back to the main page.