Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Chrome Browser Notice (For Quick Reply Editor) - How to fix non-working space bar Details »»
Chrome Browser Notice (For Quick Reply Editor) - How to fix non-working space bar
Version: 1.0.0, by BirdOPrey5 (Senior Member) BirdOPrey5 is offline
Developer Last Online: Aug 2023 Show Printable Version Email this Page

Category: New Posting Features - Version: 4.x.x Rating:
Released: 11-04-2016 Last Update: 11-04-2016 Installs: 42
Supported Uses Plugins Auto-Templates
Re-useable Code  

If you are not already aware the latest version of Chrome browser (Version 54.0.2840.71, possibly others) has introduced a bug or incompatibility with the version of CKEditor used in VB 4.x.

If a user attempts to use the "Reply With Quote" feature on an existing post and begins to type their reply under the existing quote without hitting the Enter key first, the space bar will not work.

The issue is talked about on vBulletin.com here: http://www.vbulletin.com/forum/forum...rking-on-reply

While this is not a true fix, it does display a notice above the quick reply editor advising Chrome users that they can fix the problem simply by hitting the Enter key. (See Screenshot.)



The actual text displayed is held in a Global phrase called chrome_editor_message_bop5 so it is easily edited or translated as needed using Phrase Manager in the Admin CP.

There are no options, just install it and it will become active. Disable or remove the product to stop using it.

Notice will only be displayed in Chrome browser and when the enhanced WYSIWYG editor is enabled in the user's options. The Standard Editor and Basic Editor do not have this bug.

The function that attempts to determine the browser version was publicly available, location it can be found is a comment in the Functions plugin.

This mod will only install on VB 4.x versions and is only useful with VB 4.x versions 4.1.12 and above. May not work on heavily customized styles.

------------------------------------------------------

Please "Mark as Installed" if you use this.
Donations always appreciated. :up:
Nominate MOTM if you LOVE it!

Download Now

File Type: xml product-chromeeditorwarnbop5.xml (2.8 KB, 147 views)

Screenshots

File Type: jpg chrome_browser_warn_ss.jpg (62.3 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
4 благодарности(ей) от:
Alan_SP, Dragonsys, Inna, RichieBoy67

Comments
  #22  
Old 11-29-2016, 01:54 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sticky View Post
...Edit: Actually, had to uninstall. Not sure why but certain pages won't load for me when it's enabled.
If you let the developer (Joe) know which pages won't load, he would have a better chance of addressing the issue if he knows what to look for.
Reply With Quote
  #23  
Old 12-04-2016, 02:09 PM
bazookajoe's Avatar
bazookajoe bazookajoe is offline
 
Join Date: Dec 2008
Location: USA
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is anything being done with this mod?
Reply With Quote
  #24  
Old 12-05-2016, 05:26 PM
I.G.O.T.A.'s Avatar
I.G.O.T.A. I.G.O.T.A. is offline
 
Join Date: Mar 2011
Location: USA
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Subscribed.
Reply With Quote
  #25  
Old 12-05-2016, 07:55 PM
Mark.B Mark.B is offline
Senior Member
 
Join Date: Feb 2004
Posts: 1,354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bazookajoe View Post
Is anything being done with this mod?
Such as?

It's just a notice above the editor. Not sure what else you think should be done with it.
Reply With Quote
  #26  
Old 12-07-2016, 02:47 PM
Psalmist Psalmist is offline
 
Join Date: Jul 2008
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed it and the notice does indeed show above the quick reply for posts, but what about the quick reply for private messages? Actually that's where our users are having the space bar issue so that is where we need the notice. How can we make it appear there also?
Reply With Quote
  #27  
Old 12-08-2016, 09:03 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey all,

I looked at putting it by PMs and while it is possible it is a lot of extra work. While I started looking at the code I had a thought.

As much as I like mods the reality of the situation is this- I think this is much more gracefully handled by the vBulletin Notices System.

My suggestion:

Go to Admin CP -> Notices -> Add New Notice

Title: Editor Notice
Notice HTML:
HTML Code:
<strong>Possible bug when replying to posts or Private Messages, please read.</strong>
<br />
A bug in newer versions of Chrome and Opera browsers (and possibly others) may cause your space bar not to work when replying to posts, private messages or other content on the forum. If you find your space bar isn't working simply press your <strong>&lt;Enter&gt;</strong> key a couple times inside the post and the space bar will work again. We hope this will get fixed in a future update of the browser.<br / >

To close this message click the "X" on the top right corner.
Active, Persistent, and Dismissible all set to yes.

No reason to show it to guests they can't reply anyway so check the box for "User does not belong to usergroup" and select Unregistered / Not Logged In as the usergroup not to display it to and save changes.

I implemented this on my own site. I kept the mod installed as an extra reminder but the notice is good info for everyone. They can dismiss it and never see it again but they (may) remember to just hit enter and be done with it should they get the problem.
Attached Images
File Type: jpg vb4 editor notice.jpg (132.6 KB, 0 views)
File Type: jpg vb4 editor notice2.jpg (93.8 KB, 0 views)
Reply With Quote
  #28  
Old 12-08-2016, 09:11 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarkFL View Post
If you let the developer (Joe) know which pages won't load, he would have a better chance of addressing the issue if he knows what to look for.
I'd be most curious if I can duplicate the issue.
Reply With Quote
  #29  
Old 12-08-2016, 03:18 PM
bazookajoe's Avatar
bazookajoe bazookajoe is offline
 
Join Date: Dec 2008
Location: USA
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mark.B View Post
Such as?

It's just a notice above the editor. Not sure what else you think should be done with it.
Yep...Sorry, I meant to ask if any fix was forthcoming for this bug. My bad.
Reply With Quote
  #30  
Old 12-08-2016, 05:24 PM
Kane@airrifle's Avatar
Kane@airrifle Kane@airrifle is offline
 
Join Date: Jun 2011
Location: ZA
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Adding this to to the bottom of editor_contents.css seems to get the space bar working with the WYSIWYG editor on my board.

Code:
@supports (-webkit-appearance:none) {
body.forum {white-space: pre-wrap;}
}
The added blank lines that appear in the quoted post disappear on posting.

YMMV
Reply With Quote
Благодарность от:
sticky
  #31  
Old 12-09-2016, 11:54 PM
sticky sticky is offline
 
Join Date: Sep 2003
Posts: 934
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kane@airrifle View Post
Adding this to to the bottom of editor_contents.css seems to get the space bar working with the WYSIWYG editor on my board.

Code:
@supports (-webkit-appearance:none) {
body.forum {white-space: pre-wrap;}
}
The added blank lines that appear in the quoted post disappear on posting.

YMMV
Hey! This works.

The only problem is the issue still persists in PM's. Forum posting is fixed though when quoting.
Reply With Quote
Reply


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 03:47 PM.


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.05551 seconds
  • Memory Usage 2,355KB
  • Queries Executed 26 (?)
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
  • (2)bbcode_code
  • (1)bbcode_html
  • (5)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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (5)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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