Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
Keyboard Navigator (CTRL+Arrows shortcuts) Details »»
Keyboard Navigator (CTRL+Arrows shortcuts)
Version: 0.6, by Vitaly Vitaly is offline
Developer Last Online: Jul 2014 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.8.x Rating:
Released: 03-05-2009 Last Update: 01-02-2010 Installs: 30
Uses Plugins Auto-Templates
Re-useable Code Additional Files  
No support by the author.

vb 4.x version here

This hack adds some keyboard shortcuts for accelerated navigation. Very convenient, when you browse forum without mouse (notebook with touchpad and so on).

Current shortcuts:
  • Ctrl + Left - previous page (current page - 1)
  • Ctrl + Right - next page (current page + 1)
  • Ctrl + Up - 1 level up.
  • (!) Ctrl + Down - Go to next unread thread in current forum (only for registered forum members)
Demo: http://forum.rcdesign.ru/f22/ (without CTRL+DOWN for guests)

(!) "Next Unread" is taken from end (the most old unread thread). Reason is simple - that makes less returns, since top threads are updated very often.

PS. As you can see from screenshot, only Ctrl + Left/Right have visual helpers. If someone have good idea how to show, that Ctrl+ Up/Down are working too - feel free to share.

This mod is developped here: http://github.com/rcdesign/vb-keyboard_navigator . Patches are welcome.

History

0.6
- Redirects for moved threads caused error for CTRL+Down

0.5
- added lock when cursor focus is in edit area
- removed CTRL+HOME shortcut (uncomment in template, if really need it)

0.4
- added Ctrl+Down

0.2, 0.3
- Small JS fixes
- Nice helpers in pagebar (see screenshot)

0.1
- First Public Release

Download Now

File Type: xml product-kbd_nav-0.4.xml (7.3 KB, 62 views)
File Type: xml product-kbd_nav-0.5.xml (8.1 KB, 43 views)
File Type: xml product-kbd_nav-0.6.xml (8.2 KB, 66 views)

Screenshots

File Type: gif prev-next.gif (13.2 KB, 0 views)

