Go Back   vb.org Archive > vBulletin Modifications > vBulletin 5.x Modifications > vBulletin 5.x Products & Extensions

Reply
 
Thread Tools
Back To Top Button Details »»
Back To Top Button
Version: 1.00, by Shadow Shadow is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 5.0.0 Beta 11 Rating:
Released: 10-13-2012 Last Update: Never Installs: 51
Auto-Templates
Translations  
No support by the author.

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!

Download Now

File Type: xml product_btp.xml (6.0 KB, 393 views)

Screenshots

File Type: jpg AdminCP BTP.jpg (61.5 KB, 0 views)
File Type: png BTP Button.PNG (11.7 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
napy8gen

Comments
  #12  
Old 04-08-2016, 04:20 PM
Wayne Luke's Avatar
Wayne Luke Wayne Luke is offline
Senior Member
 
Join Date: Jan 2002
Location: Southern California
Posts: 1,694
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This isn't really needed anymore as the footer should have this link by default.
Reply With Quote
  #13  
Old 04-09-2016, 03:57 AM
Madekozu's Avatar
Madekozu Madekozu is offline
 
Join Date: Aug 2015
Location: Germany
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this one you have all the time - not only in the footer. fine on long pages.
Reply With Quote
  #14  
Old 10-03-2016, 07:51 AM
panoramia panoramia is offline
 
Join Date: Sep 2013
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great job, it works perfect on 5.2.4 as well. Keep it up! You are the best!
Reply With Quote
  #15  
Old 02-09-2018, 01:53 PM
Brasilien Brasilien is offline
 
Join Date: Nov 2016
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #16  
Old 02-10-2018, 06:27 AM
delicjous's Avatar
delicjous delicjous is offline
 
Join Date: Nov 2014
Posts: 352
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Brasilien View Post
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!
Reply With Quote
  #17  
Old 06-03-2018, 08:13 PM
Drucifer's Avatar
Drucifer Drucifer is offline
 
Join Date: Feb 2010
Location: NY Hudson Valley
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works in v5.4.1
Reply With Quote
  #18  
Old 01-30-2019, 06:50 PM
rjh rjh is offline
 
Join Date: Dec 2006
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not working for me in 5.4.3. FYI
Reply With Quote
  #19  
Old 08-21-2019, 08:50 PM
ringnews24's Avatar
ringnews24 ringnews24 is offline
 
Join Date: Aug 2012
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not working in 5.5.3
Reply With Quote
  #20  
Old 03-15-2020, 12:03 PM
AMRANI AMRANI is offline
 
Join Date: Mar 2020
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not working in 5.5.6...
can anyone fix it?
Reply With Quote
  #21  
Old 03-15-2020, 05:01 PM
shka shka is offline
 
Join Date: Mar 2016
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can edit this in the xml but also after installation

After installation:
1. AdminCP/Products & Hooks/Manage Template Hooks/Edit the "Back to Top"-Template
Change Hook Location from "footer end" to "footer_before_body_end"

Then the button should be visible in forum. But in browser console you'll see a unnessesary loading error for jquery.

2. AdminCP/Styles/Search in Templates/search for "backtotop"/choose template "backtotop"
Delete line 9 without replacement
Code:
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js' type='text/javascript'></script>
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:26 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
  • Page Generation 0.07293 seconds
  • Memory Usage 2,315KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete