Advertise Here

Author Topic: [Code] Money Code  (Read 18896 times)

0 Members and 1 Guest are viewing this topic.

Offline ishybadboy

  • SMF For Free Member
  • *
  • Posts: 46
    • View Profile

  • Total Badges: 10
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: [Code] Money Code
« Reply #30 on: October 13, 2008, 08:58:48 pm »

Offline simply sibyl

  • Helpers
  • *
  • Posts: 14347
  • On hiatus
    • View Profile
    • The Tent Dwellers

  • Total Badges: 31
    Badges: (View All)
    Level 6 Poll Voter Webmaster Arcade Highscore Windows User
Re: [Code] Money Code
« Reply #31 on: October 13, 2008, 09:10:28 pm »
Put only this part inside the double quotes for the part you are using it for:

Code: [Select]
<img src='http://i300.photobucket.com/albums/nn16/IshyBadBoy/money10.gif15'>
for instance do it like this in this line of the code:

Code: [Select]
smc_money_code("MONEY NAME","<img src='http://i300.photobucket.com/albums/nn16/IshyBadBoy/money10.gif15'>","AMOUNT PER POST")

Offline ishybadboy

  • SMF For Free Member
  • *
  • Posts: 46
    • View Profile

  • Total Badges: 10
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: [Code] Money Code
« Reply #32 on: October 14, 2008, 12:57:44 am »
Alright.
Works like a Charm.
Thanks, Sibyl.

Offline BBfan940

  • SMF For Free Full Member
  • *
  • Posts: 159
    • View Profile

  • Total Badges: 13
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Code] Money Code
« Reply #33 on: November 30, 2008, 10:46:35 am »
Hey Moose, is there a way so it appears above the members avatars?

HOWEVER could it be ALSO so it would increase by 10 for every topic you create?
« Last Edit: November 30, 2008, 10:53:51 am by BBfan940 »

Offline simply sibyl

  • Helpers
  • *
  • Posts: 14347
  • On hiatus
    • View Profile
    • The Tent Dwellers

  • Total Badges: 31
    Badges: (View All)
    Level 6 Poll Voter Webmaster Arcade Highscore Windows User
Re: [Code] Money Code
« Reply #34 on: November 30, 2008, 10:50:50 am »
Also, is there a way so that your points would increase by 1 for every post

I believe that is what the AMOUNT PER POST part is for

Quote
AMOUNT PER POST is how much you get per post(eg: 5[The number you put will be multiplied the posts.])

Offline BBfan940

  • SMF For Free Full Member
  • *
  • Posts: 159
    • View Profile

  • Total Badges: 13
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Code] Money Code
« Reply #35 on: November 30, 2008, 10:54:13 am »
Hey sibyl sorry about that.  Those were typos :P Read what I edited

Offline Darth Nihilius

  • SMF For Free Member
  • *
  • Posts: 26
  • DarkSide is comming
    • View Profile

  • Total Badges: 11
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: [Code] Money Code
« Reply #36 on: December 01, 2008, 01:57:23 am »
 :uglystupid2: Man this is hard to put  :o
Dark Side of the force is pathway to many abilities some consider to be unnatural!

Offline WBA Dude

  • SMF For Free Full Member
  • *
  • Posts: 105
    • View Profile

  • Total Badges: 13
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Code] Money Code
« Reply #37 on: December 19, 2008, 11:48:05 am »
Forum Url: http://wwwcolmoreforum.smfforfree.com
How do you view it in your profile?

Joe
I am leaving SMF For Free Forums. Have loved every second but sadly, I am using paid hosting. Good Bye!

Offline OutOfOrder

  • SMF For Free Sr. Member
  • *
  • Posts: 385
  • Creator of the X-treme Gaming Forums
    • View Profile
    • X-treme Gaming Forums!!!

  • Total Badges: 14
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Code] Money Code
« Reply #38 on: December 20, 2008, 08:40:59 am »
Forum Url: http://funcentral.smfforfree2.com/

i think that you can make so that ONLY ADMINS can see it... if u r not an admin on a forum, then i am pretty sure that you will not be able to see it.

