Welcome to the MetaMod and Chameleon Support Forums.

Before posting, please check out the FAQs.

helpme

 

Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.

 

Found (and Solved) an Internet Explorer Issue

Found (and Solved) an Internet Explorer Issue

I think I found (and solved!) an Internet Explorer version detection issue.

I found that it couldn't detect between different versions, if I set a rule for IE6 it also got triggered in IE8 and vice versa.

In extendedrules.php I changed three lines and it works now.  The original code was:

            if ($b == "ie" and MM_BROWSER_IE == true) return true;
            if ($b == "ie6" and MM_BROWSER_IE == true and MM_BROWSER_IE <= 6) return true;
            if ($b == "ie7" and MM_BROWSER_IE == true and MM_BROWSER_IE == 7) return true;
            if ($b == "ie8" and MM_BROWSER_IE == true and MM_BROWSER_IE == 8) return true;

I think it's supposed to be:

            if ($b == "ie" and MM_BROWSER_IE == true) return true;
            if ($b == "ie6" and MM_BROWSER_IE == true and MM_BROWSER_IE_VERSION <= 6) return true;
            if ($b == "ie7" and MM_BROWSER_IE == true and MM_BROWSER_IE_VERSION == 7) return true;
            if ($b == "ie8" and MM_BROWSER_IE == true and MM_BROWSER_IE_VERSION == 8) return true;

It's working for me anyway.

torske
Beginner Modder
ranks
useravatar
Offline
1 Posts
Administrator has disabled public posting

Re: Found (and Solved) an Internet Explorer Issue

Oouch!!! how did that every get through testing... I'll re-release that with the fix, first thing next week.

Thanks for the heads-up, I really appreciate it.

Cheers,
Stephen

Stephen Brandon
MetaMod / Chameleon developer
If you use MetaMod or Chameleon, please post a rating and a review at the Joomla! Extensions Directory: Chameleon | MetaMod

metamodguy
useravatar
Offline
3328 Posts
User info in posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
1679
Total Polls:
6
Total Posts:
5933
Posts this week:
4
User Info:
 
Total Users:
4384
Newest User:
rash39381
Members Online:
0
Guests Online:
173

Online: 
There are no members online

Forum Legend:

 Topic
 New
 Locked
 Sticky
 Active
 New/Active
 New/Locked
 New Sticky
 Locked/Active
 Active/Sticky
 Sticky/Locked
 Sticky/Active/Locked