You logged in as Guest
Login:
Recent messages · Members · Forums rules · FAQ · SEARCH Registration · Log in

Page 1 of1
UcoZ Community » UcoZ System management and tuning » General questions » forum money
forum money
kevinman5239Date: Sunday, 2007-09-02, 3:11 Pm | Message # 1
Newbie
Group: Checked
Messages: 17
Reputation: 0 [0%]
Status: Offline
ok i found this code
Code
<script type="text/javascript">
<!-- Simple Money Code

function renderMoney()
{
var td = document.getElementsByTagName("TD")
for(var i = 0; i < td.length; i++)
if((td[i].className == "post1" || td[i].className == "post2") && td[i].innerHTML.match(/Posts: \\d+/i))
td[i].innerHTML += "<br />Money: $" + parseInt(td[i].innerHTML.match(/Posts: (\\d+)/i)[1]) * 15
}

renderMoney()

// -->
</script>

it is suppose to put fake money system in the forum but i don't know where to put it. can someone help me

Message edited by kevinman5239 - Sunday, 2007-09-02, 3:18 Pm
 
AdminDate: Sunday, 2007-09-02, 7:42 Pm | Message # 2
Admin
Group: Administrators
Messages: 15
Reputation: 6 [2%]
Status: Offline
Suppose, this code can be added just before
 
kevinman5239Date: Friday, 2007-09-14, 7:25 Pm | Message # 3
Newbie
Group: Checked
Messages: 17
Reputation: 0 [0%]
Status: Offline
What? i need to know, do i put it in site pages template,forum>common veiw of forum pages, or forum>apperence of materials. and then where do i put it in the template. i'm so confused cry

Added (2007-09-04, 5:58 Pm)
---------------------------------------------
bump

Added (2007-09-06, 8:25 Am)
---------------------------------------------
well if this code doesn't work, is there anyway to get money on the forum

Added (2007-09-14, 7:25 Pm)
---------------------------------------------
wont anyone answer this

Message edited by kevinman5239 - Thursday, 2007-09-06, 8:25 Am
 
CerszoDate: Saturday, 2007-09-15, 1:14 Pm | Message # 4
Constant
Group: Checked
Messages: 115
Reputation: 2 [0%]
Status: Offline
kevinman5239,
Quote (kevinman5239)
do i put it in site pages template,forum>common veiw of forum pages, or forum>apperence of materials

common veiw of forum pages
Quote (kevinman5239)
well if this code doesn't work, is there anyway to get money on the forum

search the web

Shoot me if you can
 
kevinman5239Date: Tuesday, 2007-10-02, 3:32 Pm | Message # 5
Newbie
Group: Checked
Messages: 17
Reputation: 0 [0%]
Status: Offline
ok well i found a new on not too sure it works on ucoz because this is for invision boards but if it does work, what do i put in to make it visable, like what do i put inbetween $here$
Code
<script type="text/javascript">
// Money code
// By Gornakle of InvisionFree.com

sign = ''
name = 'Stars'
PerPost = 0
default_amount =0

MID=[]
MID["DS_MANAIC"] = 1000
MID["Resolute"] = 20
MID["NINTENDOG64"] = 20
MID["Linkman178"] = 20
MID["FanBoogle"] =20
// No need to edit below this line

function injectMoney() {
d = document.getElementsByTagName('td');
for( i in d ) {
dc = d[i].className;
if(/post(1|2)/.test(dc) && d[i].width != '100%') {
span = d[i].getElementsByTagName('span')[0];
s = d[i].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>

Added (2007-09-23, 8:12 Pm)
---------------------------------------------
well anyway i found another way to get forum money. it's with a cash mod from this site http://www.zarath.com/mods.php?action=mods, is there anyway to get them on a ucoz forum? please answer this

Added (2007-09-27, 5:11 Pm)
---------------------------------------------
Please Help

Added (2007-10-02, 3:32 Pm)
---------------------------------------------
Any way to do it

 
Sh4d0WDate: Saturday, 2007-11-03, 12:09 Pm | Message # 6
Regular
Group: Checked
Messages: 73
Reputation: 0 [0%]
Status: Offline
Admin,
What is forum money? what does it? i still can't understand what do that ... can someone explain it to me? thx

--> Nokia - Confusing People <--
 
UcoZ Community » UcoZ System management and tuning » General questions » forum money
Page 1 of1
Search: