vBulletin Mods

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

imgur like keyboard functionality - arrow keys = previous / next thread
by Dave
02 Sep 2014 21:50

1 Attachment(s)
I'm not sure if something like this has been released already, but here it is:

This little modification will make it possible to use the arrow left and right key on your keyboard to go to the next or previous thread in the current forum. Note that it will only work when you are viewing a thread already.

Installation:
1) Open the SHOWTHREAD template of your style.
2) Paste the contents of the attached file above the {vb:raw footer} variable.

That's it, now you can use the left and right arrow keys on your keyboard to go to the next/previous thread of the current forum.

Mark as installed = support.

RichieBoy67 02 Sep 2014 22:12

Cool but how will people even know to use this?

Dave 02 Sep 2014 22:18

Quote:

Originally Posted by RichieBoy67 (Post 2513544)
Cool but how will people even know to use this?

The administrator will have to announce this although this is more of a "hidden" feature.
Currently fixing a bug when a hashtag is present in the URL.

Firyou 03 Sep 2014 19:55

Sounds like a neat trick. Would it be possible to do this on the current thread's pages instead?

scottkoz20 06 Nov 2018 00:42

hey Dave - sorry to dust this one off but when I add this in, the following is added to the URL and it stays on the current thread


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


add to this, if I hit the keyboard multiple times, it just adds another oldest or newest code to the URL


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

tried this on Chrome and Firefox. If the code is depreciated, let me know


All times are GMT. The time now is 06:32.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, 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.