vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=298345

Thread Auto Scrolling by BOP5 for VB 3.x
by BirdOPrey5
21 May 2013 12:27

2 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 21 May 2013 12:29

Reserved.

matrex722 24 May 2013 16:32

good work man


All times are GMT. The time now is 12:33.

Powered by vBulletin® Version 3.8.12
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.