Central European Time - DST

Welcome, Guest.
carstensyabb
modforum
Forgot password?     Register!        
Page Index Toggle Pages: 1
IE10 Issue - Help
Read 899 times
 

Offline Derek Bullock
YaBB Friend
***
Posts: 275
     
 
IE10 Issue - Help
21. Nov 2012 at 13:19
 
Everyone.

Member on my forum is using IE10 and on the reply area the check box for auto clipboard is permanently ticked. He cannot remove the check.

I cannot find a setting anywhere.

Is this a YaBB issue or IE10???

Anyone know how to fix it.

Cahere.JPG
 
 

COCIACHAT.gif
IP Logged    
 
     

Offline depablo
Full Member
***
Posts: 111
     
 
Re: IE10 Issue - Help
Reply #1 - 21. Nov 2012 at 16:50
 
The text is in Languages, English, Post.lng in line 160 / 170

Still looking to see how you enable / disable it?

Has the user tried another browser?
 
 
 
IP Logged    
 
     

Offline Carsten
Administrator
*****
Posts: 997
     
 
Re: IE10 Issue - Help
Reply #2 - 21. Nov 2012 at 17:39
 
It's a YaBB issue - bad implementation of the $ENV{'HTTP_USER_AGENT'} regex test pattern.

In Post.pl find 3 instances of
CodeSelect All
	if ($ENV{'HTTP_USER_AGENT'} =~ /(MSIE) (\d)/) { 



and replace them with
CodeSelect All
	if ($ENV{'HTTP_USER_AGENT'} =~ /(MSIE) ([\d]+)/) { 

 
 

Smiley If you knock your head against a brick wall and hear a hollow sound, it's not necessarily coming from the wall.
  WWWGtalkFacebook
IP Logged    
 
     

Offline Derek Bullock
YaBB Friend
***
Posts: 275
     
 
Re: IE10 Issue - Help
Reply #3 - 21. Nov 2012 at 23:02
 
Quote - Carsten wrote on 21. Nov 2012 at 17:39
It's a YaBB issue - bad implementation of the $ENV{'HTTP_USER_AGENT'} regex test pattern.

In Post.pl find 3 instances of
CodeSelect All
      if ($ENV{'HTTP_USER_AGENT'} =~ /(MSIE) (\d)/) { 



and replace them with
CodeSelect All
      if ($ENV{'HTTP_USER_AGENT'} =~ /(MSIE) ([\d]+)/) { 



Correct as always Carsten. You are a gentleman.

Many thanks
 
 

COCIACHAT.gif
IP Logged    
 
     

Offline Bill Myers
YaBB Friend
***
Posts: 402
     
 
Re: IE10 Issue - Help
Reply #4 - 22. Nov 2012 at 09:00
 
Thank you Derek for letting us know about this problem, and thank you Carsten for providing the solution. To date, this problem hasn't been reported in our forum, so I didn't know it existed, especially since I haven't used IE10 with Windows 8. For the most part I use Firefox, and I'm still using Windows 7.

I made the suggested edits anyway, and everything seems to be working as it should. Thanks again!  Smiley
 
 

Morning, noon, or night, have a great one! dansing.gif
IP Logged    
 
     

Offline Carsten
Administrator
*****
Posts: 997
     
 
Re: IE10 Issue - Help
Reply #5 - 22. Nov 2012 at 17:32
 
Quote - Carsten wrote on 21. Nov 2012 at 17:39
Correct as always Carsten. You are a gentleman.

Many thanks

One gentleman to another: You are welcome Derek.


To explain why the 'old' regex doesn't work for IE 10. The pattern only looks for one digit (\d) which means it work nicely for versions less than 10 - but for version 10 and larger it'll only see the first digit - in this case it'll assign the digit 1 to the system variable $2 making the script think you are using IE 1 Shocked

The 'new' pattern looks for one or more digits ([\d]+).
 
 
« Last Edit: 22. Nov 2012 at 17:37 by Carsten »  

Smiley If you knock your head against a brick wall and hear a hollow sound, it's not necessarily coming from the wall.
  WWWGtalkFacebook
IP Logged    
 
     

Offline Dandello
Mod Writer
***
Posts: 600
     
 
Re: IE10 Issue - Help
Reply #6 - 05. Jan 2013 at 16:31
 
Excellent bug-fix, as always, Carsten  Smiley
 
 

If you have only one solution to a problem, you're not trying!
 
IP Logged    
 
     
Page Index Toggle Pages: 1
Previous Topic - Mod troublesNext Topic - HTML in Posts not working  
Carsten's YaBB Mod Forum » Powered by YaBB 2.4!
YaBB © 2000-2009. All Rights Reserved.