vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Board Optimization - Keyboard Shortcuts (https://vborg.vbsupport.ru/showthread.php?t=321232)

TheInsaneManiac 12-28-2015 10:00 PM

Keyboard Shortcuts
 
1 Attachment(s)
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
  1. Upload clientscript to root
  2. Install product-keyboardshortcuts
  3. Set shortcuts in Settings -> Keyboard Shortcuts
  4. 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

Quote:

Originally Posted by Alan_SP (Post 2561370)
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.


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