collapse

* User Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: Not arcade, member needs to enable javascript.  (Read 4126 times)

0 Members and 1 Guest are viewing this topic.

Offline nend

  • Friend
  • *
  • Posts: 161
  • Karma: 5
    • SICommunity
Re: Not arcade, member needs to enable javascript.
« Reply #15 on: October 16, 2009, 11:33:25 PM »
Well I got to go, in any way does the error look like this?

Code: [Select]
Message: 'J.parentNode' is null or not an object Line: 111 Char: 1913 Code: 0 URI: http://xs.mochiads.com/static/pub/swf/leaderboard.js

« Last Edit: October 16, 2009, 11:35:07 PM by nend »
SMF 2.0 RC2
SMF Arcade 2.5 RC1

SMF 1.1.11
E-Arcade 2.5.9
NEND
SMF Arcade Friend
ASII - PHP - MySql - JavaScript
My Games - My Mods

Offline Polymath

  • BodyGuard
  • Friend
  • *
  • Posts: 331
  • Karma: 14
  • Gender: Male
  • NZ Made
    • GameSocket
Re: Not arcade, member needs to enable javascript.
« Reply #16 on: October 16, 2009, 11:36:07 PM »
That is something to what i got when I installed that FF addon you showed me.

I had no problem with it nend. It all worked good for me and 90% of my members. Some members did not though. My browsers worked on my website. Obviously my browser settings are different to some.

I choose to remove it because if it don't work for some, then to me it don't work for all. It is a visitor thing. I can not direct people to a post on compatibility topic so they can play games. New visitors just will not hang around long enough to read it.

I think that is all it is. Fancy pancy new browsers and settings for new and old. I could have a game load and play, but if I clicked the broken page compatiblity button on my IE browser I got the javascipt enable error.
When people download and install new browsers they choose to have the same settings as IE..so get the same errors across all browsers installed.

I am still at a loss to what the .js problem was. Still a good bridge script. Just is it our side or Mochiads aye?

* I don't suffer from insanity; I enjoy every minute of it. *

Offline jeza

  • Arcade Support Staff
  • *
  • Posts: 1924
  • Karma: 63
  • Gender: Male
    • 1st Maryland Inf
Re: Not arcade, member needs to enable javascript.
« Reply #17 on: October 17, 2009, 02:01:36 PM »
The only thing I can see in that bridge code is what nend said
Quote
<script src="http://xs.mochiads.com/static/pub/swf/leaderboard.js" type="text/javascript"></script>

Its calling an external javascript file.
If theres summit wrong with that file then that would explain the problem.
FF muddles through on errors but IE stops dead.
However, as its an external file you cant fix it.

If your happy about leaving the popup as is, thats fine.
Something though, is killing the $_SESSION['arcade']['popup'] which controls the whole thing.
« Last Edit: October 17, 2009, 02:49:20 PM by jeza »

Offline nend

  • Friend
  • *
  • Posts: 161
  • Karma: 5
    • SICommunity
Re: Not arcade, member needs to enable javascript.
« Reply #18 on: October 17, 2009, 04:53:33 PM »
I know, but I rather fix the problem then junk it. Jeza, you said you where getting the same error on my site too? http://www.sicomm.us

All I want is the details.

Can you post me your...
IE version since it seems IE releated
Javascript version.
Operating System, highly doubt it, but can be.
Adobe Shockwave Flash version.

Only information that I got so far from a little research that this problem is probally not a JavaScript problem. This problem is caused by two calls SWFObject.

Edit found the problem, E-Arcade runs on SWFObect 1.5 which is seriously outdated. The Mochi bridge system runs on SWFObject 2.2. The problem though is when there is a reference to SWFObect 1.5 and SWFObject 2.2 it causes the script to fail.

I found the swfobject.js file in the theme folder, it needs to be edited and brought up to speed.
« Last Edit: October 17, 2009, 05:04:17 PM by nend »
SMF 2.0 RC2
SMF Arcade 2.5 RC1

SMF 1.1.11
E-Arcade 2.5.9
NEND
SMF Arcade Friend
ASII - PHP - MySql - JavaScript
My Games - My Mods

Offline jeza

  • Arcade Support Staff
  • *
  • Posts: 1924
  • Karma: 63
  • Gender: Male
    • 1st Maryland Inf
Re: Not arcade, member needs to enable javascript.
« Reply #19 on: October 17, 2009, 05:37:08 PM »
Well done m8
 :thumb:

Funny how these obscure problems always have a simple solution. But finding the solution is far from simple.
 :)

However, if you need to use swfobject 2.2 its the php code that needs editing to accomodate it as it uses a different format.
« Last Edit: October 17, 2009, 05:42:29 PM by jeza »

Offline nend

  • Friend
  • *
  • Posts: 161
  • Karma: 5
    • SICommunity
Re: Not arcade, member needs to enable javascript.
« Reply #20 on: October 17, 2009, 05:56:26 PM »
Yes your right, swfobject 2.2 needs to be in the header unlike 1.5 which can be called from anywhere.

Well just did the upgrade, tell me if it works now.
http://www.sicomm.us/siforum/index.php?action=arcade;sa=play;game=310

Please work,  ::), lol.
SMF 2.0 RC2
SMF Arcade 2.5 RC1

SMF 1.1.11
E-Arcade 2.5.9
NEND
SMF Arcade Friend
ASII - PHP - MySql - JavaScript
My Games - My Mods

Offline jeza

  • Arcade Support Staff
  • *
  • Posts: 1924
  • Karma: 63
  • Gender: Male
    • 1st Maryland Inf
Re: Not arcade, member needs to enable javascript.
« Reply #21 on: October 17, 2009, 06:13:29 PM »
Works like a dream.
 :)

Offline Polymath

  • BodyGuard
  • Friend
  • *
  • Posts: 331
  • Karma: 14
  • Gender: Male
  • NZ Made
    • GameSocket
Re: Not arcade, member needs to enable javascript.
« Reply #22 on: October 17, 2009, 09:13:15 PM »
Very good indeed nend and jeza :thumb:

I am officially lost.  :D

Would it be worth moving this topic to somewhere since it did become a script thing?
« Last Edit: October 17, 2009, 09:16:06 PM by Polymath »
* I don't suffer from insanity; I enjoy every minute of it. *

Offline Skhilled

  • Friend
  • *
  • Posts: 5260
  • Karma: 64
  • Gender: Male
  • Retro Gamer
    • Doc Skillz
  • Arcade Version: More than one version
  • SMF Version: More than 1 version
Re: Not arcade, member needs to enable javascript.
« Reply #23 on: October 18, 2009, 12:06:07 AM »
Moved as requested. :)

TinyPortal Beta Tester - LogoOff.net Team