Ineedrsforum
SMF For Free Newbie
Offline
Posts: 3
|
 |
« Reply #15 on: October 10, 2008, 06:10:15 pm » |
|
Forum Url: http://rsrules.smfforfree3.comI cant do it! I put the code it did the stuff and nothing !  <script> function name_across_board(){ //Created by Agent Moose (smcodes.smfforfree3.com) var vfour = new Array() vfour[vfour.length] = ["Mod Jake","Mod Jake","yellow","<img src=http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/mod_gold.gif' />"];/>"]; 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> Please help so im happy! 
|
|
|
|
|
Logged
|
|
|
|
LaundryLady
Global Moderator
Offline
Posts: 3056
Internet Challenged
|
 |
« Reply #16 on: October 11, 2008, 11:13:04 am » |
|
Try this, added ' in front of the http <script> function name_across_board(){ //Created by Agent Moose (smcodes.smfforfree3.com) var vfour = new Array() vfour[vfour.length] = ["Mod Jake","Mod Jake","yellow","<img src='http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/mod_gold.gif' />"];/>"]; 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
|
|
|
|
simply sibyl
Global Moderator
Offline
Posts: 11806
On vacation until July 6th
|
 |
« Reply #17 on: October 11, 2008, 11:46:49 am » |
|
Try this, added ' in front of the http <script> function name_across_board(){ //Created by Agent Moose (smcodes.smfforfree3.com) var vfour = new Array() vfour[vfour.length] = ["Mod Jake","Mod Jake","yellow","<img src='http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/mod_gold.gif' />"];/>"]; 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> There is an error at the end of this line of that code: vfour[vfour.length] = ["Mod Jake","Mod Jake","yellow","<img src='http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/mod_gold.gif' />"];/>"]; It should be: vfour[vfour.length] = ["Mod Jake","Mod Jake","yellow","<img src='http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/mod_gold.gif' />"]; Also make sure you have this in your header: <script src="/jquery.js"></script>
|
|
|
|
« Last Edit: October 11, 2008, 12:24:59 pm by simply sibyl »
|
Logged
|
|
|
|
|
|
simply sibyl
Global Moderator
Offline
Posts: 11806
On vacation until July 6th
|
 |
« Reply #19 on: October 11, 2008, 03:52:11 pm » |
|
Make sure the name Mod Jake is correct. Its also case sensitive. Sorry dude but we advice not making anyone admin and we dont login to fix these things for you. You need to go back thru the code carefully.. you can figure it out.
|
|
|
|
|
Logged
|
|
|
|
sora5776
SMF For Free Member
Offline
Posts: 26
|
 |
« Reply #20 on: October 23, 2008, 06:35:00 pm » |
|
Forum Url: http://awsomepkscape.smfforfree2.comok i totally lost with the codes thing wats a footer and a header!!?!??!
|
|
|
|
|
Logged
|
|
|
|
Josh[y]
SMF For Free Sr. Member
Offline
Posts: 470
Previously known as Spoken
|
 |
« Reply #21 on: October 23, 2008, 06:37:21 pm » |
|
Admin>>Manage Styles>>Headers & Footers
|
|
|
|
|
Logged
|
|
|
|
|
|
Ñ|µ|ß|Z ™
SMF For Free Member
Offline
Posts: 35
.:*^'"nubz"'^*:.
|
 |
