vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 5.x Products & Extensions (https://vborg.vbsupport.ru/forumdisplay.php?f=258)
-   -   Miscellaneous Hacks - Back To Top Button (https://vborg.vbsupport.ru/showthread.php?t=289068)

Shadow 10-13-2012 10:00 PM

Back To Top Button
 
1 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 10-16-2012 04:54 PM

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 10-16-2012 06:13 PM

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 10-17-2012 07:55 PM

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 10-17-2012 09:15 PM

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

WhiskeyOSS 01-20-2013 08:00 AM

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 01-23-2014 02:02 PM

nice, works on vb 5.05, thank you

DemOnstar 08-27-2015 10:55 AM

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 10-02-2015 12:06 AM

Works on 5.1.9, thanks and installed

teddyvgt 02-29-2016 07:38 AM

5.2.1 work


All times are GMT. The time now is 06:19 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01660 seconds
  • Memory Usage 1,727KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete