Log in

View Full Version : Board Optimization - Keyboard Shortcuts


TheInsaneManiac
12-28-2015, 10:00 PM
Keyboard Shortcuts is a new modification I am working on, depending on the amount of attention it brings will alert me as to how much time I will want to put in this. I originally did this to disable copy, however just disabling the functions altogether with a silly notification seemed wasteful, so I set out to create a use out of disabling Ctrl + C by allowing it to redirect the user to the control panel with the help from mousetrap. From there I decided to add more shortcuts to make things easier for my members and I, like private messaging access and AdminCP access for my administrators.

Installation

Upload clientscript to root
Install product-keyboardshortcuts
Set shortcuts in Settings -> Keyboard Shortcuts
Mark Installed


Features

Using a default browser shortcut will disable the browsers shortcut and use the shortcut you set
Change the shortcut to be anything you want in the AdminCP
Change the link that a shortcut redirects to
AdminCP shortcut will only work with administrators


To-Do

Add more shortcuts
Usergroup permissions
Enable/Disable individual shortcuts
Custom script action
Add more shortcut button


Depending on how many others like this product will give me an idea on how much time I need to put into this mod with more features, suggestions, and porting to 3.8.x and 5.1.x.

Manoel J?nior
12-29-2015, 08:42 AM
Very cool. Thanks

TheInsaneManiac
12-29-2015, 10:19 AM
Not a problem. I'm also thinking about shortcuts to quote and pm the original poster.

Alan_SP
12-29-2015, 02:33 PM
It certainly looks very promising as I like to use keyboard as much as I can.

TheInsaneManiac
12-29-2015, 06:06 PM
It certainly looks very promising as I like to use keyboard as much as I can.
Me as well. I am thinking of integrating with the database so there can be as many shortcuts as you would like, for now I may just do 10 though. I was also thinking custom script integration. If anyone has any suggestions let me know.

Alan_SP
12-31-2015, 06:50 PM
This sounds as great idea, integration with DB. At the moment I can't like your posts.