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)

Wayne Luke 04-08-2016 04:20 PM

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

Madekozu 04-09-2016 03:57 AM

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

panoramia 10-03-2016 07:51 AM

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

Brasilien 02-09-2018 01:53 PM

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 02-10-2018 06:27 AM

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!

Drucifer 06-03-2018 08:13 PM

Works in v5.4.1

rjh 01-30-2019 06:50 PM

Not working for me in 5.4.3. FYI

ringnews24 08-21-2019 08:50 PM

Not working in 5.5.3

AMRANI 03-15-2020 12:03 PM

not working in 5.5.6...
can anyone fix it?

shka 03-15-2020 05:01 PM

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>


All times are GMT. The time now is 09:40 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.01253 seconds
  • Memory Usage 1,729KB
  • 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_code_printable
  • (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