PDA

View Full Version : Forum Display Enhancements - imgur like keyboard functionality - arrow keys = previous / next thread


Dave
09-01-2014, 10:00 PM
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
09-02-2014, 08:12 PM
Cool but how will people even know to use this?

Dave
09-02-2014, 08:18 PM
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
09-03-2014, 05:55 PM
Sounds like a neat trick. Would it be possible to do this on the current thread's pages instead?

scottkoz20
11-05-2018, 10:42 PM
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

&goto=nextnewest

OR

&goto=nextoldest


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

&goto=nextnewest&goto=nextoldest&goto=nextoldest&goto=nextoldest&goto=nextoldest&goto=nextoldest

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