if u r the admin of the forum, then i think this should be in Profile -> Forum Related -> at the bottom there should be this code.

hope this helped!

Offline LittleMsLily

  • SMF For Free Newbie
  • *
  • Posts: 4
  • Yippe~!
    • View Profile
    • GakuenAlice RP

  • Total Badges: 8
    Badges: (View All)
    Signature Combination Level 2 Webmaster Avatar
Re: [Code] Money Code
« Reply #39 on: August 10, 2012, 10:16:44 pm »
Um.....................HELPPPPPPPPPPPPPPPPPPPPPP!!!!!!!!!!!!!!!!!!!!!!!!!!!! I put money code....erm I mean I put the HEADERS code in the Headers:]<script language="JavaScript" type="text/javascript" src="http://209.85.48.12/9581/134/upload/p4217340.ibf">//Jquery code</script>[/co and then I put the money code in like this: <script>
function smc_money_code(name,sign,amount){
//Created by Agent Moose at smcodes.smfforfree3.com
$(function() {
c = $("div")
for (v=0;v<c.length;v++)
if((c[v].className=="smalltext")&&(c[v].innerHTML.match(/Posts: (\d+)/))){
total = amount*RegExp.$1
c[v].innerHTML+="<br />"+name+": "+sign+total+""
};});}
smc_money_code("MONEY NAME","SIGN","AMOUNT PER POST")
</script>
What'd I do wrong NOW? I looked at my members profile and it didnt have the money ammount ANYWHERE! Why not?! *Sometimes I just think Im SOOOOOOO stubid, you know? But sometimes I am!LOL*

so basically it, the money code has to be in the footer not in the header no offense.
but did you try reading the first post above the code?

Offline LittleMsLily

  • SMF For Free Newbie
  • *
  • Posts: 4
  • Yippe~!
    • View Profile
    • GakuenAlice RP

  • Total Badges: 8
    Badges: (View All)
    Signature Combination Level 2 Webmaster Avatar
Re: [Code] Money Code
« Reply #40 on: August 10, 2012, 10:21:39 pm »
Finnally, a code that eveyone wants.  The Money Code!!!  It took me forever to finish, but I got it done.  It isn't the the place I want it, but it works for now.  It showes up under the AIM and MSN icons...

This part goes in the Footer:

Code: [Select]
<script>
function smc_money_code(name,sign,amount){
//Created by Agent Moose at smcodes.smfforfree3.com
c = document.getElementsByTagName("div");
for(v=0;v<c.length;v++){
if(c[v].className=="smalltext" && c[v].innerHTML.match(/Posts: (\d+)/)){
var total = amount * RegExp.$1;
c[v].innerHTML+="<br />" + name+": " + sign + total;
};};}
smc_money_code("MONEY NAME","SIGN","AMOUNT PER POST")
</script>

This is simple
MONEY NAME is the name of the money...(eg: Money)
SIGN is the sign of the money(eg: $)
AMOUNT PER POST is how much you get per post(eg: 5[The number you put will be multiplied the posts.])

EDIT:  I forgot to tell you people something.  If you want to decrease someones money, decrese there post count by going to there profile.

Strange, I did it on the footer section. And there's nothing. I wonder what went wrong.
Quote
<script>
function smc_money_code(name,sign,amount){
//Created by Agent Moose at smcodes.smfforfree3.com
c = document.getElementsByTagName("div");
for(v=0;v<c.length;v++){
if(c[v].className=="smalltext" && c[v].innerHTML.match(/Posts: (\d+)/)){
var total = amount * RegExp.$1;
c[v].innerHTML+="<br />" + name+": " + sign + total;
};};}
smc_money_code("Rabbits","$","50")
</script>

 

Related Topics

  Subject / Started by Replies Last post
34 Replies
11991 Views
Last post June 08, 2009, 12:04:16 pm
by Remixed
money code help

Started by guest2694 « 1 2 3 » SMF For Free Codes and Support

31 Replies
5761 Views
Last post March 17, 2008, 07:21:15 pm
by simply sibyl