vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Show Thread Enhancements - Thread Auto Scrolling by BOP5 for VB 3.x (https://vborg.vbsupport.ru/showthread.php?t=298345)

BirdOPrey5 05-20-2013 10:00 PM

Thread Auto Scrolling by BOP5 for VB 3.x
 
1 Attachment(s)
Brought to you by BirdOPrey5 / Qapla.com

Warning: I am not providing any kind of support for this mod. It is mostly in JavaScript, which I dislike. I made it only to serve a need on my forum. It is unlikely I will make any future changes. It works on my forum, if it doesn't work on yours I am sorry, feel free to play around with it but I will not be trouble-shooting issues.

Live Demo: http://www.juot.net/forums/showthread.php?t=1820 (Note the "Auto-Scroll" box in the top left corner of the screen.)

To use - Just bring the mouse cursor over the word "Auto-Scroll" and the page will automatically begin scrolling down. When it reaches the bottom it will scroll back up again, and so on, indefinitely. If you move the mouse off the word "Auto-Scroll" it will stop scrolling but remember its place if you start again.

The feature requires JavaScript to be enabled to work.

To install Import the XML file attached as a new product. Then go to Admin CP -> vBulletin Options -> Thread Auto Scroller by BOP5

Enable the mod. Add one or more threadids AND/OR select one or more forums.

The "Auto-Scroll" option will appear on any specific threads you choose by threadid OR in all threads in any forums you select.

Option to control the speed (from slow to very slow basically), and a "buffer" zone on top and bottom of the page so it doesn't scroll ALL the way to the top or bottom.

The styling and location of the "Auto-Scroll" box can be adjusted by editing the template: bop5_autoscroll_controls.

Tested on VB 3.87, I expect it will work on all VB 3.8, maybe 3.7 and earlier. Will definitely NOT work on VB 4.x and I am not planning on a 4.x version at this time.
Tested on IE10, Chrome, and Firefox.

If you really need to make it scroll faster I suspect you would need to edit the plugin that has the JavaScript code.

Look for: ++i

And change it to something like: i = i + 2

That should double the speed but it will be less smooth. The larger you make the number (2) the faster it wil scroll.

COMPLETELY UNTESTED though because it's not something I needed.

Please "Mark as Installed" if you use this. :)
Donations Always Appreciated. :up:

BirdOPrey5 05-21-2013 11:29 AM

Reserved.

matrex722 05-24-2013 03:32 PM

good work man


All times are GMT. The time now is 08:10 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.00978 seconds
  • Memory Usage 1,714KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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