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)
-   -   Mini Mods - Keyboard Shortcut for vBulletin 4 (https://vborg.vbsupport.ru/showthread.php?t=239805)

mrpaint 04-03-2010 09:00 PM

Keyboard Shortcut for vBulletin 4
 
1 Attachment(s)
Keyboard Shortcut 1.0
Enable various keyboard shortcuts for vBulletin.

Sometime it really hurts me to read through a long thread (100+ pages) with the mouse so I think this would be helpful to someone :D

[FEATURE]
  1. Shortcuts are easily changed and updated via highly interactive AdminCP Settings page.
  2. Available shortcuts:
  3. Display Help
  4. Go Root
  5. Go Up (from thread to forum, from forum to parent forum, from picture to album)
  6. Numeric Auto-assign (1..9 to quick access threads in forum, pictures in album)
  7. New Private Message (with settings to predefine recipient, open in new window)
  8. Previous/Next page (pages in thread, comment pages in picture)
  9. Previous/Next item (threads, pictures)
[DEMO]
http://daohoangson.com/vb40
http://daohoangson.com/vb38
*Yeah, the same product works with both versions of vBulletin*
Authentication: demo:demo
Test accounts: test1:123456; test2:123456; test3:123456

[INSTALL]
Upload files (2 scripts) in `upload` to forums root
Import .xml file
Go to edit settings or leave them with default values
Done

[SCREENSHOT]
https://vborg.vbsupport.ru/external/2010/04/73.jpg https://vborg.vbsupport.ru/external/2010/04/74.jpg
View more (and bigger) screenshots, click here

Enjoy this small modification. Bring to you from a Vietnamese coder. Cheers

saadessa 04-04-2010 08:53 PM

installed thank you

chriske 04-04-2010 09:44 PM

Very interesting!

Tagged & Thanks!

Bouncer222 04-04-2010 10:34 PM

I went on ur site and logged into a demo account, but im confused, what does this mod do???

AliMadkour 04-04-2010 11:14 PM

Great mod!
Tagged for future use
thanks :)

Skyrider 04-05-2010 12:38 AM

Quote:

Originally Posted by Bouncer222 (Post 2015867)
I went on ur site and logged into a demo account, but im confused, what does this mod do???

Press and hold H and you'll see.. It's a keyboard shortcut combination combined with the forums.. pressing 1 will go to the first section or first post, 2 to the second, etc.

sulasno 04-05-2010 02:15 AM

tagged and thanks

mrpaint 04-05-2010 07:17 PM

Oh yeah, sorry for confusing you guys. If you go to the demo forums, hold H to see the shortcuts list. I will post some screenshot really soon

mrpaint 04-05-2010 07:38 PM

1 Attachment(s)
I have several screenshots from different browsers in different pages with various shortcuts available. Please note that the same shortcut key can be available in many pages but with each page, it can perform a little bit different. You can see the shortcut U in the screenshots: in work to go up to forum from thread, go to parent forum from forum or go to album from picture, etc

Skyrider 04-06-2010 04:57 PM

Getting error when I added this plugin:

Quote:

$help_shortcut = $vbulletin->options['kbs_help']; $is_vb4 = ($vbulletin->options['templateversion'] >= '4.0'); if ($help_shortcut) { $shortcuts = ''; foreach ($GLOBALS['kbs_functions'] as $group => $group_shortcuts) { foreach ($group_shortcuts as $shortcut => $info) { $sessionurl = $vbulletin->session->vars['sessionurl']; if ($sessionurl) { if (strpos($info['link'],$sessionurl) === false) { if (strpos($info['link'],'?') === false) { $info['link'] .= '?' . $sessionurl; } else { $info['link'] = str_replace('?','?' . $sessionurl,$info['link']); } } } if ($is_vb4) { $templater = vB_Template::create('kbs_shortcutbit'); $templater->register('shortcut',$shortcut); $templater->register('info',$info); $shortcuts .= $templater->render(); } else { eval('$shortcuts .= "' . fetch_template('kbs_shortcutbit') . '";'); } } } if ($is_vb4) { $headercode = vB_Template::create('kbs_headercode')->render(); $templater = vB_Template::create('kbs_footercode'); $templater->register('help_shortcut',$help_shortcut); $templater->register('shortcuts',$shortcuts); $footercode = $templater->render(); } else { eval('$headercode = "' . fetch_template('kbs_headercode') . '";'); eval('$footercode = "' . fetch_template('kbs_footercode') . '";'); } $output = str_replace( array('','') ,array($headercode . '',$footercode . '') ,$output ); }


All times are GMT. The time now is 02:10 PM.

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.01879 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete