inherit
73917
0
Apr 3, 2016 11:10:40 GMT -8
Jamesy
389
March 2006
jamesy06uk
|
Post by Jamesy on Mar 12, 2006 19:00:34 GMT -8
Forum URL: kurtcantona.proboards92.comOK, I have updated my forum with a new skin, and everything works fine......until I go to check my PM's, when the following error appears: An Error Has Occurred Invalid addModule call. Any ideas what this means? Also, I get an IE error box, but I don't think thats involved coz I get them for almost every website I visit! Anyways, anyone got any clues how I could fix this addmodule thingy? Cheers in advance Jamie
|
|
inherit
Proboards Legend
12897
0
Oct 16, 2016 6:49:45 GMT -8
Snakeair
I don't know what to write here.
40,721
August 2003
snakeair
|
Post by Snakeair on Mar 12, 2006 19:05:40 GMT -8
Forum URL: kurtcantona.proboards92.comOK, I have updated my forum with a new skin, and everything works fine......until I go to check my PM's, when the following error appears: An Error Has Occurred Invalid addModule call. Any ideas what this means? Also, I get an IE error box, but I don't think thats involved coz I get them for almost every website I visit! Anyways, anyone got any clues how I could fix this addmodule thingy? Cheers in advance Jamie In your header find this code. <script> // by fla5hba5h // http://www.fla5hba5h.tk // Modified by Imusion for Liquify // http://imusion.net var nonewpms=document.body.createTextRange().findText("0 are new")||document.body.createTextRange().findText("Welcome Guest") var tables=document.getElementsByTagName("table") var tds=document.getElementsByTagName("td") tds[0].innerHTML="" tds[3].className="" tds[3].style.backgroundColor="transparent" tables[0].cellSpacing="0"; tables[0].style.backgroundColor="transparent" tables[2].cellPadding="0"; tds[3].innerHTML="<table cellpadding=0 cellspacing=0><tr><td><center><img border=0 src='http://imusion.net/forumskins/pb/3/header.png' usemap=#pms></center></td></tr><tr><td class=menubg align=center valign=bottom width=700 height=20>"+tds[1].innerHTML+"</td></tr></table>" var imgs = document.getElementsByTagName("img"); for(x=0;x<imgs.length;x++){ imgs[x].onmouseover = function(){this.src=this.src.replace('/Buttons/','/Buttons/Rolls/');}; imgs[x].onmouseout = function(){this.src=this.src.replace('Buttons/Rolls/','/Buttons/');}; } if (!nonewpms&&!location.href.match('action=im')){ checkpm=confirm('You have new messages. Click OK to view them.') if (checkpm) {location.href="/index.cgi?action=im"} } document.write('<map name=pms><AREA SHAPE="poly" COORDS="41,112,97,112,97,123,40,123,40,112,41,112" href=/index.cgi?action=im title="Check Inbox" ></map>') </script> And replace it with this code below. <script> // by fla5hba5h // www.fla5hba5h.tk // Modified by Imusion for Liquify // imusion.net var nonewpms=document.body.createTextRange().findText("0 are new")||document.body.createTextRange().findText("Welcome Guest") var tables=document.getElementsByTagName("table") var tds=document.getElementsByTagName("td") tds[0].innerHTML="" tds[3].className="" tds[3].style.backgroundColor="transparent" tables[0].cellSpacing="0"; tables[0].style.backgroundColor="transparent" tables[2].cellPadding="0"; tds[3].innerHTML="<table cellpadding=0 cellspacing=0><tr><td><center><img border=0 src='http://imusion.net/forumskins/pb/3/header.png' usemap=#pms></center></td></tr><tr><td class=menubg align=center valign=bottom width=700 height=20>"+tds[1].innerHTML+"</td></tr></table>" var imgs = document.getElementsByTagName("img"); for(x=0;x<imgs.length;x++){ imgs[x].onmouseover = function(){this.src=this.src.replace('/Buttons/','/Buttons/Rolls/');}; imgs[x].onmouseout = function(){this.src=this.src.replace('Buttons/Rolls/','/Buttons/');}; } if (!nonewpms&&!location.href.match('action=pm')){ checkpm=confirm('You have new messages. Click OK to view them.') if (checkpm) {location.href="/index.cgi?action=pm"} } document.write('<map name=pms><AREA SHAPE="poly" COORDS="41,112,97,112,97,123,40,123,40,112,41,112" href=/index.cgi?action=pm title="Check Inbox" ></map>') </script>
|
|
inherit
73917
0
Apr 3, 2016 11:10:40 GMT -8
Jamesy
389
March 2006
jamesy06uk
|
Post by Jamesy on Mar 12, 2006 19:19:51 GMT -8
very nice, thank you muchly!
So that was the error, in my code it had "im" rather than "pm" twice? Well spotted, cheers for your help Snakeair!
Jamie
|
|
inherit
Proboards Legend
12897
0
Oct 16, 2016 6:49:45 GMT -8
Snakeair
I don't know what to write here.
40,721
August 2003
snakeair
|
Post by Snakeair on Mar 12, 2006 19:20:54 GMT -8
Yes that was the error. That PM code was from Version 3 of proboards. Just needed 3 changes to it to work.
|
|
inherit
73917
0
Apr 3, 2016 11:10:40 GMT -8
Jamesy
389
March 2006
jamesy06uk
|
Post by Jamesy on Mar 12, 2006 19:28:05 GMT -8
see, thats the sort of thing I aint got a clue about as I'm brand new to this!
Cheers for your help again man
J
|
|
inherit
Proboards Legend
12897
0
Oct 16, 2016 6:49:45 GMT -8
Snakeair
I don't know what to write here.
40,721
August 2003
snakeair
|
Post by Snakeair on Mar 12, 2006 19:28:35 GMT -8
Your welcome.
|
|