inherit
55687
0
Jan 2, 2023 9:31:02 GMT -8
Ollie
83
August 2005
oliverclews
|
Post by Ollie on Sept 25, 2005 11:34:13 GMT -8
Forum URL: christmasworld.proboards37.comFor soem strage reson. I have installed a new admin area editabel portal on my forum but when i click on it i get An Error Has Occurred Invalid addModule call. The person who made it doesnt get any erros and uses the same browser. He can see it fine. Anyoen know how to fix it? Oliver
|
|
Aaron
Full Member
Banned
Technical Support
Posts: 927
inherit
Banned
52403
0
Jan 4, 2006 12:46:36 GMT -8
Aaron
Technical Support
927
July 2005
asa201
|
Post by Aaron on Sept 25, 2005 12:46:45 GMT -8
first of all please check that you have copied the full code and you have no open areas, if this proves to be ok check that you have entered the code in the same board.
addModule call
This is usually a coding error
|
|
inherit
The Jedi Master of Proboards PBS Oscars: Most Unique
6777
0
Nov 19, 2012 0:15:08 GMT -8
Tommy Huynh
Coffee isn't my cup of tea.
19,374
January 2003
swg2
|
Post by Tommy Huynh on Sept 25, 2005 16:30:01 GMT -8
<script type="text/javascript"> <!-- /* PM Center Above Banner © tu advanced - 2004-2005 ngmaster.proboards21.com */
var pmClass = "menubg" // Class Name of PM Bar
getTable = document.getElementsByTagName("table")[0]; getTD = document.getElementsByTagName("td")[2]; getName = (getTD.innerHTML.match(/Hey, (.+?),/i)) ? RegExp.$1:false; pmRow = getTable.insertRow(0).insertCell(0); pmRow.align = "right"; pmRow.className = pmClass; pmRow.style.padding = "3px"; if(getTD.innerHTML.match(/(\d+) (is|are) new./i)) { if(RegExp.$1=="1") { m = "Private Message"; } else { m = "Private Messages"; } pmRow.innerHTML = "<table width='100%' cellpadding='0' cellspacing='0'><tr><td align='left'><font size='1'><a href='?action=imsend'><b>Send New PM</b></a> - <a href='?action=im'>Inbox</a> - <a href='?action=im&view=2'>Outbox</a> - <a href='?action=imprefs'>Preferences</a></font></td><td align='right'><font size='1'>Hello " + getName + ". You have <a href='?action=im'><b>" + RegExp.$1 + "</b></a> new " + m + ".</font>"; } else if(getTD.innerHTML.match(/Welcome Guest/i)) { pmRow.innerHTML = "<font size='1'>Welcome Guest. Please <a href='?action=login'>Login</a> or <a href='?action=register'>Register</a> to use this feature.</font>"; } //--> </script>Change the red to action=pm
|
|