Advertise Here

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

0 Members and 1 Guest are viewing this topic.

Offline revolation

  • SMF For Free Member
  • *
  • Posts: 44
  • MoparScape Expert-Message me for help.
    • View Profile

  • Total Badges: 13
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
[Code] Adding the Runescape Admin Crown
« on: July 05, 2007, 01:47:31 pm »
Credit goes to Agent Moose for his Change Username Across Board Code

Purpose of Code: To add runescape crowns next to member names.
Note:   This works by member name.  If you would like to do it by Member Group use this code:
Membergroup Image

Example:  


INSTRUCTIONS:

Put this in your HEADER if you do not already have it:

Code: [Select]
<script src="/jquery.js"></script>

This code goes in your FOOTER:
Instructions for editing it are under the code.

Code: [Select]
<script>
function name_across_board(){
//Created by Agent Moose (smcodes.smfforfree3.com)
var vfour = new Array()
vfour[vfour.length] = ["OLD NAME","NEW NAME","COLOR","<img src='IMAGE URL' />"];
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>


If you are doing it for more then one person add more of these right under the existing one:

Code: [Select]
vfour[vfour.length] = ["OLD NAME","NEW NAME","COLOR","<img src='IMAGE URL' />"];
Change OLD NAME to the current display name

Change NEW NAME to the name you want it to change TO
If you want you can use-
                 bold:  <b>NEW NAME</b>
                italic:   <i>NEW NAME</i>
           underline:  <u>NEW NAME</u>

Change COLOR to the color you want their name to be
Change IMAGE URL to the images url (the direct link to the image)



Some Crown Links you can use:
NOTE:   Do not request crowns in this thread.  Use the Graphics Board for requesting other crowns


http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/mod_gold.gif


http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/mod_silver.gif


http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/thco-owner.png


http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/thmod.png


http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/rainbowmodor1.jpg


http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/admin.gif


http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/mod.gif


http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/modcrownaw2.png


http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/supermodat5.png


http://i25.tinypic.com/35klliq.jpg


http://i34.tinypic.com/dm38g0.gif


http://i36.tinypic.com/nmck95.gif


http://i272.photobucket.com/albums/jj168/Roboticopperatingbuddy/MARSForumModeratorCrown.gif


http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/11iek2d.png


http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/34q2ywz.gif


http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/12234013pa5.gif


http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/council-crown.gif


http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/highvoicescrown2zr6.png


http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/imagesvx4.jpg


http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/deleteafteriu0.png


http://i307.photobucket.com/albums/nn311/PhotoKillz/m7xeep.gif


http://i292.photobucket.com/albums/mm14/Rockstarog123/premium2.png


http://i25.tinypic.com/af8unp.png


http://i28.tinypic.com/2hz1wuq.png


http://i32.tinypic.com/24148xi.png


http://i28.tinypic.com/20p2buw.png


http://i29.tinypic.com/200r537.png


http://i29.tinypic.com/2i1fc6p.png


http://i32.tinypic.com/2lmnh9g.png


http://i27.tinypic.com/2wmgnya.png


http://i31.tinypic.com/28838tu.png


http://i26.tinypic.com/qyct2f.png


http://i30.tinypic.com/2d9phg2.png


http://i31.tinypic.com/2djcg2f.png


http://i27.tinypic.com/243m7v7.png


http://i26.tinypic.com/20shgg6.png


http://i277.photobucket.com/albums/kk51/jssmiles/10qhzb8.png


http://i277.photobucket.com/albums/kk51/jssmiles/10qhzb8.png


http://i32.tinypic.com/v5v6s7.jpg


http://i27.tinypic.com/apd65w.jpg


http://i37.tinypic.com/10msg8p.jpg


http://i30.tinypic.com/2e0irsw.jpg


http://i10.tinypic.com/6jvd2df.jpg


http://i17.tinypic.com/6jo8c5t.jpg


http://www.gottapixel.net/forum/images/usergroup/admincrown.gif


http://i102.photobucket.com/albums/m105/mysmileyplace/crowns/smallgold.gif


http://i341.photobucket.com/albums/o395/jennawutz/crowns/redorange.png

red crown:

http://i341.photobucket.com/albums/o395/jennawutz/crowns/red.png


http://i341.photobucket.com/albums/o395/jennawutz/crowns/pink.png


http://i341.photobucket.com/albums/o395/jennawutz/crowns/hottpink.png


http://i341.photobucket.com/albums/o395/jennawutz/crowns/lightpink.png


http://i341.photobucket.com/albums/o395/jennawutz/crowns/green.png


http://i375.photobucket.com/albums/oo192/sora5776/superman.png

This code can be used for other things.  Such as when it is a members birthday.
You could put a little birthday cake next to their name


http://i102.photobucket.com/albums/m105/mysmileyplace/birthdaycake.gif

If you have crowns you would like added to this list please post them  and we will add them to the list.
« Last Edit: September 28, 2010, 06:13:13 pm by simply sibyl »
Revolation Scape, was a Spec. Now, its a Legend. Join Today!

REVOLATION SCAPE

I dont do this alot, but if you are stuck on a code.then just give me admin on your Forum temporarily, and i will do it for you.(Message me for this)

Offline magebow99

  • SMF For Free Newbie
  • *
  • Posts: 12
    • View Profile

  • Total Badges: 9
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: [Guide] Adding the Runescape Admin Crown
« Reply #1 on: July 09, 2008, 10:35:14 am »
If you are doing it for more then one person add more of these right under the existing one:

Code: [Select]
vfour[vfour.length] = ["OLD NAME","NEW NAME","COLOR","<img src='IMAGE URL' />"];
ok i got the rest its just thi bit. i did it underneat
Quote
<script>
function name_across_board(){
//Created by Agent Moose (smcodes.smfforfree3.com)
var vfour = new Array()
vfour[vfour.length] = ["OLD NAME","NEW NAME","COLOR","<img src='IMAGE URL' />"];
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>
after the </script> that is and it only works for me not for any 1 else?

this is wot i got any1 can help?

Quote
<script>
function name_across_board(){
//Created by Agent Moose (smcodes.smfforfree3.com)
var vfour = new Array()
vfour[vfour.length] = ["bugs ownz","вυgѕ σωηz","red","<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>
vfour[vfour.length] = ["daffy ownz","daffy ownz","red","<img src='http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/deleteafteriu0.png' />"];

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 #2 on: July 09, 2008, 10:44:47 am »
awhh you need to put the additonal ones directly under the existing one in the code.. not after the code.

do it this way... this should work:

Code: [Select]
<script>
function name_across_board(){
//Created by Agent Moose (smcodes.smfforfree3.com)
var vfour = new Array()
vfour[vfour.length] = ["bugs ownz","вυgѕ σωηz","red","<img src='http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/deleteafteriu0.png' />"];
vfour[vfour.length] = ["daffy ownz","daffy ownz","red","<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>

Offline Suki The Saluki

  • SMF For Free Sponsors
  • *
  • Posts: 827
    • View Profile

  • Total Badges: 14
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
« Last Edit: July 31, 2008, 11:04:57 am by Agent Z ™ »

Offline Suki The Saluki

  • SMF For Free Sponsors
  • *
  • Posts: 827
    • View Profile

  • Total Badges: 14
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Guide] Adding the Runescape Admin Crown
« Reply #4 on: August 02, 2008, 05:46:18 am »
Its not working for me:

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

Offline ~Coder Tyler~

  • SMF For Free Newbie
  • *
  • Posts: 4
    • View Profile

  • Total Badges: 8
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 First Post
Re: [Guide] Adding the Runescape Admin Crown
« Reply #5 on: August 07, 2008, 11:44:42 am »
Forum Url: http://www.serverjoescape.smfforfree4.com
I have tried, But it doesn't show up into my name.. It is weird because a few months ago I have tried this Tutorial and it worked. But now it isn't. Anybody's help will be greatly appreciated.
« Last Edit: August 07, 2008, 11:49:29 am by ~Coder Tyler~ »

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 #6 on: August 07, 2008, 11:52:40 am »
Forum Url: http://www.serverjoescape.smfforfree4.com
I have tried, But it doesn't show up into my name.. It is weird because a few months ago I have tried this Tutorial and it worked. But now it isn't. Anybody's help will be greatly appreciated.

I believe Moose made some changes awhile ago .  Try this:

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

Offline ~Coder Tyler~

  • SMF For Free Newbie
  • *
  • Posts: 4
    • View Profile

  • Total Badges: 8
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 First Post
Re: [Guide] Adding the Runescape Admin Crown
« Reply #7 on: August 07, 2008, 07:37:15 pm »
Sorry, It still didn't work.. Is my website not working anymore or did someone hack it and mess it all up or something.. Just please help me.

EDIT: Just fixed it! Thank you a ton!! :smitten:
« Last Edit: August 07, 2008, 07:44:45 pm by ~Coder Tyler~ »

Offline Lucas A33

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

  • Total Badges: 16
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Guide] Adding the Runescape Admin Crown
« Reply #8 on: August 23, 2008, 12:40:03 pm »
Make sure your names our your USERNAMES, Not Display Names!!!!

Offline Josh[y]

  • SMF For Free Sr. Member
  • *
  • Posts: 478
  • <Insert whitty tagline here.>
    • View Profile

  • Total Badges: 14
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Guide] Adding the Runescape Admin Crown
« Reply #9 on: August 28, 2008, 08:54:20 am »
how do i add more than one image?

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 #10 on: August 28, 2008, 09:07:31 am »
how do i add more than one image?

If you mean how do you do it for more then one person it tells you how to do it in the instructions.

If you mean you want more then one image per person (an image on each side of the name) there was a link left in the thread for another Guide that shows you how to do that:
http://www.smfsupport.com/support/smf_for_free_codes/guide_how_to_make_doubled_sided_image_names_guide-t19685.0.html

Offline Dr_Dre143

  • SMF For Free Newbie
  • *
  • Posts: 2
    • View Profile

  • Total Badges: 10
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 First Post
Re: [Guide] Adding the Runescape Admin Crown
« Reply #11 on: September 01, 2008, 06:50:35 pm »
Code:
vfour[vfour.length] = ["OLD NAME","NEW NAME","COLOR","<img src='IMAGE URL' />"];
Change OLD NAME to the current username

Change NEW NAME to the name you want it to change TO
If you want you can use-
                 bold:  <b>NEW NAME</b>
                italic:   <i>NEW NAME</i>
           underline:  <u>NEW NAME</u>

Change COLOR to the color you want their name to be
Change IMAGE URL to the images url (the direct link to the image

wat u ment bold:<b>name that stuff

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 #12 on: September 01, 2008, 07:01:14 pm »
Where is says NEW NAME in the code

If you want their name to show up in bold letters you can do it this way:   "<b>their name</b>"

replace their name with the name you want to show

use "i" for italics or "u" for underline as it says in the directions.
« Last Edit: September 01, 2008, 07:05:16 pm by simply sibyl »

Offline Lucas A33

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

  • Total Badges: 16
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Guide] Adding the Runescape Admin Crown
« Reply #13 on: September 04, 2008, 06:42:05 pm »
Does it have to be #438473 Color coded or just
"Red"

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 #14 on: September 04, 2008, 06:48:13 pm »
Does it have to be #438473 Color coded or just
"Red"

You can use "red"
If you want to use a specific shade of red use the hex value

Here's a list of color names that are supported by major browsers if you want to use just the name:

http://www.w3schools.com/Html/html_colornames.asp