The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Force Standard Editor for IE10 Users (Editor Workaround) for VB 4.x by BOP5 Details »» | |||||||||||||||||||||||||||||
Force Standard Editor for IE10 Users (Editor Workaround) for VB 4.x by BOP5
Developer Last Online: Aug 2023
NO LONGER NECESSARY IN VB 4.2.1 or above.
Brought to you by BirdOPrey5 / Qapla.com See Post #12 for a different solution, it lets the editor work in IE10 If you are an Admin of a VB4 site with the ckeditor (all versions since 4.1.4 I believe) you probably know that the VB4 editor is not compatible with Internet Explorer 10 (IE10) web browsers. As IE10 becomes more popular this is a bigger issue for site administrators. The good news is the "Standard Editor" in VB 4.x does work, it is only the WYSIWYG editor with the problem. This simple singe plugin mod will force IE10 users, and only IE10 users to the Standard Editor no matter what they have chosen in their settings. This should prevent complaints from users about the editor not working properly. We hope this issue will get fixed in a future VB4 version, maybe 4.2.1, maybe later, at that time you can remove this product. No documentation, no settings, just import the XML file and it is active, disable or remove the product and it stops working. Installation Instructions: Log into your Admin CP Go to Add/Import Product under "Plugins & Products" on the side menu. Click the "Choose File" button to find the attached product xml file. Press "Import" Done. ------------------------------------------------------ Please "Mark as Installed" if you use this. Donations always appreciated. :up: Nominate MOTM if you LOVE it! Download Now
Show Your Support
|
7 благодарности(ей) от: | ||
AusPhotography, djbaxter, f4vn, Hostboard, nacaruncr, SuperDave1971, TheLastSuperman |
Comments |
#42
|
|||
|
|||
Absolutely Perfect!
Thank you so much!! |
Благодарность от: | ||
BirdOPrey5 |
#43
|
||||
|
||||
I think this may be useful again if updated to work for IE11 users. Mine are reporting that they can't do a lot of things with the editor.
|
#44
|
||||
|
||||
Just a question, what vB version and PHP version are you running? Also are you able to reproduce what they are reporting?
|
#45
|
||||
|
||||
If you're running VB 4.2.2 the editor should be working for IE11 users because VB will force IE9 compatibility mode.
|
#46
|
||||
|
||||
The new Microsoft Edge browser doesn't like the wysiwyg mode on any of my vb4 sites (editor will not work without enter being pressed first), with a tweak to this mod you can force standard mode on Edge and patch the problem until a better solution is found.
Change Code:
if (strpos($_SERVER['HTTP_USER_AGENT'], 'Trident/6.0')) Code:
if (strpos($_SERVER['HTTP_USER_AGENT'], 'Edge')) |
Благодарность от: | ||
djbaxter |
#47
|
|||
|
|||
Quote:
You seem to be saying we can make your modifications to this product to force standard editor for Edge, but then you say it's only good if you are NOT using this mod? |
#48
|
||||
|
||||
What I mean is if you make the change then it will only force Edge to standard mode and no longer work for IE.
|
#49
|
|||
|
|||
Would this not work for both?
PHP Code:
|
#50
|
|||
|
|||
Quote:
Quote:
Doug |
#51
|
||||
|
||||
Edge has changed since I posted the original bit of code, the following is how the plugin needs to look now to force edge to work correctly.
Code:
//This plugin checks if the user is using Edge, if he or she is, it forces use of the standard editor global $vbulletin; { if (strpos($_SERVER['HTTP_USER_AGENT'], 'Edge')) $vbulletin->userinfo['showvbcode'] = 1; //This is the standard editor } |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|