![]() |
Add "Top" to all Posts.
1 Attachment(s)
A very simple template modification to add a "Top" on the right hand side of all posts.
In postbit_legacy find: Code:
<span class="nodecontrols"> Code:
<a href="#top" onclick="self.scrollTo(0, 0); return false;">Top</a> | Code:
<span class="nodecontrols"> |
Nice and simple .. Mmm .. reminds me of my Ex :D
|
Something like this should have been standard in vBulletin.
Nicely done :) Installed & working 4.1.2 |
LOL. Well, I was just going to come here to see if this existed, if not I was going to write one. Wouldn't you have to do this in both postbit and postbit legacy?
|
And if you want it to have the neat "top" button that shows up at the bottom of every thread instead of just a link that says "top", add this below:
Code:
<a href="{vb:raw relpath}#top" class="textcontrol" onclick="document.location.hash='top';return false;">{vb:rawphrase top}</a> I added it after the post number rather than before. |
installed...works on 4.0.6 too ...thanks for this
|
I'm using 4.1.3, and no matter what I put under the given text, nothing shows up after saving and refreshing.
I can even just type the word 'test' in the right spot and nothing shows up. Any ideas? |
Quote:
|
Thanks, works nicely with 4.1.4 pl2 :)
|
Works good with 4.1.7 :)
|
All times are GMT. The time now is 09:40 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|