Closed PhilCCMG closed 8 years ago
Hi there,
Can you let me know the site ID you're using? Can you double-check that the shared secret in the admin control panel is exactly correct (how did you verify your domain)?
Could you link to the site where association is enabled?
Cheers.
/cc @lukegb
I verified with the link provided
The Site ID is www.stygianmc.com
I verified with "www.stygianmc.com"
<script type="application/javascript">
/*! Written by lukegb. See https://github.com/lukegb/mcassoc.php */
var MCAssoc=function(){var e={baseurl:"https://mcassoc.lukegb.com/"};var t;e.init=function(e,n,r,i,s){t=document.getElementById("mcassoc");i=i||null;this.url=this.baseurl+"perform?";var o={siteid:e,key:n,postback:r,mcusername:i};if(s!=null){o["c:bdr:b"]=s.borderBg;o["c:bdr:t"]=s.borderFg;o["c:box:b"]=s.boxBg;o["c:box:t"]=s.boxFg;o["c:mn:b"]=s.contentBg;o["c:mn:t"]=s.contentFg}var u="";for(var a in o){if(!o.hasOwnProperty(a))continue;var f=o[a];if(f){if(u!="")u+="&";u+=encodeURIComponent(a)+"="+encodeURIComponent(f)}}this.url+=u;t.src=this.url};return e}()
MCAssoc.init("stygianmc.com", "bG9sNzY4DLsKInPXnNz7kjG0QezFBamdG7c=", "http://www.stygianmc.com/index.php?mc-association/confirm&stage=3&username=lol768", "lol768", {"borderBg":"#efefef","borderFg":"#efefef","boxBg":"#efefef","boxFg":"#efefef","contentBg":"#efefef","contentFg":"#efefef"});
</script>
To me, it looks like the site ID is set to "stygianmc.com" and not "www.stygianmc.com". Can you check this in the ACP?
That fixed it. Thanks!
Hi
I get this error on my forums
My site ID is the exact domain I used to verify.