Supporters / CoAuthors

    Show Your Support

    • This modification may not be copied, reproduced or published elsewhere without author's permission.

    Comments
      #12  
    Old 03-09-2009, 05:30 AM
    dvbusuario's Avatar
    dvbusuario dvbusuario is offline
     
    Join Date: Oct 2007
    Posts: 153
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Quote:
    Originally Posted by xuanhuy238 View Post
    i don't use shortcut of previous and next pages
    Me too!
    Reply With Quote
      #13  
    Old 03-14-2009, 05:48 AM
    Vitaly's Avatar
    Vitaly Vitaly is offline
     
    Join Date: Apr 2004
    Location: Russia, St.Petersburg
    Posts: 428
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Everybody welcome to test new version 0.4 !

    What's chaged:
    • No uploads needed (desided to include javascript in template)
    • CTRL + DOWN hotkey (not for guests) !!! - Move to new unread thread in current forum. If no new thread - then go up to thread list.
    How CTRL + DOWN work.

    The most old unread thread taken from current forum. Then user redirected to first unread post in that thread.

    Why oldest thread, not newest?

    Usability question. Still not desided, what is better. It seems, that top threads are updated more often. So, if you navigate from start, more "come back" happens. IMHO, that's a bit irritating.

    How to install:
    1. Make shure, that "readed posts" are tracked in database (forum setting).
    2. Just import product.
    Attached Files
    File Type: xml product-kbd_nav.xml (7.7 KB, 18 views)
    Reply With Quote
      #14  
    Old 03-17-2009, 04:17 PM
    Vitaly's Avatar
    Vitaly Vitaly is offline
     
    Join Date: Apr 2004
    Location: Russia, St.Petersburg
    Posts: 428
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Fixed some bugs in 0.4 pre-release and released new 0.4 version (first post). Ctrl+Down added enougth functionality to browse forum with shortcuts.

    Enjoy!

    As you can see from screenshot, only Ctrl + Left/Right have visual helpers. If someone have good idea how to show, that Ctrl+ Up/Down are working too - feel free to shre.
    Reply With Quote
      #15  
    Old 03-24-2009, 02:12 PM
    Jasem's Avatar
    Jasem Jasem is offline
     
    Join Date: Feb 2006
    Location: www.menokia.com
    Posts: 594
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Great job, thank you!

    installed
    Reply With Quote
      #16  
    Old 08-04-2009, 06:15 AM
    Vitaly's Avatar
    Vitaly Vitaly is offline
     
    Join Date: Apr 2004
    Location: Russia, St.Petersburg
    Posts: 428
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    I've added all shortcuts lock, when user edit text in any input or textarea field.

    That prevents conflicts, when user wish to move cursor on word left/right, but is redirected to another page instead.
    Reply With Quote
      #17  
    Old 08-09-2009, 12:45 PM
    Dr. Bantham's Avatar
    Dr. Bantham Dr. Bantham is offline
     
    Join Date: Feb 2007
    Posts: 164
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Great mod!

    The latest version introduces a conflict with cyb Chatbox. The "Message..." prompt will not disappear as it should when activating the input box.
    Reply With Quote
      #18  
    Old 08-09-2009, 04:56 PM
    Vitaly's Avatar
    Vitaly Vitaly is offline
     
    Join Date: Apr 2004
    Location: Russia, St.Petersburg
    Posts: 428
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Try to comment out (or delete) this block:

    HTML Code:
    var c = document.getElementsByTagName('input'); 
    for (var i=0; i<c.length; i++) { 
        if (c[i].type == 'text') { 
            c[i].onfocus = onFocusHandler; 
            c[i].onblur = onBlurHandler; 
        } 
    } 
    in template kbd_nav_block.
    Reply With Quote
      #19  
    Old 01-16-2010, 04:37 AM
    Zi55 Zi55 is offline
     
    Join Date: Dec 2006
    Posts: 94
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    I install it in my forum , but only the CTRL Up/down is working Left and right not working at all
    .l try it also in test forum , the same thing happen
    Thanks
    Reply With Quote
      #20  
    Old 02-24-2010, 11:45 AM
    TK1990 TK1990 is offline
     
    Join Date: Nov 2008
    Posts: 5
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Quote:
    Originally Posted by Zi55 View Post
    I install it in my forum , but only the CTRL Up/down is working Left and right not working at all
    .l try it also in test forum , the same thing happen
    Thanks
    Same here.
    Reply With Quote
      #21  
    Old 02-24-2010, 11:58 AM
    Vitaly's Avatar
    Vitaly Vitaly is offline
     
    Join Date: Apr 2004
    Location: Russia, St.Petersburg
    Posts: 428
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    1. vB version ?
    2. Skin ?

    Please check. that Ctrl -> and <- Ctrl were added as on screenshot from description.
    Reply With Quote
    Reply

    Thread Tools

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT. The time now is 01:07 AM.


    Powered by vBulletin® Version 3.8.12 by vBS
    Copyright ©2000 - 2024, vBulletin Solutions Inc.
    X vBulletin 3.8.12 by vBS Debug Information
    • Page Generation 0.06993 seconds
    • Memory Usage 2,334KB
    • Queries Executed 27 (?)
    More Information
    Template Usage:
    • (1)SHOWTHREAD
    • (1)ad_footer_end
    • (1)ad_footer_start
    • (1)ad_header_end
    • (1)ad_header_logo
    • (1)ad_navbar_below
    • (1)ad_showthread_beforeqr
    • (1)bbcode_html
    • (2)bbcode_quote
    • (1)footer
    • (1)forumjump
    • (1)forumrules
    • (1)gobutton
    • (1)header
    • (1)headinclude
    • (1)modsystem_post
    • (1)navbar
    • (4)navbar_link
    • (120)option
    • (1)pagenav
    • (1)pagenav_curpage
    • (2)pagenav_pagelink
    • (11)post_thanks_box
    • (11)post_thanks_button
    • (1)post_thanks_javascript
    • (1)post_thanks_navbar_search
    • (11)post_thanks_postbit_info
    • (10)postbit
    • (5)postbit_attachment
    • (11)postbit_onlinestatus
    • (11)postbit_wrapper
    • (1)spacer_close
    • (1)spacer_open
    • (1)tagbit_wrapper 

    Phrase Groups Available:
    • global
    • inlinemod
    • postbit
    • posting
    • reputationlevel
    • showthread
    Included Files:
    • ./showthread.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/functions_bigthree.php
    • ./includes/class_postbit.php
    • ./includes/class_bbcode.php
    • ./includes/functions_reputation.php
    • ./includes/functions_post_thanks.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
    • showthread_start
    • showthread_getinfo
    • forumjump
    • showthread_post_start
    • showthread_query_postids
    • showthread_query
    • bbcode_fetch_tags
    • bbcode_create
    • showthread_postbit_create
    • postbit_factory
    • postbit_display_start
    • post_thanks_function_post_thanks_off_start
    • post_thanks_function_post_thanks_off_end
    • post_thanks_function_fetch_thanks_start
    • post_thanks_function_fetch_thanks_end
    • post_thanks_function_thanked_already_start
    • post_thanks_function_thanked_already_end
    • fetch_musername
    • postbit_imicons
    • bbcode_parse_start
    • bbcode_parse_complete_precache
    • bbcode_parse_complete
    • postbit_attachment
    • postbit_display_complete
    • post_thanks_function_can_thank_this_post_start
    • pagenav_page
    • pagenav_complete
    • tag_fetchbit_complete
    • forumrules
    • navbits
    • navbits_complete
    • showthread_complete