« Reply #23 on: November 02, 2008, 01:21:34 pm » |
|
Guys I need help with this: <embed src="http://www.xatech.com/web_gear/chat/chat.swf" quality="high" width="540" height="405" name="chat" FlashVars="id=42664072" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://xat.com/update_flash.shtml" /><br><small><a target="_BLANK" href="http://xat.com/web_gear/?cb">Get your own Chat Box!</a> <a target="_BLANK" href="http://xat.com/web_gear/chat/go_large.php?id=42664072">Go Large!</a></small><br>
<img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 src="http://counters.gigya.com/wildfire/IMP/CXNID=2000002.1NXC/bT*xJmx*PTEyMjU1Njc5Njk1MzAmcHQ9MTIyNTU2ODAzMjY*MCZwPTUzMTUxJmQ9Jmc9MSZ*PSZvPTA*Y2RkMTJiNjkzMzRiYzhiMzgwYmJhNzNhN2JmNjYz.gif" /> <script> function name_across_board(){ //Created by Agent Moose (smcodes.smfforfree3.com) var vfour = new Array() vfour[vfour.length] = ["Josh","J?sH²","red","<img src='http://i32.tinypic.com/v5v6s7.jpg ' />"]; 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>
I need help with this my chatbox is in the way, it doesn't allow my admin crown to work, or changing my display name.
|
|
|
|
|
Logged
|
I was walking down the street one day one a kid came up to me and asked me for my cell phone I was like
what???
|
|
|
simply sibyl
Global Moderator
Offline
Posts: 11806
On vacation until July 6th
|
 |
« Reply #24 on: November 02, 2008, 01:22:55 pm » |
|
what is your forum url
|
|
|
|
|
Logged
|
|
|
|
Ñ|µ|ß|Z ™
SMF For Free Member
Offline
Posts: 35
.:*^'"nubz"'^*:.
|
 |
« Reply #25 on: November 02, 2008, 01:34:40 pm » |
|
I haven't released it have, well i have but noones coming because almost noone plays fire emblem :\ but it's Http://fireemblemchat.smfforfree3.com
|
|
|
|
|
Logged
|
I was walking down the street one day one a kid came up to me and asked me for my cell phone I was like
what???
|
|
|
simply sibyl
Global Moderator
Offline
Posts: 11806
On vacation until July 6th
|
 |
« Reply #26 on: November 02, 2008, 01:36:11 pm » |
|
the chat box wont stop the code from working. Do you have this in your header? (Put it at the top of it) <script src="/jquery.js"></script> Use this for your crown code (it has to go in your footer): <script> function name_across_board(){ //Created by Agent Moose (smcodes.smfforfree3.com) var vfour = new Array() vfour[vfour.length] = ["Josh","J?sH²","red","<img src='http://i32.tinypic.com/v5v6s7.jpg' />"]; 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
|
|
|
|
Ñ|µ|ß|Z ™
SMF For Free Member
Offline
Posts: 35
.:*^'"nubz"'^*:.
|
 |
« Reply #27 on: November 02, 2008, 01:49:02 pm » |
|
Ya, i have the code in the footer and the and the <script src="/jquery.js"></script> in my header and my <script> function name_across_board(){ //Created by Agent Moose (smcodes.smfforfree3.com) var vfour = new Array() vfour[vfour.length] = ["Josh","J?sH²","red","<img src='http://i32.tinypic.com/v5v6s7.jpg' />"]; 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> admin crown code in the footer But you don't have to worry about it, ill figure it our sometime. Should my footer look like this? <embed src="http://www.xatech.com/web_gear/chat/chat.swf" quality="high" width="540" height="405" name="chat" FlashVars="id=42664072" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://xat.com/update_flash.shtml" /><br><small><a target="_BLANK" href="http://xat.com/web_gear/?cb">Get your own Chat Box!</a> <a target="_BLANK" href="http://xat.com/web_gear/chat/go_large.php?id=42664072">Go Large!</a></small><br>
<img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 src="http://counters.gigya.com/wildfire/IMP/CXNID=2000002.1NXC/bT*xJmx*PTEyMjU1Njc5Njk1MzAmcHQ9MTIyNTU2ODAzMjY*MCZwPTUzMTUxJmQ9Jmc9MSZ*PSZvPTA*Y2RkMTJiNjkzMzRiYzhiMzgwYmJhNzNhN2JmNjYz.gif" />
<script> function name_across_board(){ //Created by Agent Moose (smcodes.smfforfree3.com) var vfour = new Array() vfour[vfour.length] = ["Josh","J?sH²","red","<img src='http://i32.tinypic.com/v5v6s7.jpg ' />"]; 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
|
I was walking down the street one day one a kid came up to me and asked me for my cell phone I was like
what???
|
|
|
simply sibyl
Global Moderator
Offline
Posts: 11806
On vacation until July 6th
|
 |
« Reply #28 on: November 02, 2008, 01:58:15 pm » |
|
use the code for the crowns that i posted to you a few posts back that one will work
and yes you can put the crown code right underneath the chatbox code. That is not an issue.
|
|
|
|
|
Logged
|
|
|
|
ÐÔĜ
SMF For Free Sponsors
Offline
Posts: 791
|
 |
« Reply #29 on: November 03, 2008, 10:14:00 am » |
|
Thanks i got this working thanks to sibyl who gave them codes to people in mine i had edited the code so it had no 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();
I really could not find out what was wrong with it, Until i looked at mine and the code sibyl gave and i found out that a whole chunk of it was gone.
|
|
|
|
|
Logged
|
-Soon To Be Back On Support- I have major things to sort out 
|
|
|
|
|
|