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)
-   -   Forum Display Enhancements - chicoynano_product_Go up-Go down-Go downtown (https://vborg.vbsupport.ru/showthread.php?t=327773)

Chicoynano 01-16-2020 10:00 PM

chicoynano_product_Go up-Go down-Go downtown
 
1 Attachment(s)
This product shows buttons on the side to scroll UP-TO CENTER-DOWN. You can change the text that is ours when you have the cursor over it


1? Install
Unzip the zip. Inside there are two folders. upload to root and import xml.
Upload the contents of the upload to root folder through ftp and overwrite. Then import the product from the import xml folder and mark overwrite.

Sorry for my English, I use the translator.

https://i.postimg.cc/vZhxmZsD/scroll-to.png

redragon29 01-18-2020 09:03 AM

Nice work, thank you for sharing it!

Chicoynano 01-18-2020 03:07 PM

Quote:

Originally Posted by redragon29 (Post 2601790)
Nice work, thank you for sharing it!

You are welcome to share with you. Greetings

redragon29 01-18-2020 05:08 PM

That's nice, but just a little thing:
When you want to go down i works great, when i click to go up, it not goes to top, just under navbar.
any change to do?

Chicoynano 01-19-2020 04:06 PM

Quote:

Originally Posted by redragon29 (Post 2601792)
That's nice, but just a little thing:
When you want to go down i works great, when i click to go up, it not goes to top, just under navbar.
any change to do?

If you want it to scroll completely up, open the hook_chicoynano_scrollTo template, and change this line
Code:

<a href="javascript:scroll(0,350);"><img alt="Scroll To Top" border="0" id="top" src="images/misc/up.png" style="position:fixed; bottom:282px; right:0; z-index:999" title="{vb:rawphrase ScrollToTop}"></a>
to this one
Code:

<a href="javascript:window.scrollTo(0,document.body.scrollHeight/0);"><img alt="Scroll To Top" border="0" id="top" src="images/misc/up.png" style="position:fixed; bottom:282px; right:0; z-index:999" title="{vb:rawphrase ScrollToTop}"></a>
Save and update the changes and go.

camerman 01-19-2020 04:24 PM

Quote:

Originally Posted by redragon29 (Post 2601792)
That's nice, but just a little thing:
When you want to go down i works great, when i click to go up, it not goes to top, just under navbar.
any change to do?

Yes - that happens for me as well, you can have a look at https://www.dpnow.com/forum2

The standard 'go to top' link in the footer works fine.

redragon29 01-19-2020 04:51 PM

thank you Chicoynano work like a charm!

camerman 01-19-2020 04:53 PM

I've now done the code changed suggested and it works much better, thanks!

camerman 01-20-2020 09:00 AM

Well I have installed this on two of my forums but in the end general opinion was divided and I thought some feedback to the developer might be useful:

1. Some like it.
2. Some like it but say the 'center' button is too small for use on a phone or tablet.
3. Others don't like it.

So if there is any way for a user to hide or switch it off according to their preference, that would be good.

Secondly, it would be nice for it smoothly move rather than just jump up or down.

I hope this is useful!

tattotattoo 09-05-2020 12:09 PM

thanks


All times are GMT. The time now is 01: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.01126 seconds
  • Memory Usage 1,731KB
  • 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
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete