inherit
62604
0
Jul 2, 2012 15:25:29 GMT -8
killswitcher
205
October 2005
killswitcher
|
Post by killswitcher on Jan 1, 2006 15:24:01 GMT -8
|
|
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 Jan 1, 2006 15:35:45 GMT -8
Could you explain a little bit more about what's wrong? Right now the only thing i see wrong with your PM system is that you didn't put the URL's to your images in the code. Go back to where you got the PM code and get support on it.
|
|
inherit
62604
0
Jul 2, 2012 15:25:29 GMT -8
killswitcher
205
October 2005
killswitcher
|
Post by killswitcher on Jan 1, 2006 17:19:59 GMT -8
I didnt get any code from anywere , is there not a default code ? you see when i try to veiw PMS it says invalid, add module call
|
|
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 Jan 1, 2006 19:10:16 GMT -8
The PM code is part of the template you downloaded. I'll edit the code so it will work but you need to replace the parts of the code that i have bolded with the correct URL's. Check at the board where you got your skin from for help on that part. <script type="text/javascript"> <!-- // Made by Marty and Naruto // Revalutionized by NCGI (Uchiha Sasuke) and Blade iTD=document.getElementsByTagName('TD'); var guest=iTD[2].innerHTML.match(/Welcome/i); var checknone=iTD[2].innerHTML.match(/ 0 /i); var checkone=iTD[2].innerHTML.match(/ 1 /i); if(guest){} else{var amount=iTD[2].innerHTML.split(', ')[3].split(' are new.')[0];} var aTable=document.getElementsByTagName('TABLE'); for(i=0;i<aTable.length;i++){ if(aTable.cellSpacing=="0" && aTable.cellPadding=="3"){ var row=aTable.insertRow(1); var col=row.insertCell(0); row.className="pmbarbg" col.align="center" aTable.cellSpacing="0" if(guest){ col.innerHTML='<div align="left"><img src="YOURHOST.COM/other/nopm.gif" style="cursor: hand;" onclick="window.location=\'index.cgi?action=login\'" border="0"></a></div>' } else{ if(checknone){ col.innerHTML='<div align="left"><img src="YOURHOST.COM/other/nopm.gif" style="cursor: hand;" onclick="window.location=\'index.cgi?action=pm\'" onmouseover="window.status=\'You Have No New PMs\'" alt="You Have No New PMs" onmouseout="window.status=\'YOUR SITE\'" border="0"></div>' } else if(checkone){ col.innerHTML='<div align="left"><img src="YOURHOST.COM/other/newpm.gif" style="cursor: hand;" onclick="window.location=\'index.cgi?action=pm\'" onmouseover="window.status=\'You Have 1 New PM\'" alt="You Have 1 New PM" onmouseout="window.status=\'YOUR SITE\'" border="0"></div>' } else { col.innerHTML='<div align="left"><img src="YOURHOST.COM/other/newpm.gif" style="cursor: hand;" onclick="window.location=\'index.cgi?action=pm\'" onmouseover="window.status=\'You Have '+amount+' New PMs\'" alt="You Have '+amount+' New PMs" onmouseout="window.status=\'YOUR SITE\'" border="0"></div>' }}}} // --> </script>
|
|