vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=289068

Back To Top Button
by Shadow
14 Oct 2012 19:43

3 Attachment(s)
Description:
This modification adds a 'Back to Top' button powered by jQuery. It fades in and out beautifully and is fully customization from the AdminCP. You are able to easily change the colors of both normal and upon mouse hover, text and turn it off completely from the Settings menu.

This modification is an improved version of a template edit for vBulletin 4.x which can be found here. Credits to xixxon for the code.

Installation:
  1. Download the product XML and import it through the 'Manage Products' page in the AdminCP.
  2. Configure settings at: Admin CP -> Settings -> Options -> Back to Top Settings.
  3. Done.

Changelog:
14/10/2012 - Version 1.00:
- Initial release.

Notes:
I'm always looking to improve my work for the people that enjoy using it. If you have any suggestions on how I can improve this hack then please leave a comment and I'll see what I'm able to do. Don't forget to 'Mark As Installed' if you've got it installed!

Wayne Luke 16 Oct 2012 17:54

A lot of options for one little link. Wouldn't it be better to use stylevars and a CSS template to control the look and feel of the button?

Shadow 16 Oct 2012 19:13

Quote:

Originally Posted by Wayne Luke (Post 2373498)
A lot of options for one little link. Wouldn't it be better to use stylevars and a CSS template to control the look and feel of the button?

Ideally, it's meant for users who are less tech savvy and just want a simple layout of options where they can adjust settings which are clearly marked instead of going through template code just to edit the color. It's much simpler this way in my opinion.

Phineas Flynn 17 Oct 2012 20:55

While that may hold some water, stylevars is the way to go, if you have different skins and need the button to match, the way you are doing it can't be done. With stylevars you can set those options to different colors for each skin.

Shadow 17 Oct 2012 22:15

In that sense, yeah I guess you're right. I'll put that in to an upgrade. Thanks :)

WhiskeyOSS 20 Jan 2013 08:00

When I installed this It stopped me from being able to edit the Modules on my vb5 site it works fine but to be able to edit I had to remove it / disable it to get the site editor to work otherwise it would go to the login page of my forums.. when I clicked a link in my site editor.

ndut 23 Jan 2014 14:02

nice, works on vb 5.05, thank you

DemOnstar 27 Aug 2015 12:55

Also works on 5.1.9.

Good stuff.
How to change the point at which the button begins to fade in could have also been a optional setting but no problems with this one.

Thanks.
Installed.

indiansnz 02 Oct 2015 02:06

Works on 5.1.9, thanks and installed

teddyvgt 29 Feb 2016 08:38

5.2.1 work

Wayne Luke 08 Apr 2016 18:20

This isn't really needed anymore as the footer should have this link by default.

Madekozu 09 Apr 2016 05:57

this one you have all the time - not only in the footer. fine on long pages.

panoramia 03 Oct 2016 09:51

Great job, it works perfect on 5.2.4 as well. Keep it up! You are the best!

Brasilien 09 Feb 2018 14:53

Hi,
just one small recommendation.
You should load jQuery with "https" instead of "http"

For a https Site this is important for a http site it doesn't matter

Christian

delicjous 10 Feb 2018 07:27

Quote:

Originally Posted by Brasilien (Post 2592808)
Hi,
just one small recommendation.
You should load jQuery with "https" instead of "http"

For a https Site this is important for a http site it doesn't matter

Christian

I think you could delete this line because jQuery is loading automatically by vB5.

Here is another example of a back to top button!


All times are GMT. The time now is 08:28.

Powered by vBulletin® Version 3.8.12
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.