|
Post by Sephiroth on Aug 29, 2004 6:39:16 GMT -8
What is "NaN" supposed to mean? Is next to the currency symbol.
|
|
100%
|
Post by Aaron on Aug 29, 2004 7:53:16 GMT -8
Not a Number. Probably an error with the script on your board.
|
|
|
Post by Sephiroth on Aug 29, 2004 12:12:28 GMT -8
Well.... How can i fix it?
|
|
Tovi
New Member
Posts: 6
|
Post by Tovi on Aug 29, 2004 20:23:18 GMT -8
in the gil it say: $nan
|
|
Tovi
New Member
Posts: 6
|
Post by Tovi on Aug 29, 2004 21:38:08 GMT -8
there is a script to money maybe u can put it to me in table? <script> mName = "Money" mSym = "$" pValue = 10 getMini = document.getElementsByTagName("td"); for(i=0;i<getMini.length;i++) { if(getMini[i].width=="20%" && getMini[i].innerHTML.match("Posts")){ miniText = getMini[i].innerHTML.split(":"); for(p=0;p<miniText.length;p++){ if(miniText[p].match("Posts")){ pc = miniText[p+1]; npc = parseInt(pc); mc = npc*pValue getMini[i].innerHTML += '<center><font size="1">' + mName +': ' + mSym + mc + '</font></center>' }}} else if(getMini[i].width=="20%" && getMini[i].innerHTML.match("Guest")){ }} </script>
Last Edit: Aug 29, 2004 21:39:24 GMT -8 by Tovi
|
|
100%
|
Post by Aaron on Aug 30, 2004 13:14:40 GMT -8
Tovi and Sephiroth, I fixed the problem. Grab the script from the first page and it will work. Just tested it on this forum.
:]
|
|
|
Post by Ten Kabuto on Sept 5, 2004 13:52:59 GMT -8
hey i got an idea for this forum use this script and/or make something like it that goes with that script
<script> //Basic level script by ~shadow
//Define post count number for increase. var count="15"
//No need to edit below here
var td=document.getElementsByTagName("TD") for (t=0; t<td.length; t++){ if (location.href.indexOf("action=profile2")!=-1 || location.href.indexOf("action=viewprofile")!=-1){ if (td[t].innerHTML.match(/Posts: (\d+)/i) && td[t].width=="30%"){ var iMath=Math.floor(Math.floor(RegExp.$1)/Math.floor(count)) td[t].innerHTML+="<center><font size=1>Level:</font> "+iMath } } if (td[t].innerHTML.match(/Posts: (\d+)/i) && td[t].width=="20%"){ var iMath=Math.floor(Math.floor(RegExp.$1)/Math.floor(count)) td[t].innerHTML+="<center><font size=1>Level:</font> "+iMath } } </script>
the above goes in all Footers
it adds a cool level-up thingy for your board and goes great with a rpg board
|
|
|
Post by DJGoldpunch on Sept 17, 2004 20:19:08 GMT -8
[size=1IMPORTANT You must change your gender icons to "male.gif" or "female.gif" in order for the code to work. How do i do that? And here are the codes in my main header <table align="center" border="0" width="92%" cellspacing="0" cellpadding="0" class="bordercolor"> <tr> <td> <table cellpadding="4" cellspacing="1" border="0" width="100%"> <tr> <td class="titlebg" align="center" colspan="3"> <font color="000000" size="2"> <b> Info center from this board <b> </font> </td> </tr> <tr> <td width="20%" valign="top" class="windowbg"> <b><u>Info the Guards</u></b>
<p>
<p> Administrators - <a href="http://proboardlinks.proboards7.com/index.cgi?action=viewprofile&username=admin">Link manager</a>
Moderators - ...........
Global Moderators - <a href="http://proboardlinks.proboards7.com/index.cgi?action=viewprofile&username=Ellie">Ellie</a> <p> <p> Have you anny question please klik on the name and <img src="http://4d5.net/boardimages/buttons/message_sm.gif"> pm him/her. </td> <td width="60%" class="windowbg2" valign="top"> <center><img src="http://www.flamingtext.com//clipart/flags/gen/us-lgflag.jpg"></center> </td> <td width="20%" valign="top" class="windowbg"> <b><u>The New Users</u></b>
<marquee width="100%" scrollamount="1" direction="up" loop="true"> 1. <a href="http://proboardlinks.proboards7.com/index.cgi?action=viewprofile&username=admin">Link manager</a>
2. <a href="http://proboardlinks.proboards7.com/index.cgi?action=viewprofile&username=Ellie">Ellie</a>'s sites are: <a href="http://evanpeterfans.proboards28.com">evanpeterfans</a>, <a href="http://drewfullerfans.proboards2.com">drewfullerfans</a>, <a href="http://charmedahr.proboards31.com">charmedahr</a>, <a href="http://victoriapratt.proboards32.com">victoriapratt</a>, <a href="http://thedaysfans.proboards18.com">thedaysfans</a>, <a href="http://hilaryduff17.proboards33.com">hilaryduff17</a>, <a href="http://britneyspears23.proboards28.com">britneyspears23</a> </marquee> </td> </tr> </table> </td> </tr> </table> <center> (<a href="http://proboardlinks.proboards7.com/index.cgi?board=Infocenterfromthisboardscript&action=display&n=1&thread=1095432417">would you like a box like this?</a>) </center> <!-- begin of Clok --> <center><table><tr> <td bgcolor="3B3B3B" height=45> <img src="http://pbs2.supremeserver15.com/images/pbs2clock/dg8.gif" name="hr1"><img src="http://pbs2.supremeserver15.com/images/pbs2clock/dg8.gif" name="hr2"><img src="http://pbs2.supremeserver15.com/images/pbs2clock/dgc.gif" name="c"><img src="http://pbs2.supremeserver15.com/images/pbs2clock/dg8.gif" name="mn1"><img src="http://pbs2.sepremeserver15.com/images/pbs2clock/dg8.gif" name="mn2"><img src="http://pbs2.supremeserver15.com/images/pbs2clock/dgc.gif" name="c"><img src="http://pbs2.supremeserver15.com/images/pbs2clockdg8.gif" name="se1"><img src="http://pbs2.supremeserver15.com/images/pbs2clock/dg8.gif" name="se2"><img src="http://pbs2.supremeserver15.com/images/pbs2clock/dgpm.gif" name="ampm"> </td></tr></table></center>
<script language="javascript"> <!-- start
dg0 = new Image();dg0.src = "dg0.gif"; dg1 = new Image();dg1.src = "dg1.gif"; dg2 = new Image();dg2.src = "dg2.gif"; dg3 = new Image();dg3.src = "dg3.gif"; dg4 = new Image();dg4.src = "dg4.gif"; dg5 = new Image();dg5.src = "dg5.gif"; dg6 = new Image();dg6.src = "dg6.gif"; dg7 = new Image();dg7.src = "dg7.gif"; dg8 = new Image();dg8.src = "dg8.gif"; dg9 = new Image();dg9.src = "dg9.gif"; dgam= new Image();dgam.src= "dgam.gif"; dgpm= new Image();dgpm.src= "dgpm.gif"; dgc = new Image();dgc.src = "dgc.gif";
function dotime(){ theTime=setTimeout('dotime()',1000); d = new Date(); hr= d.getHours()+100; mn= d.getMinutes()+100; se= d.getSeconds()+100; if(hr==100){hr=112;am_pm='am';} else if(hr<112){am_pm='am';} else if(hr==112){am_pm='pm';} else if(hr>112){am_pm='pm';hr=(hr-12);} tot=''+hr+mn+se; document.hr1.src = 'http://pbs2.supremeserver15.com/images/pbs2clock/dg'+tot.substring(1,2)+'.gif'; document.hr2.src = 'http://pbs2.supremeserver15.com/images/pbs2clock/dg'+tot.substring(2,3)+'.gif'; document.mn1.src = 'http://pbs2.supremeserver15.com/images/pbs2clock/dg'+tot.substring(4,5)+'.gif'; document.mn2.src = 'http://pbs2.supremeserver15.com/images/pbs2clock/dg'+tot.substring(5,6)+'.gif'; document.se1.src = 'http://pbs2.supremeserver15.com/images/pbs2clock/dg'+tot.substring(7,8)+'.gif'; document.se2.src = 'http://pbs2.supremeserver15.com/images/pbs2clock/dg'+tot.substring(8,9)+'.gif'; document.ampm.src= 'http://pbs2.supremeserver15.com/images/pbs2clock/dg'+am_pm+'.gif';} dotime(); //end --> </script> <!-- end of Clok --> <!-- begin Hightech profiel --> <script type="text/javascript"> <!-- /* Hi-Tech Mini-Profile v.1.3 - Money Created by Naruto http://hatakeforum.proboards30.com/index.cgi */
// Gender Colors var Female = "pink"; var Male = "lightblue";
// Status Online / Offline Colors var Online = "green"; var Offline = "red";
// Money Info var Currency = "$"; var MoneyName = "Gil";
var TD = document.getElementsByTagName("TD"); for(t=0;t<TD.length;t++){ if(TD[t].width=="20%" && TD[t].vAlign=="top" && TD[t].innerHTML.match(/Posts: (\d+)/gi)){ var Amount = TD[t].innerHTML; var Amount = TD[t].innerHTML.split("Posts"); var Amount = Amount[1].split(":"); var Amount = Amount[1].split(" "); var PostCount = Amount[0]; var Money = parseInt((PostCount * 2.5)); var Info = TD[t].innerHTML.split("<b"+"r>"); if(navigator.appName.match(/Microsoft/i)){ var Info = TD[t].innerHTML.split("<B"+"R>"); } var Posts = Info[13].split(":"); TD[t].cellSpacing="0"; if(Info[12].indexOf("Gender")==-1){ Info[12]="<font size='1'>---</font>"; } if(Info[12].match("female.gif")){ Info[12]="<font color='"+Female+"'>Female</font>"; } if(Info[12].match("male.gif")){ Info[12]="<font color='"+Male+"'>Male</font>"; } if(Info[4].match("online")){ Info[4]="<font color='"+Online+"'>Online</font>"; } if(Info[4].match("offline")){ Info[4]="<font color='"+Offline+"'>Offline</font>"; } TD[t].innerHTML = "<table border='0' cellpadding='2' cellspacing='1' class='bordercolor' align='center' width='100%'><tr><td align='center' class='titlebg' colspan='2'><font size='1'>"+Info[0]+"</font></td></tr><tr><td align='center' class='windowbg2' colspan='2'><font size='1'>"+Info[1]+"</font><br />"+Info[2]+"</td></tr><tr><td align='center' class='windowbg' colspan='2'>"+Info[5]+"<br /><font size='1'>"+Info[7]+"</font></td></tr><tr><td class='windowbg2' width='50%'><font size='1'>Status:</font></td><td class='windowbg2' width='50%'><font size='1'>"+Info[4]+"</font></td></tr><tr><td class='windowbg2' width='50%'><font size='1'>Gender:</font></td><td class='windowbg2' width='50%'><font size='1'>"+Info[12]+"</font></td></tr><tr><td class='windowbg2' width='50%'><font size='1'>Posts:</font></td><td class='windowbg2' width='50%'><font size='1'>"+Posts+"</font></td></tr><tr><td class='windowbg2' width='50%'><font size='1'>"+MoneyName+":</font></td><td class='windowbg2' width='50%'><font size='1'>"+Currency+Money+"</font></td></tr></table><br /><table border='0' cellpadding='2' cellspacing='1' class='bordercolor' align='center' width='100%'><tr><td align='center' class='catbg'><font size='1'><b>Contact</b></font></td></tr><tr><td align='center' class='windowbg2'>"+Info[9]+Info[10]+"</td></tr></table>"; TD[t].innerHTML = TD[t].innerHTML.replace("Posts, ","") }} //--> </script> <!-- end Hightech profiel --> What is rong white it?
Last Edit: Sept 17, 2004 20:32:44 GMT -8 by DJGoldpunch
|
|
100%
|
Post by Aaron on Sept 17, 2004 20:41:03 GMT -8
The code goes into the ALL FOOTERS. To make your gender icons male.gif/female.gif, go to Customize Board Images in admin and replace your current icons to " . This will reset it back to the default pb ones and the code will work.
|
|
|
Post by DJGoldpunch on Sept 17, 2004 20:49:56 GMT -8
The code goes into the ALL FOOTERS. To make your gender icons male.gif/female.gif, go to Customize Board Images in admin and replace your current icons to " . This will reset it back to the default pb ones and the code will work. Oke it works verry good now thx but what can i do white the gil $... ?
|
|