gfxgfx
 
logo
 
gfx gfx
gfx
975797 Posts in 138943 Topics by 6362 Members - Latest Member: Bmxflex November 16, 2024, 01:45 AM
*
gfx* Home | Portal | Forum | Merchandise | Help | Login | Register | gfx
gfx
RADBMX.CO.UK  |  Forum  |  Q&A, Ideas & Feedback  |  Money
gfx
gfxgfx
 

Author Topic: Money  (Read 1205 times)

0 Members and 2 Guests are viewing this topic.

Darkshadow

  • Guest
Money
« on: February 04, 2006, 02:43 PM »
tricky

there is a code for forum money which u get every time u post

here
Quote
<script language="javascript" type="text/javascript">
<!--//Improved Money Hack - by Markup
moneyName="Dosh"
moneySign="$"
postMoney=50
document.write("<span id=login></span>")
if(document.getElementById("userlinks").innerHTML.match("admin.php")&&document.cookie.match("user="))
isAdmin=true
else isAdmin=false
home="http://"+location.hostname+location.pathname
c=0
form=document.forms
for(i=0;i<form.length;i++)
for(n=0;n<form.elements.length;n++)
if(form.elements[n].name=="UserName")
{
UserName=form.elements["UserName"]
PassWord=form.elements["PassWord"]
form.onsubmit=function(){document.cookie="user="+escape(UserName.value)+"; expires="+new Date("01/01/2010").toGMTString();document.cookie="pass="+escape(PassWord.value)+"; expires="+new Date("01/01/2010").toGMTString()}
break
break
}
if(location.href.match("showuser"))
{
memNo=location.href.match(/showuser=(\d+)/)[1]
td=document.getElementsByTagName("TD")
for(i=0;i<td.length;i++)
if(td.className=="row3"&&td.innerHTML.match("Total Cumulative Posts"))
{
posts=parseInt(td[i+1].getElementsByTagName("B")[0].innerHTML.replace(/,/g,""))
nRow=td.parentNode.parentNode.parentNode.insertRow(td.parentNode.rowIndex+2)
nCell=nRow.insertCell(0)
nCell.className="row3"
nCell.align="left"
nCell.innerHTML=""+moneyName+""
nCell=nRow.insertCell(1)
nCell.className="row1"
nCell.vAlign="top"
nCell.innerHTML=""+moneySign+posts*postMoney+""
isAdmin?nCell.innerHTML+="&nbsp;<a href='javascript:adjust(false)'>[img width= height= alt=Minus]http://webpost.net/ma/markup/minus.GIF[/img][/url]&nbsp;<a href='javascript:adjust(true)'>[img width= height= alt=Plus]http://webpost.net/ma/markup/plus.GIF[/img][/url]":false
break
}
}
span=document.getElementsByTagName("SPAN")
for(i=0;i<span.length;i++)
if(span.className=="postdetails"&&span.innerHTML.match("Posts: "))
{
posts=parseInt(span.innerHTML.match(/Posts: (-*[\d,]+)/)[1].replace(/,/g,""))
nCont="<P>"+moneyName+": "+moneySign+posts*postMoney
if(isAdmin)
{
tr=span.parentNode.parentNode
memNo=tr.parentNode.parentNode.rows[tr.rowIndex-1].cells[0].innerHTML.match(/showuser=(\d+)/)[1]
nCont+="&nbsp;<a href='javascript:adjust(false,"+memNo+","+posts+")'>[img width= height= alt=Minus]http://webpost.net/ma/markup/minus.GIF[/img][/url]&nbsp;<a href='javascript:adjust(true,"+memNo+","+posts+")'>[img width= height= alt=Plus]http://webpost.net/ma/markup/plus.GIF[/img][/url]"
}
span.innerHTML+=nCont
}
function adjust(mode,no,pMon)
{
if(no&&pMon)
{
memNo=no
posts=pMon
}
change=mode?prompt("Amount to add:",postMoney):prompt("Amount to remove:",postMoney)
if(!mode)
change="-"+change
change=parseInt(change)
change=posts+Math.ceil(change/postMoney)
if(!isNaN(change))
{
loading()
document.getElementById("login").innerHTML="<iframe name=adminCP src="+home+"?act=UserCP style=display:none></iframe>"
}
}
function loading()
{
message="Connecting to Admin CP...Please Wait..."
c++
status=message.substr(0,c)
if(c==message.length)
c=0
setTimeout("loading()",100)
}
if(self!=top&&location.href==home+"?act=UserCP")
{
document.write("<form action="+location.href.substr(0,location.href.lastIndexOf("/"))+"/admin.php method=post name=theAdminForm><input type=hidden name=adsess><input type=hidden name=login value=yes><input type=hidden name=username value="+unescape(document.cookie.match(/user=([^;]*)/)[1])+"><input type=hidden name=password value="+unescape(document.cookie.match(/pass=([^;]*)/)[1])+">")
parent.wait(1)
document.forms['theAdminForm'].submit()
}
function wait(rep)
{
ACP=document.frames['adminCP']
if(rep==1)
{
if(!ACP.location.href.match("admin.php"))
setTimeout("wait(1)",10)
else
{
ACP.location+="&act=mem&code=doform&MEMBER_ID="+memNo
wait(2)
}
}
if(rep==2)
{
if(!ACP.document.forms['theAdminForm'])
setTimeout("wait(2)",10)
else
{
ACP.document.forms['theAdminForm'].elements['posts'].value=change
ACP.document.forms['theAdminForm'].submit()
wait(3)
}
}
if(rep==3)
if(ACP.location.href.match("code=doform&MEMBER_ID="+memNo))
setTimeout("wait(3)",10)
else
location.reload()
}
//-->

