Advertise Here

Author Topic: [Code] Adding the Runescape Admin Crown  (Read 261746 times)

0 Members and 1 Guest are viewing this topic.

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: [Guide] Adding the Runescape Admin Crown
« Reply #75 on: May 28, 2009, 06:35:21 pm »
This should work for you:

Code: [Select]
<script>
function name_across_board(){
//Created by Agent Moose (smcodes.smfforfree3.com)
var vfour = new Array()
vfour[vfour.length] = ["Deadly Blitz","Deadly Blitz","white","<img src='http://i30.tinypic.com/2e0irsw.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>
« Last Edit: May 28, 2009, 06:36:55 pm by simply sibyl »

Offline -A-

  • SMF For Free Sponsors
  • *
  • Posts: 877
  • Don't be afraid.
    • View Profile

  • Total Badges: 22
    Badges: (View All)
    Search Apple User Mobile User Windows User Topic Starter
Re: [Guide] Adding the Runescape Admin Crown
« Reply #76 on: May 28, 2009, 06:39:19 pm »
Hmm. Sibyl, just being curious, what did you do to the code? Was it the same thing you did on the first page because the code was updated?

Offline Mad Gamer2

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

  • Total Badges: 13
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Guide] Adding the Runescape Admin Crown
« Reply #77 on: May 28, 2009, 06:39:57 pm »
tysm

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: [Guide] Adding the Runescape Admin Crown
« Reply #78 on: May 28, 2009, 06:41:26 pm »
Hmm. Sibyl, just being curious, what did you do to the code? Was it the same thing you did on the first page because the code was updated?

I stuck it on my own forum, changed the first name to mine.. the code would not work so I took the code from here and edited the info, made shure it worked with my name then replaced it with his.   Sometimes its just a small thing like a space or something..   

Mad Gamer you are welcome and I see its working now  ;)

Offline -A-

  • SMF For Free Sponsors
  • *
  • Posts: 877
  • Don't be afraid.
    • View Profile

  • Total Badges: 22
    Badges: (View All)
    Search Apple User Mobile User Windows User Topic Starter
Re: [Guide] Adding the Runescape Admin Crown
« Reply #79 on: May 28, 2009, 06:42:20 pm »
Gotchya. Thanks for that.

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: [Guide] Adding the Runescape Admin Crown
« Reply #80 on: May 28, 2009, 06:43:26 pm »
Gotchya. Thanks for that.

I used to just keep a working copy of it on one of my test forums   - that forum was recently deleted for non use though  (laugh)

Offline Mad Gamer2

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

  • Total Badges: 13
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Guide] Adding the Runescape Admin Crown
« Reply #81 on: May 28, 2009, 06:44:35 pm »
what i put this code and it didnt work




<script>
function name_across_board(){
//Created by Agent Moose (smcodes.smfforfree3.com)
var vfour = new Array()
vfour[vfour.length] = ["Deadly Blitz","Deadly Blitz","white","<img src='http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/supermodat5.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>

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: [Guide] Adding the Runescape Admin Crown
« Reply #82 on: May 28, 2009, 06:45:27 pm »
I just looked at your forum and I can see it..  what browser are you using? 

edit:  appears you have changed it now.. it was working a few minutes ago

Offline Mad Gamer2

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

  • Total Badges: 13
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Guide] Adding the Runescape Admin Crown
« Reply #83 on: May 28, 2009, 06:48:29 pm »
i no i put a different link

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: [Guide] Adding the Runescape Admin Crown
« Reply #84 on: May 28, 2009, 06:50:04 pm »
i no i put a different link

put the code I gave you bak in and it will work and make sure you have javascript enabled in your browser or you will not see it.

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: [Guide] Adding the Runescape Admin Crown
« Reply #85 on: May 28, 2009, 06:52:11 pm »
when you change that image url in it be very careful..    that is the problem you are having.  You have a space between the end of the image url and the single quote.
Make sure the single quotes are right up against that image url...  if you have an extra space between it and the quote it wont work
« Last Edit: May 28, 2009, 06:55:16 pm by simply sibyl »

Offline Mad Gamer2

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

  • Total Badges: 13
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Guide] Adding the Runescape Admin Crown
« Reply #86 on: May 28, 2009, 06:54:30 pm »
this is wat i put in



Code: [Select]
<script>
function name_across_board(){
//Created by Agent Moose (smcodes.smfforfree3.com)
var vfour = new Array()
vfour[vfour.length] = ["Deadly Blitz","๔єค๔lא ๒lเtz","white","<img src='http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/supermodat5.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>
« Last Edit: May 30, 2009, 08:41:25 pm by Mad Gamer2 »

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: [Guide] Adding the Runescape Admin Crown
« Reply #87 on: May 28, 2009, 06:56:21 pm »
you have an extra space after this:   http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/supermodat5.png
 and before the single quote.. remove that space.

Offline Mad Gamer2

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

  • Total Badges: 13
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Guide] Adding the Runescape Admin Crown
« Reply #88 on: May 28, 2009, 06:57:18 pm »
nvm i got it this ' last one wasnt next to url. thank u so much for all ur help

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: [Guide] Adding the Runescape Admin Crown
« Reply #89 on: May 28, 2009, 06:58:43 pm »
your welcome...

I have a tip for you while you are here ;)

When you post a code here use the code tags around the code you post like so:

[code]
put the code here
[/code]


(if you press the # sign it will put the code tags in for you and you can paste the code in between them)
« Last Edit: May 28, 2009, 07:00:34 pm by simply sibyl »