SMF For Free Support Forum
Signup For Free Forum
September 05, 2008, 09:16:09 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to SMF For Free. The best free SMF Host
 
   Home   Help Search Arcade Gallery Login Register  

Pages: 1 [2]
  Print  
Author Topic: [Code] Money Code V2  (Read 2729 times)
0 Members and 1 Guest are viewing this topic.
Soul Fly
SMF For Free Hero
*
Offline Offline

Posts: 708



View Profile
« Reply #15 on: February 27, 2008, 12:35:39 am »

It doesn't work for me =(
Url: tbpf.co.nr
Code <script>
function smc_money_code(forum,name,sign,amount){
//Created by Agent Moose at smcodes.smfforfree3.com
$(function() {
$("a.nav").each(function(){
if(this.innerHTML.match(forum)){
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("TBPF","EURO","€","70")
</script>
Logged

simply sibyl
Global Moderator
*
Offline Offline

Posts: 8027


I am not a dude!


View Profile WWW
« Reply #16 on: February 27, 2008, 12:41:06 am »

Im guessing..Ive not used this one.
I think where you put  TBPF  you need to put a "forum name"  in other words a Board Name.
Do you have a board named TBPF?    I dont see one.
Logged

Soul Fly
SMF For Free Hero
*
Offline Offline

Posts: 708



View Profile
« Reply #17 on: February 27, 2008, 12:51:45 am »

I can't understand right now.
Show an example of that
Thanks
Logged

Celebrus
SMF For Free Hero
*
Online Online

Posts: 757


Previously known as Omikron


View Profile WWW
« Reply #18 on: February 27, 2008, 12:54:19 am »

TBPF has to be the name of an actual board within your forums. You might want to try v1. This code was made so you could have different currencies and stuff  in different boards.
Logged

Soul Fly
SMF For Free Hero
*
Offline Offline

Posts: 708



View Profile
« Reply #19 on: February 29, 2008, 12:06:03 pm »

Ok.
Thanks.
Logged

Vice
SMF For Free Full Member
*
Offline Offline

Posts: 136


Photoshop Userbars :d


View Profile WWW
« Reply #20 on: April 01, 2008, 05:36:31 am »

Another Great code good work i used and it works  Roll Eyes
Logged

Nuggett420
SMF For Free Newbie
*
Offline Offline

Posts: 5


View Profile
« Reply #21 on: May 21, 2008, 12:00:50 pm »

i have a problem getting the money to show up i dont know what i'm doing wrong though here's a link to my site http://japanimefreaks.smfforfree4.com/index.php

i just started learning to use codes and stuff a few hours ago and i could really use some help
Logged
LaundryLady
Global Moderator
*
Offline Offline

Posts: 3032



View Profile WWW
« Reply #22 on: May 21, 2008, 12:42:57 pm »

If you are using version 1 move it to your headers and see if that helps.
Logged

Nuggett420
SMF For Free Newbie
*
Offline Offline

Posts: 5


View Profile
« Reply #23 on: May 21, 2008, 01:01:08 pm »

i have this in headers using V2 btw

<script src="/jquery.js"></script>

and this in footers and it's not working

<script>
function smc_money_code(forum,name,sign,amount){
//Created by Agent Moose at smcodes.smfforfree3.com
$(function() {
$("a.nav").each(function(){
if(this.innerHTML.match(forum)){
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("Naruto rp","Dollars","$","2")
</script>
Logged
Nuggett420
SMF For Free Newbie
*
Offline Offline

Posts: 5


View Profile
« Reply #24 on: May 21, 2008, 01:02:55 pm »

oh wait nvm it's working now
Logged
LaundryLady
Global Moderator
*
Offline Offline

Posts: 3032



View Profile WWW
« Reply #25 on: May 21, 2008, 01:21:07 pm »

Hallelujah!
Logged

Nuggett420
SMF For Free Newbie
*
Offline Offline

Posts: 5


View Profile
« Reply #26 on: May 21, 2008, 02:13:45 pm »

yeah i had to get rid of all the codes i already put in and put the money code in, i think it was the chatbox that messed me up but i got rid of everything just to be sure lol
Logged
LaundryLady
Global Moderator
*
Offline Offline

Posts: 3032



View Profile WWW
« Reply #27 on: May 21, 2008, 02:52:09 pm »

Sometimes, codes don't like other codes, they want to be the only kid in the family.
Logged



Pages: 1 [2]
  Print  
 
Jump to:  

Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC
ServerBeach Coupon
Page created in 0.31 seconds with 17 queries.