SMF For Free Support Forum
Signup For Free Forum
September 02, 2010, 11:38:42 pm
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
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
SMF For Free Support Forum
>
SMF For Free Support
>
SMF For Free Codes and Support
(Moderator:
Agent Moose
) >
[Code] Adding the Runescape Admin Crown
Pages: [
1
]
2
3
4
...
13
« previous
next »
Print
Author
Topic: [Code] Adding the Runescape Admin Crown (Read 78082 times)
0 Members and 3 Guests are viewing this topic.
revolation
SMF For Free Member
Offline
Posts: 44
MoparScape Expert-Message me for help.
[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:
<script src="/jquery.js"></script>
This code goes in your FOOTER:
Instructions for editing it are under the code.
Code:
<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:
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: 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://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://i27.tinypic.com/2cgk1f8.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: June 11, 2009, 11:08:30 am by simply sibyl
»
Logged
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)
magebow99
SMF For Free Newbie
Offline
Posts: 12
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:
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
' />"];
Logged
simply sibyl
Global Moderator
Offline
Posts: 13750
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:
<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>
Logged
Please Read ----->
Tips for Using Support
Support FAQ
|
Guides & Tutorials
Agent Z
SMF For Free Sponsors
Offline
Posts: 827
Re: [Guide] Adding the Runescape Admin Crown
«
Reply #3 on:
July 31, 2008, 11:03:18 am »
guide here to make 2 icons:
http://www.smfsupport.com/support/smf_for_free_codes/guide_how_to_make_doubled_sided_image_names_guide-t19685.0.html
«
Last Edit: July 31, 2008, 11:04:57 am by Agent Z ™
»
Logged
Agent Z
SMF For Free Sponsors
Offline
Posts: 827
Re: [Guide] Adding the Runescape Admin Crown
«
Reply #4 on:
August 02, 2008, 05:46:18 am »
Its not working for me:
Code:
<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>
Logged
~Coder Tyler~
SMF For Free Newbie
Offline
Posts: 4
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~
»
Logged
simply sibyl
Global Moderator
Offline
Posts: 13750
Re: [Guide] Adding the Runescape Admin Crown
«
Reply #6 on:
August 07, 2008, 11:52:40 am »
Quote from: ~Coder Tyler~ 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.
I believe Moose made some changes awhile ago . Try this:
Code:
<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>
Logged
Please Read ----->
Tips for Using Support
Support FAQ
|
Guides & Tutorials
~Coder Tyler~
SMF For Free Newbie
Offline
Posts: 4
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!!
«
Last Edit: August 07, 2008, 07:44:45 pm by ~Coder Tyler~
»
Logged
Lucas A33
SMF For Free Full Member
Offline
Posts: 159
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!!!!
Logged
Josh[y]
SMF For Free Sr. Member
Offline
Posts: 478
<Insert whitty tagline here.>
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?
Logged
simply sibyl
Global Moderator
Offline
Posts: 13750
Re: [Guide] Adding the Runescape Admin Crown
«
Reply #10 on:
August 28, 2008, 09:07:31 am »
Quote from: Colonel Pepsi on August 28, 2008, 08:54:20 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
Logged
Please Read ----->
Tips for Using Support
Support FAQ
|
Guides & Tutorials
Dr_Dre143
SMF For Free Newbie
Offline
Posts: 2
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
Logged
http://docfightersclan.smfforfree2.com/
join my forums :p
simply sibyl
Global Moderator
Offline
Posts: 13750
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
»
Logged
Please Read ----->
Tips for Using Support
Support FAQ
|
Guides & Tutorials
Lucas A33
SMF For Free Full Member
Offline
Posts: 159
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"
Logged
simply sibyl
Global Moderator
Offline
Posts: 13750
Re: [Guide] Adding the Runescape Admin Crown
«
Reply #14 on:
September 04, 2008, 06:48:13 pm »
Quote from: Lucas A33 on September 04, 2008, 06:42:05 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
Logged
Please Read ----->
Tips for Using Support
Support FAQ
|
Guides & Tutorials
Pages: [
1
]
2
3
4
...
13
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
SMF For Free Site
-----------------------------
=> Announcements
=> General Discussion
=> Suggestions
-----------------------------
SMF For Free Support
-----------------------------
=> General Support
=> Guides and Tutorials
=> Stylesheet Codes
=> Stylesheet Requests and Support
=> SMF For Free Codes and Support
===> Code Requests
=> Bugs
=> Report Terms of Service Violations
-----------------------------
General Stuff
-----------------------------
=> General Chat
=> Advertise Your Board/Blog
=> Programming
===> HTML
===> JavaScript
===> C,C++
===> Java
===> .Net
===> PHP
===> Visual Basic
=> Gaming
===> PC Games
===> Nintendo
===> Playstation
===> Xbox / Xbox 360
=> Graphics
===> Living Avatars
Loading...