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.

 

Conflict between metamod and AllVideosReloaded ??

Conflict between metamod and AllVideosReloaded ??

Hi there,

If I combine metamod and AllVideosReloaded I am getting this error message in firebug.

Expected ':' but found 'undefined'. Declaration dropped.

- If I use the same code in metamod replacing the AllVidoesReloaded module with something else the error goes away.
- If I load the same AllVideosReloaded module without Metamod, in the same position, the error goes away.

I have JS 1.5.14
Metamod 1.5g
AllVideosReloaded 1.2.6

Any ideas what this might be?

Note:  My code is just checking for the browser version ....

$UA = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : '';
$SF = strstr($UA, 'Safari') ? true : false;
$OP = strstr($UA, 'Opera') ? true : false;
$OPV = $OP ? preg_split('/opera\//i', $UA) : false;
$OPV = $OPV ? floatval($OPV[1]) : false;

$FF = !$OP && strstr($UA, 'Firefox') ? true : false;
$FFV = $FF ? preg_split('/firefox\//i', $UA) : false;
$FFV = $FFV ? floatval($FFV[1]) : false;

$IE = strstr($UA, 'MSIE') ? true : false;
$IEV = $IE ? preg_split('/msie/i', $UA) : false;
$IEV = $IEV ? floatval($IEV[1]) : false;

if ($IEV >= 7) return 385; // any version of IE greater or equal to 7
if ($FF) return 385; // any version of Firefox
if ($OP) return 385; // any version of Opera
if ($SF) return 385; // any version of Safari
return 374;

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

Re: Conflict between metamod and AllVideosReloaded ??

I looked into this, and found that MetaMod was not involved at all -- the Javascript warning (not even an error) message displayed was a result of another module on the page, nothing to do with MetaMod.

MetaMod seems to be working perfectly well with AV Reloaded.

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
3313 Posts
User info in posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
1679
Total Polls:
6
Total Posts:
5913
Dormant:
User Info:
 
Total Users:
10796
Newest User:
mokao3
Members Online:
0
Guests Online:
108

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