Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    New to the CF scene
    Join Date
    Oct 2004
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    A challenge for you JavaScript masters

    I am trying to make my own forum for a game called RagnarokOnline. The host is Invisionfree and there’s some kind of money hack you can put into the Footer of the board wrappers. Every time you post you get $15 of fake money. Someone made up this money hack but he made one mistake. Whenever the administrator (or anyone ells that is allowed) increases or decreases the money of a member it effects the post count of that member. I have tried to fix this but I just cant seem to get it. I was wondering if anyone is good with javascript and could help me. The code is:

    <script>
    //Simple Money Code created by Webworldx - iF
    //Get some good skins @ www.ifskins.com!
    var mSide = document.getElementsByTagName('td');
    for(a=0;a<mSide.length;a++){
    if (mSide[a].className=="post2" || mSide[a].className=="post1") {
    if (mSide[a].innerHTML.match("Posts: ")) {

    var tPosts = mSide[a].innerText
    tPosts = tPosts.split("\n")
    for (i=0;i<tPosts.length;i++){ if (tPosts[i].match("Posts: ")){ var PostCount=tPosts[i].substring(7)}}
    PostCount=PostCount.replace(",","")
    var theMoney = PostCount * 15
    if(!mSide[a].width){mSide[a].innerHTML+="Money: $" + theMoney}
    }}}
    </script>
    <script language="javascript" type="text/javascript">
    <!--//Improved Money Hack - by Markup
    moneyName="Money"
    moneySign="$"
    postMoney=15
    //-->
    </script>
    <script language="javascript" type="text/javascript" src="http://webpost.net/ma/markup/money.js"></script>



    If you could help that would be great! If you need any more information please post here. Thank You.
    (My Forum)
    Last edited by QuickFingers; 10-29-2004 at 11:03 PM.

  • #2
    New to the CF scene
    Join Date
    Oct 2004
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    anyone?

  • #3
    Banned
    Join Date
    Sep 2003
    Posts
    3,620
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rather impatient ain't we??

    Besides, I have to ask... Does this challenge award prizes, monetary payment or is the use of "challenge for javascript master" just bait to appeal to someones ego??

    If the later, ego does not pay my bills and I'm too old to worry about silly challenges... Perhaps someone else will come along whom wishes to rise to your challenge...

    .....Willy

  • #4
    Regular Coder
    Join Date
    Dec 2003
    Location
    America
    Posts
    544
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Oh come on Willy. How you give me the fang, and claws, but when it comes to phonies like the dude that posted this thread, you are Little Red-Riding Hood?

    It's clear he is looking for free programmers. Isn't it obvious?

    If the later, ego does not pay my bills and I'm too old to worry about silly challenges... Perhaps someone else will come along whom wishes to rise to your challenge...

    .....Willy
    You disappoint me.
    LovesWar

  • #5
    Senior Coder
    Join Date
    Feb 2004
    Location
    Edinburgh
    Posts
    1,352
    Thanks
    0
    Thanked 0 Times in 0 Posts
    wot's the point of the fake moolah?
    *keep it simple (TM)

  • #6
    fci
    fci is offline
    Senior Coder
    Join Date
    Aug 2004
    Location
    Twin Cities
    Posts
    1,345
    Thanks
    0
    Thanked 0 Times in 0 Posts
    the link to your forum is broken. can't really see it in context.. oh well.

  • #7
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts
    This thread is tedious, and can only descend from here. I'm closing it.

    QuickFingers if you have a question please repost it, using a subject line which is descriptive of the problem.
    "Why bother with accessibility? ... Because deep down you know that the web is attractive to people who aren't exactly like you." - Joe Clark


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •