| I need help! | |
|---|---|
| Tweet Topic Started: May 20 2006, 07:42 AM (135 Views) | |
| dark master | May 20 2006, 07:42 AM Post #1 |
|
On My board?I want to have money but I don't know the code,So Please if you sign up and know the code pm king nintendo and i'll make you an admin. thank you |
| |
![]() |
|
Krushrpants
|
May 21 2006, 12:10 PM Post #2 |
![]()
|
The code is this: <script type="text/javascript"> // Money code // By Gornakle of InvisionFree.com sign = '' name = 'Name of the currency here' PerPost = 0 default_amount =0 MID=[] MID["Example Person"]="30" MID["add other people here"]="Number of amt of currency that person has goes here" // No need to edit below this line function injectMoney() { d = document.getElementsByTagName('td'); for( i in d ) { dc = d.className; if(/post(1|2)/.test(dc) && d.width != '100%') { span = d.getElementsByTagName('span')[0]; s = d.getElementsByTagName('span')[0].innerHTML; pcount = /Posts: ([\d|,| |.]+)</.exec(s)[1]; pcount = parseInt(pcount.replace(/[^\d]/g,'')); uname = d[i-2].innerHTML.replace(/<[^>]+>/g,'').replace(/ /g,''); if(MID[uname]) money = (parseInt(MID[uname]) + (pcount * PerPost)) + parseInt(default_amount); else money = (pcount * PerPost) + parseInt(default_amount); if(s.match('<!-- placeholder -->')) { span.innerHTML = s.replace("<!-- placeholder -->", name + ": " + sign + money + "<br><!-- placeholder -->"); continue; } newHTML = name + ": " + sign + money + "<br><!-- placeholder -->"; span.innerHTML = s.replace(/(Joined: [^<]+)/, '$1<br><br>' + newHTML.replace(/\$/, '&#'+'36;')); }}} injectMoney(); </script> <center>Skin selector developed by XJONX. Skins created by various members of the <a href="http://www.ifskinzone.net" target="_blank">IF Skin Zone</a></center> <!-- START OF ADDME LINK --> <font size="2"><a href="http://www.addme.com">AddMe.com, Search Engine Optimization and Submission</a></font> <!-- END OF ADDME LINK --> ------- The things in red are the only things you really need to edit... and it goes under board wrappers and footer on the admin cp
|
![]() 240forum | |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Suggestions and Tech Support Board · Next Topic » |