Offline billstup

  • Team Owner
  • My life is Radbmx
  • *
  • Posts: I am a geek!!
  • Rated:
Re: Money
« Reply #1 on: February 04, 2006, 06:59 PM »
Looks a piss of piss that does  :idiot2:
I see you stand like greyhounds in the slips,
 Straining upon the start. The game's afoot:
 Follow your spirit, and upon this charge
 Cry 'God for Harry, England, and Saint George!'

Offline danny silverstreak

  • 540 Air
  • *******
  • Posts: 2893
  • Rated:
Re: Money
« Reply #2 on: February 04, 2006, 07:01 PM »
OH THAT OLD CHESNUT :LolLolLolLol: :wtf:

Offline oberonspacefruit

  • BMX Legend
  • Hoffman's Love Child
  • *
  • Posts: 24549
  • Rated:
Re: Money
« Reply #3 on: February 04, 2006, 08:55 PM »
izaak wot the fook are you talkin about...where has all that come from?
I want to touch ORB

Beckyboo

  • Guest
Re: Money
« Reply #4 on: February 04, 2006, 11:08 PM »
i get that...i think its direct transfer to your account mr fruitdom!

Darkshadow

  • Guest
Re: Money
« Reply #5 on: February 05, 2006, 06:11 PM »
its the money system on my site

Offline jimwise68

  • Tail Whip
  • **********
  • Posts: 5613
  • Rated:
Re: Money
« Reply #6 on: February 05, 2006, 07:10 PM »
The coding is wrong on line 126, it should be a ] and not a )

 :buck2:

Offline TrickyDicky

  • Team Owner
  • Curb Endo
  • *
  • Posts: 271
  • Rated:
Re: Money
« Reply #7 on: February 08, 2006, 10:22 PM »
There is a 'money' system available for our forum, think they call it a shop.  Can't really see the point myself.

Offline dordymush

  • Berm Worm
  • ***********
  • Posts: 10464
  • Rated:
Re: Money
« Reply #8 on: February 08, 2006, 10:26 PM »
what is all that lot ?.
dave the bmxing gypo


theRuler

  • Guest
Re: Money
« Reply #9 on: February 08, 2006, 11:06 PM »
good idea

Offline TrickyDicky

  • Team Owner
  • Curb Endo
  • *
  • Posts: 271
  • Rated:
Re: Money
« Reply #10 on: February 08, 2006, 11:15 PM »
I've just downloaded the SMF shop mod - looks like quite a laugh actually - you can buy stuff with credits you earn through posts, such as inreasing your post count, stealing other people's credits, boosting your karma etc etc.  Will have a play on our test forum and see if the Admins fancy it.

Offline dordymush

  • Berm Worm
  • ***********
  • Posts: 10464
  • Rated:
Re: Money
« Reply #11 on: March 21, 2006, 12:36 PM »
Quote
boosting your karma

lol it worked well on here did'nt it  ;D.
dave the bmxing gypo


theRuler

  • Guest
Re: Money
« Reply #12 on: March 21, 2006, 12:46 PM »
get the money thing on

money money money moooney

mo o o o o o ney

Beckyboo

  • Guest
Re: Money
« Reply #13 on: March 22, 2006, 04:08 PM »
The 'test' forum sounds good. whats it like? do you test how good your avators look and stuff? 

I liked the old forum that you could go back to and sit in the dark in

RADBMX.CO.UK  |  Forum  |  Q&A, Ideas & Feedback  |  Money
 

gfxgfx
gfx gfx
Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!
SimplePortal 2.3.5 © 2008-2012, SimplePortal