![]() |
To-the-top button in postbit footer.
1 Attachment(s)
This simple mod does what is says on the tin, it adds a Top button in the postbit footer using the vBulletin 4.0.2 css convention for mouseover buttons.
Note: This mod is NOT compatible with vBulletin 4.0.1 or earlier. https://vborg.vbsupport.ru/external/2010/02/39.jpg This is a mod I've always used because, as simple as it may be, a Top button in the bottom right of each postbit, can dramatically speed up the navigation of your site. No more spinning that mouse wheel trying to get back to the menus. There are... 1x addition to the postbit.css template 1x addition to the posbit (and/or postbit_legacy) template 2x images to upload INSTRUCTIONS: 1x additions to he posbit.css template Go to.. Styles & Templates>Stlye Manager>your skin>edit templates>CSS templates>postbit.css ---------------------------------------------------------------------- Find (search for "multiquote"): HTML Code:
.postbitlegacy .postfoot .textcontrols a.multiquote, .postbit .postfoot .textcontrols a.multiquote { HTML Code:
.postbitlegacy .postfoot .textcontrols a.tothetop, .postbit .postfoot .textcontrols a.tothetop { Click "save". 1x addition to the posbit (and/or postbit_legacy) template: Now navigate to.. Styles & Templates>Stlye Manager>your skin>edit templates>postbit templates>postbit ---------------------------------------------------------------------- Find (search for "multiquote"): HTML Code:
<vb:if condition="$show['multiquote_post']"> HTML Code:
<!-- ////////start To-The-Top button in postbit////// --> Click "save". 2x images to upload: FTP into your forum/images/buttons dir and upload these two attached images: ---------------------------------------------------------------------- tothetop_40b.png tothetop_40b-hover.png ---------------------------------------------------------------------- That's it. |
Arrow Images:
You can use whatever arrow images you like, but make sure they have transparent backgrounds and save them as transparent .png files and ....be very careful about changing the image file names (see below). Some things about css function: In vB 4.0.1, all the rollover images in the postbit footer pointed to "/trans_40b.png". The upgrade to 4.0.2 has seen some changes to the css and now all the buttons point to.. HTML Code:
src="{vb:raw vboptions.cleargifurl}" *********_40_b.png (the image displayed under normal circumstances) *********_40b-hover.png (the image displayed on mouseover) If you use different image names than those I've supplied, or are using this as the basis for other button mods, then make sure your choice of image names is reflected in the postbit.css template. In the postbit itself, all the buttons should point to src="{vb:raw vboptions.cleargifurl}". This can be used as the basis for any css button mod in the postbit foot and follows the vB4* css conventions. It should make things like adding a "Send PM" button pretty straightforward. |
Top ;)
|
Ginormous kudos to you for this mod! I tried adding some custom buttons to the postbit myself, and decided to come back to it when I had time to sort it out. Thank the code gods you did all the work for me! :p
|
Quote:
|
Thanks you, excellent & installed!
|
Thank you
|
Welcome fellas. :)
|
Installed!
I have a question though. Is this "Top" only supposed to appear next to the multi-quote icon on the lower right hand side of the post? I'm asking because I only have the word "Top" there with no arrow. Is there supposed to be another symbol in the actual Postbit_Legacy itself? Thanks in advance. |
Yes, there is a rollover "arrow" that turns pale blue on mouseover. Did you upload the images from the zip file to your /images/buttons/ directory?
|
in 4.02 postbit.css is different...
Can you make an update? |
ahhhaaa....
Just seen the 4.0.2 update is available. I'll install, check the .css and update the mod. |
Sorted, it's no biggie. For those wanting a quick fix, just replace the image src= in ther postbit with...
HTML Code:
src="{vb:raw vboptions.cleargifurl}" |
Mod instructions updated for 4.0.2
|
Thanks install in 4.0.2
|
nice modification.
thx |
After replying to a thread with quikrepli if y pres the top button of the fresh post the page become white.
Please fix it.It`s very annoing. |
I occasionally also get a white page instead of the top of the page. I'm not sure why but it's intermittent at best.
|
Quote:
|
Quote:
Quote:
|
nice, thanks :)
|
Quote:
Change: onclick="document.location.hash='top'; return false;" To: onclick="window.scrollTo(0,0); return false;" Works a lot better :) |
Quote:
Quote:
|
Quote:
|
Quote:
|
works great.No more white pages :D
|
Installing this mod eliminates the white pages too: https://vborg.vbsupport.ru/showthread.php?t=180330
|
Quote:
Untested as yet, but vBulletin seem to be using... onclick="self.scrollTo(0, 0); return false;" Minor difference, I'll update the mod. :) |
Both The windows7site and trilobytes suggestions are yielding the white screen for me..
basically it happens right after you make a Quick Reply post. If you go and click the "to the top" button with that Quick Reply Post you make, it gives you a white screen |
Quote:
onclick="window.scrollTo(0,0); return false;" fixed it on our forum. |
Quote:
Here's a snippet of code, if anyone can look at it and tell me where I've meesed up if I have :D Code:
<vb:if condition="$show['multiquote_post']"> |
looks correct steeler7
thanks for the mod 2 thumbs up |
Quote:
|
How do I get this mod to not display in private messages
|
Tagged thanks for the cool mod.
|
Quote:
I'm thinking that maybe I'll just try a fresh install of this add-on and give it a whirl! |
Not Work to Version 4.0.5
|
Quote:
All others of the author instruction are still valid and you need only change the code in "step one" 1x additions to he posbit.css template Go to.. Styles & Templates>Stlye Manager>your skin>edit templates>CSS templates>postbit.css ---------------------------------------------------------------------- Find (search for "multiquote"): HTML Code:
.postbitlegacy .postfoot .textcontrols a.multiquote, .postbit .postfoot .textcontrols a.multiquote { HTML Code:
.postbitlegacy .postfoot .textcontrols a.tothetop, .postbit .postfoot .textcontrols a.tothetop { ------------------------------------------------------------------ The rest of instructions are same as the author instructed (first post) |
tagged
|
rated 5 ...great stuff!!!! works a1
|
All times are GMT. The time now is 06:08 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:
|