SMF For Free Support Forum
Signup For Free Forum
September 02, 2010, 11:50:24 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]
  Print  
Author Topic: These codes for crowns dont work :(  (Read 506 times)
0 Members and 1 Guest are viewing this topic.
Didnt--Do--It5
SMF For Free Full Member
*
Offline Offline

Posts: 229


I KILL YOU IN 1 POKE!


View Profile WWW
« on: July 08, 2009, 12:02:12 pm »

Why wont this code for crowns work?

Code:
<script>
function name_across_board(){
//Created by Agent Moose (smcodes.smfforfree3.com)
var vfour = new Array()
vfour[vfour.length] = ["Ste7720","Ste7720","Yellow","<img
src='http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/deleteafteriu0.png' />"];
vfour[vfour.length] = ["Heavenlyrune","Heavenlyrune","Green","<img src='http://i341.photobucket.com/albums/o395/jennawutz/crowns/green.png' />"];
vfour[vfour.length] = ["Isael2","Isael2","Yellow","<img src='http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/deleteafteriu0.png' />"];
for(f=0;f<vfour.length;f++){
$("a[href*='u=']").each(function() {
if(this.innerHTML.match(vfour[f][0])){
this.innerHTML = this.innerHTML.replace(vfour[f][0],"<font color='" + vfour[f][2] + "'>" + vfour[f][3] + vfour[f][(vfour[f][1] != "" ? 1 : 0)] + "</font>");
};});};}
name_across_board();
</script>
Logged

Join my site - http://unlocked-gamers.tk/
Free Hacks, Cheats, Gamesaves, Movies/Music
For Every Game System Out there.

All of the Best - Unlocked-Gamers
Didnt--Do--It5
SMF For Free Full Member
*
Offline Offline

Posts: 229


I KILL YOU IN 1 POKE!


View Profile WWW
« Reply #1 on: July 08, 2009, 12:26:32 pm »

Why wont this code for crowns work?

Code:
<script>
function name_across_board(){
//Created by Agent Moose (smcodes.smfforfree3.com)
var vfour = new Array()
vfour[vfour.length] = ["Ste7720","Ste7720","Yellow","<img
src='http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/deleteafteriu0.png' />"];
vfour[vfour.length] = ["Heavenlyrune","Heavenlyrune","Green","<img src='http://i341.photobucket.com/albums/o395/jennawutz/crowns/green.png' />"];
vfour[vfour.length] = ["Isael2","Isael2","Yellow","<img src='http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/deleteafteriu0.png' />"];
for(f=0;f<vfour.length;f++){
$("a[href*='u=']").each(function() {
if(this.innerHTML.match(vfour[f][0])){
this.innerHTML = this.innerHTML.replace(vfour[f][0],"<font color='" + vfour[f][2] + "'>" + vfour[f][3] + vfour[f][(vfour[f][1] != "" ? 1 : 0)] + "</font>");
};});};}
name_across_board();
</script>
Logged

Join my site - http://unlocked-gamers.tk/
Free Hacks, Cheats, Gamesaves, Movies/Music
For Every Game System Out there.

All of the Best - Unlocked-Gamers
Seldom Fail
Helpers
*
Offline Offline

Posts: 1812


Please feel free to email me ;)


View Profile WWW
« Reply #2 on: July 08, 2009, 12:27:28 pm »

Please use code tags. It is the # on your toolbar when posting.

One second while I put this code in my test forum.

Where did you place the code?
Logged

Brotherisms Funny. Weird. Awesome.

My Blog
Seldom Fail
Helpers
*
Offline Offline

Posts: 1812


Please feel free to email me ;)


View Profile WWW
« Reply #3 on: July 08, 2009, 12:31:35 pm »

You already posted this in General Support. And it's a code related problem.. not stylesheet.

One second I'm putting the code in my test forum... will have an answer for you soon.
Logged

Brotherisms Funny. Weird. Awesome.

My Blog
Didnt--Do--It5
SMF For Free Full Member
*
Offline Offline

Posts: 229


I KILL YOU IN 1 POKE!


View Profile WWW
« Reply #4 on: July 08, 2009, 12:33:20 pm »

Thanks IDK why it wont work.  Sad
Logged

Join my site - http://unlocked-gamers.tk/
Free Hacks, Cheats, Gamesaves, Movies/Music
For Every Game System Out there.

All of the Best - Unlocked-Gamers
Seldom Fail
Helpers
*
Offline Offline

Posts: 1812


Please feel free to email me ;)


View Profile WWW
« Reply #5 on: July 08, 2009, 12:39:39 pm »

You had a spacing issue in the first part of the code.

Try this. It will work:
Code:
<script>
function name_across_board(){
//Created by Agent Moose (smcodes.smfforfree3.com)
var vfour = new Array()

vfour[vfour.length] = ["Ste7720","Ste7720","yellow","<img src='http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/deleteafteriu0.png' />"];
vfour[vfour.length] = ["Heavenlyrune","Heavenlyrune","green","<img src='http://i341.photobucket.com/albums/o395/jennawutz/crowns/green.png' />"];
vfour[vfour.length] = ["Isael2","Isael2","Yellow","<img src='http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/deleteafteriu0.png' />"];

for(f=0;f<vfour.length;f++){
$("a[href*='u=']").each(function() {
if(this.innerHTML.match(vfour[f][0])){
this.innerHTML = this.innerHTML.replace(vfour[f][0],"<font color='" + vfour[f][2] + "'>" + vfour[f][3] + vfour[f][(vfour[f][1] != "" ? 1 : 0)] + "</font>");
};});};}
name_across_board();
</script>
Logged

Brotherisms Funny. Weird. Awesome.

My Blog
Didnt--Do--It5
SMF For Free Full Member
*
Offline Offline

Posts: 229


I KILL YOU IN 1 POKE!


View Profile WWW
« Reply #6 on: July 08, 2009, 12:39:51 pm »

I have placed the code in footers, I have the headers code correctly though.
Logged

Join my site - http://unlocked-gamers.tk/
Free Hacks, Cheats, Gamesaves, Movies/Music
For Every Game System Out there.

All of the Best - Unlocked-Gamers
Seldom Fail
Helpers
*
Offline Offline

Posts: 1812


Please feel free to email me ;)


View Profile WWW
« Reply #7 on: July 08, 2009, 12:39:59 pm »

http://www.smfsupport.com/support/general_support/i_need_help-t27717.0.html
Logged

Brotherisms Funny. Weird. Awesome.

My Blog
Didnt--Do--It5
SMF For Free Full Member
*
Offline Offline

Posts: 229


I KILL YOU IN 1 POKE!


View Profile WWW
« Reply #8 on: July 08, 2009, 12:42:18 pm »

Thanks for it has worked Smiley
Logged

Join my site - http://unlocked-gamers.tk/
Free Hacks, Cheats, Gamesaves, Movies/Music
For Every Game System Out there.

All of the Best - Unlocked-Gamers
simply sibyl
Global Moderator
*
Offline Offline

Posts: 13750



View Profile WWW
« Reply #9 on: July 08, 2009, 12:44:53 pm »

moved and both topics merged -  please don't make duplicate topics for the same issue
Logged



Pages: [1]
  Print  
 
Jump to:  



Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
Hostgator Hosting
Page created in 0.403 seconds with 19 queries. (Pretty URLs adds 0.043s, 2q)