View Full Version : Mini Mods - Force Standard Editor for IE10 Users (Editor Workaround) for VB 4.x by BOP5
BirdOPrey5
04-02-2013, 10:00 PM
NO LONGER NECESSARY IN VB 4.2.1 or above.
Brought to you by BirdOPrey5 / Qapla.com (http://www.qapla.com/mods/)
See Post #12 (https://vborg.vbsupport.ru/showthread.php?p=2415719#post2415719) 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! ;)
Ramsesx
04-04-2013, 07:18 AM
Thank you Joe, very useful.
sweetpotato
04-04-2013, 10:40 AM
Thank you. This Mod is very useful for me for now though I will convert my site to Xenforo soon. I can't understand why Vbulletin Team have not released a bug fix for this.
Elenna
04-04-2013, 09:50 PM
THANK YOU! This is much easier than expecting my users to read a how-to. Kudos!
RedTurtle
04-04-2013, 10:28 PM
Thank you for releasing this plugin BirdOPrey5 -- installed it and it is working as described!
Thank you. This Mod is very useful for me for now though I will convert my site to Xenforo soon. I can't understand why Vbulletin Team have not released a bug fix for this.
You need to be more patient. It has only been reported as a bug for about 6 months now. You can't really expect vBulletin devs to fix things that quickly! </sarcasm>
Gladius2007
04-05-2013, 11:34 AM
BOP5 needs to fix the "You must 'Like' someone else's post before liking any more by BirdOPrey5." bug, it's really annoying. :p
BirdOPrey5
04-05-2013, 05:30 PM
Thanks guys... I wish I had thought of it sooner.
This has absolutely nothing to do on if the real fix will or will not be in 4.2.1- I have no inside information on that- just waiting and watching like everyone else.
abdobasha2004
04-06-2013, 04:10 AM
wow... that's coding !
sticky
04-09-2013, 04:59 AM
Installed, thank you! Was driving me crazy.
AusPhotography
04-10-2013, 07:20 AM
Simple and effective! Looks like IE10 wont be in 4.2.1... 4.3 hopefully.
kylek
04-11-2013, 01:44 AM
Thanks for this!!
BirdOPrey5
04-11-2013, 01:50 PM
I've been told by another forum member that simply adding this to the headinclude template will let the WYSIWYG editor work fine by telling IE10 to display as IE9.
<meta http-equiv="X-UA-Compatible" content="IE=9" />
I don't have immediate access to IE10 to test it, but if anyone wants to test, uninstall or disable this mod first.
smirkley
04-11-2013, 03:05 PM
Tested and verified.
sadiq6210
04-13-2013, 10:53 AM
Thanks Joe
At least you care about this bug more than vbulletin by trying to find a solution.
We appreciate that for you
sadiq6210
04-13-2013, 10:55 AM
I've been told by another forum member that simply adding this to the headinclude template will let the WYSIWYG editor work fine by telling IE10 to display as IE9.
<meta http-equiv="X-UA-Compatible" content="IE=9" />
I don't have immediate access to IE10 to test it, but if anyone wants to test, uninstall or disable this mod first.
It is working but all the pages will display as IE9 in IE10
Your plugin is much better :up:
smirkley
04-13-2013, 01:22 PM
It is working but all the pages will display as IE9 in IE10
Your plugin is much better :up:
I do not know of any situation where a vb powered website would even try to render differently in IE10.
The difference is in the WYSIWYG and is strictly mechanical.
BirdOPrey5
04-13-2013, 05:10 PM
It is working but all the pages will display as IE9 in IE10
Your plugin is much better :up:
Whichever you prefer. :)
xPonyx
04-13-2013, 06:25 PM
Greatly appreciate the fix.
squidstir
04-15-2013, 06:33 AM
I too thank you!
stained
04-15-2013, 12:25 PM
Thank you :up:
Goodfather
04-15-2013, 03:37 PM
Thank you for releasing this plugin, installed it and it is working as described!
sticky
05-12-2013, 01:08 PM
Is this still necessary with 4.2.1?
BirdOPrey5
05-12-2013, 01:50 PM
No it is not.
If people still have issues with the editor in 4.2.1 with IE10 they should follow this post- http://www.vbulletin.com/forum/forum/vbulletin-4/vbulletin-4-questions-problems-and-troubleshooting/400766-common-issues-latest-release-4-2-1?p=3963696#post3963696
sticky
05-13-2013, 08:24 PM
No it is not.
If people still have issues with the editor in 4.2.1 with IE10 they should follow this post- http://www.vbulletin.com/forum/forum/vbulletin-4/vbulletin-4-questions-problems-and-troubleshooting/400766-common-issues-latest-release-4-2-1?p=3963696#post3963696
Thank you.
tpearl5
05-14-2013, 01:02 PM
I don't understand why everyone, including vbulletin, is forcing compatibility mode when you can just drop in newer ckeditor files: http://www.vbulletin.com/forum/forum/vbulletin-4/vbulletin-4-questions-problems-and-troubleshooting/424728-what-version-of-ckeditor-is-included-in-an-updated-vb4-2-0
I did and it works better than ever - fixes the IE10 compatibility as well as some really annoying chrome bugs.
bzcomputers
05-14-2013, 01:35 PM
I don't understand why everyone, including vbulletin, is forcing compatibility mode when you can just drop in newer ckeditor files: http://www.vbulletin.com/forum/forum/vbulletin-4/vbulletin-4-questions-problems-and-troubleshooting/424728-what-version-of-ckeditor-is-included-in-an-updated-vb4-2-0
I did and it works better than ever - fixes the IE10 compatibility as well as some really annoying chrome bugs.
I've heard that people have done this and it worked, others have said it causes issues (vBulletin themselves being one of them). You would think if it was as easy as just dropping in files vB would have done it a long time ago. Not being a coder myself I'm a little reluctant to just swap out core and crucial files to the operation of the site, but for those of you willing to, please report back your experiences!
I know I have also seen bugs related to the latest versions of Chrome (dating back to 2012), especially when trying to edit posts, not to mention the IE10 issues.
smirkley
05-14-2013, 01:45 PM
Any IE10 issues can be resolved by forcing IE10 browsers to render in IE9 mode.
It is a shortcut, not a fix, but effective.
add this to your header template...
<meta http-equiv="X-UA-Compatible" content="IE=9" />
BirdOPrey5
05-14-2013, 02:00 PM
I don't understand why everyone, including vbulletin, is forcing compatibility mode when you can just drop in newer ckeditor files: http://www.vbulletin.com/forum/forum/vbulletin-4/vbulletin-4-questions-problems-and-troubleshooting/424728-what-version-of-ckeditor-is-included-in-an-updated-vb4-2-0
I did and it works better than ever - fixes the IE10 compatibility as well as some really annoying chrome bugs.
The cell phone forum in your signature - http://cellphoneforums.net - does not work with IE10 for me... will you share what forum you updated following those instructions?
tpearl5
05-14-2013, 03:30 PM
The cell phone forum in your signature - http://cellphoneforums.net - does not work with IE10 for me... will you share what forum you updated following those instructions?
Actually, I just updated it (forum is running 4.1.12). It should work now. I had previously updated Nikonites which is running 4.1.9
tpearl5
05-14-2013, 03:38 PM
I've heard that people have done this and it worked, others have said it causes issues (vBulletin themselves being one of them). You would think if it was as easy as just dropping in files vB would have done it a long time ago. Not being a coder myself I'm a little reluctant to just swap out core and crucial files to the operation of the site, but for those of you willing to, please report back your experiences!
I know I have also seen bugs related to the latest versions of Chrome (dating back to 2012), especially when trying to edit posts, not to mention the IE10 issues.
If you just upload the 3.6.6 files, no it won't work, but the attachment in the thread I posted has been modified slightly to work with vBulletin.
The Chrome bugs were driving me insane! I'm not sure if this fixes the edit bug though.
Edit: No - the 'go advanced' edit bug is not fixed by this. Specifically, preserving line returns.
BirdOPrey5
05-14-2013, 03:47 PM
Actually, I just updated it (forum is running 4.1.12). It should work now. I had previously updated Nikonites which is running 4.1.9
Sill can't make new lines in IE10- that was the biggest part of the bug IMO.
tpearl5
05-14-2013, 06:31 PM
Sill can't make new lines in IE10- that was the biggest part of the bug IMO.
You sure? I just tested and it worked. ctrl+f5? Those .js files won't reload on their own.
datoneer
05-14-2013, 10:07 PM
Is this included in 4.2.1 version?
tbworld
05-14-2013, 10:48 PM
Is this included in 4.2.1 version?
Yes, it is included in the version 4.2.1
BirdOPrey5
05-15-2013, 11:34 AM
You sure? I just tested and it worked. ctrl+f5? Those .js files won't reload on their own.
It's weird... the forced refresh made it work on the "New Thread" post but quick reply is stuck in "Standard Editor" mode despite many refreshes and even changing to use the WYSIWYG editor by default in General Settings.
Weirder still is the quick editor doesn't even show the icon allowing me to switch back and forth between Standard and WYSIWYG mode even though it does on the full (new thread) editor screen.
tpearl5
05-15-2013, 12:58 PM
It's weird... the forced refresh made it work on the "New Thread" post but quick reply is stuck in "Standard Editor" mode despite many refreshes and even changing to use the WYSIWYG editor by default in General Settings.
Weirder still is the quick editor doesn't even show the icon allowing me to switch back and forth between Standard and WYSIWYG mode even though it does on the full (new thread) editor screen.
Yeah, I noticed that too - I think it has something to do with the guest posting mod I have installed. Are you logged in?
BirdOPrey5
05-15-2013, 01:58 PM
Yes, I was logged in/registered.
dariyos
05-23-2013, 04:00 PM
return does work, but it wysiwyg doesnt work after installing the product.
in the vbulletin settings the wysiwyg editor is activated, but still not working
i want to edit an post, and se only < td > .... and so on..
my version is vb 4.2.0
BirdOPrey5
05-23-2013, 05:24 PM
return does work, but it wysiwyg doesnt work after installing the product.
in the vbulletin settings the wysiwyg editor is activated, but still not working
i want to edit an post, and se only < td > .... and so on..
my version is vb 4.2.0
That is what this product does, force the standard editor.
See Post #12 for a different solution, it lets the editor work in IE10
Try the above for a better fix.
dariyos
05-24-2013, 10:41 AM
i tried this, but now the return button is not working
SuperDave1971
07-07-2013, 04:07 PM
Absolutely Perfect!
Thank you so much!!
tpearl5
02-04-2014, 01:10 AM
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.
ozzy47
02-04-2014, 01:13 AM
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.
Just a question, what vB version and PHP version are you running? Also are you able to reproduce what they are reporting?
BirdOPrey5
02-04-2014, 12:53 PM
If you're running VB 4.2.2 the editor should be working for IE11 users because VB will force IE9 compatibility mode.
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
if (strpos($_SERVER['HTTP_USER_AGENT'], 'Trident/6.0'))To
if (strpos($_SERVER['HTTP_USER_AGENT'], 'Edge'))Note - this is only any good if you are not using this mod to force standard editor for IE.
djbaxter
06-30-2015, 09:11 PM
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
if (strpos($_SERVER['HTTP_USER_AGENT'], 'Trident/6.0'))
To
if (strpos($_SERVER['HTTP_USER_AGENT'], 'Edge/12'))
Note - this is only any good if you are not using this mod to force standard editor for IE.
I'm not clear what you mean by your last statement...
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?
What I mean is if you make the change then it will only force Edge to standard mode and no longer work for IE.
djbaxter
07-02-2015, 06:11 PM
Would this not work for both?
{
if (strpos($_SERVER['HTTP_USER_AGENT'], 'Trident/6.0')) || (strpos($_SERVER['HTTP_USER_AGENT'], 'Edge/12'))
$vbulletin->userinfo['showvbcode'] = 1; //This is the standard editor
}
BadgerDog
05-04-2016, 08:39 AM
Would this not work for both?
{
if (strpos($_SERVER['HTTP_USER_AGENT'], 'Trident/6.0')) || (strpos($_SERVER['HTTP_USER_AGENT'], 'Edge/12'))
$vbulletin->userinfo['showvbcode'] = 1; //This is the standard editor
}
I tried this multiple browser patch and I get a boolean error in "includes"...
PHP error: <b>Parse error</b>: syntax error, unexpected T_BOOLEAN_OR in <b>/usr/www/apache/includes/class_bootstrap.php(103) : eval()'d code</b> on line <b>214</b><br />
Regards,
Doug
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.
//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
}
BadgerDog
05-04-2016, 09:43 AM
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.
//This plugin checks if the user is using Edge, if he or she is, it forces use of the standard editor
global $vbulletin;
//if(!is_member_of($vbulletin->userinfo, 1))
{
if (strpos($_SERVER['HTTP_USER_AGENT'], 'Edge'))
$vbulletin->userinfo['showvbcode'] = 1; //This is the standard editor
}
Thanks .. :)
I'll re-edit the change I made and substitute what you have above..
Regards,
Doug
Paul M
05-04-2016, 10:42 AM
There doesn tseem much point to the if(!is_member_of($vbulletin->userinfo, 1)) statement since you have it commented out.
I Just copy and pasted it from the modified original.
BadgerDog
05-04-2016, 02:26 PM
I Just copy and pasted it from the modified original.
Ok, now I'm confused ... :confused:
Do I leave the line commented out, or make it executable?
Thanks... :)
Regards,
Doug
You can just leave it or delete it, it makes no difference.
BadgerDog
05-05-2016, 08:57 AM
You can just leave it or delete it, it makes no difference.
Thanks .. :)
Left it remarked out.. don't know if it's working or not.. time will tell with Edge members of our site .
Regards,
Doug
Budget101
12-06-2016, 12:39 PM
I've been told by another forum member that simply adding this to the headinclude template will let the WYSIWYG editor work fine by telling IE10 to display as IE9.
<meta http-equiv="X-UA-Compatible" content="IE=9" />
I don't have immediate access to IE10 to test it, but if anyone wants to test, uninstall or disable this mod first.
Yes, that will work, but if you use Async Ads -the will not Render, thus losing revenue.
update: Trident must be updated to 7.0 rather than 6.0 to work
//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'], 'Trident/7.0'))
$vbulletin->userinfo['showvbcode'] = 1; //This is the standard editor
}
edgeless
01-04-2020, 09:01 PM
Well, this mod works fine. But does anyone know how to get the attachment dialog in IE11(+) to indicate the number of files that have been selected for upload (as is shown on other browsers)?
I'm attaching two screenshots, each with 2 files selected. The first is from Chrome 79.0 and the next is from IE11 (Trident 7.0). While the IE11 upload sessions WILL allow multiple attachments and work well otherwise, they fail to display the selected file counts and their dialog rendering looks a bit funky. It's not really a biggy but I'm wondering if anyone knows of a fix?
http://s91586483.onlinehome.us/misc/attachment_dialog_box_Chrome_(79.0).png
http://s91586483.onlinehome.us/misc/attachment_dialog_box_IE11_(Trident7.0).png
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.