Advertise Here

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

0 Members and 1 Guest are viewing this topic.

Offline Agent Moose

  • Moderator
  • *****
  • Posts: 836
  • Do not PM me for Code Support or Request
    • View Profile

  • Total Badges: 32
    Badges: (View All)
    Search Level 6 Tenth year Anniversary Nineth year Anniversary Eighth year Anniversary
Re: [Code] Adding the Runescape Admin Crown
« Reply #165 on: December 13, 2009, 09:55:48 pm »
Well how do you get a crown in your name if your staff...?
Heres one that makes it go by the Membergroup.  Meaning, if your in a certain membergroup, and image specified for that membergroup will be in front of your name

http://www.smfsupport.com/support/smf_for_free_codes_and_support/code_membergroup_image-t26655.0.html

(I forgot i had made this code :P )
Check out Revolution X's Brand new Code Index!

Offline Mr Rich

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

  • Total Badges: 5
    Badges: (View All)
    Topic Starter Level 1 First Post Second year Anniversary One year Anniversary
Re: [Code] Adding the Runescape Admin Crown
« Reply #166 on: January 04, 2010, 07:15:52 pm »
TY REVO IVE done it to mi forums Ive been wanting to do that for a long time!!:)


decapitatedscape.smfforfree3.com

Offline TheKingPro

  • SMF For Free Member
  • *
  • Posts: 27
    • View Profile
    • General Things

  • Total Badges: 10
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: [Code] Adding the Runescape Admin Crown
« Reply #167 on: January 04, 2010, 11:33:34 pm »
Thanks :)

This is great help for me :)

Offline smeximexi

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

  • Total Badges: 5
    Badges: (View All)
    Topic Starter Level 1 First Post Second year Anniversary One year Anniversary
Re: [Code] Adding the Runescape Admin Crown
« Reply #168 on: January 09, 2010, 01:37:59 am »
ok i followed this guide and typed in for color blueviolet and it made my name color blue violet but then the crown thats supposed to be to the left is a white box with a red x in it? could this mean thats i dont have something on my comptuer allowing me to see it or an error?

Offline smeximexi

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

  • Total Badges: 5
    Badges: (View All)
    Topic Starter Level 1 First Post Second year Anniversary One year Anniversary
Re: [Code] Adding the Runescape Admin Crown
« Reply #169 on: January 09, 2010, 01:42:44 am »
sorry for the double post but this is what i have.


//Created by Agent Moose (smcodes.smfforfree3.com)
var vfour = new Array()
vfour[vfour.length] = ["kaitlyn","kaitlyn","blueviolet","<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>

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: [Code] Adding the Runescape Admin Crown
« Reply #170 on: January 09, 2010, 01:44:36 am »
I just answered this in the other thread you created... I'll lock that one so we are using only one thread - one topic per issue is sufficient.

You did not specify the image url... where it says IMAGE URL in the code you have to put the direct image url for the image you want to use.

Offline smeximexi

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

  • Total Badges: 5
    Badges: (View All)
    Topic Starter Level 1 First Post Second year Anniversary One year Anniversary
Re: [Code] Adding the Runescape Admin Crown
« Reply #171 on: January 09, 2010, 01:48:14 am »
wowgot it to work guys =]]]]] thank you for the help =]

Offline owner jacob

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

  • Total Badges: 5
    Badges: (View All)
    Topic Starter Level 1 First Post Second year Anniversary One year Anniversary
Re: [Code] Adding the Runescape Admin Crown
« Reply #172 on: January 15, 2010, 08:40:03 pm »
hmm i dont see y this isnt working ive gone through all the pages of this thread but its still dont work

Code: [Select]
<script>
function name_across_board(){
//Created by Agent Moose (smcodes.smfforfree3.com)
var vfour = new Array()
vfour[vfour.length] = ["Jacob","","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>

URL: projectskilling.tk

thnx=)
« Last Edit: January 16, 2010, 10:32:02 am by owner jacob »

Offline Soboredlesso

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

  • Total Badges: 5
    Badges: (View All)
    Topic Starter Level 1 First Post Second year Anniversary One year Anniversary
Re: [Code] Adding the Runescape Admin Crown
« Reply #173 on: January 17, 2010, 03:26:00 pm »
Quote
<script>
function name_across_board(){
//Created by Agent Moose (smcodes.smfforfree3.com)
var vfour = new Array()
vfour[vfour.length] = ["Jacob","","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>

Hmm, you forgot to put in the display name for it. This should work:

<script>
function name_across_board(){
//Created by Agent Moose (smcodes.smfforfree3.com)
var vfour = new Array()
vfour[vfour.length] = ["Jacob","Jacob","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 vannakix

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

  • Total Badges: 8
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 First Post
Re: [Code] Adding the Runescape Admin Crown
« Reply #174 on: January 18, 2010, 05:32:50 pm »
I'm new to Smf forums-- i was wondering where hte "header" is

Offline Seldom Fail

  • Helpers
  • *
  • Posts: 2082
  • Helping for 3 years! :)
    • View Profile
    • My Site!

  • Total Badges: 26
    Badges: (View All)
    Sixth year Anniversary Fifth year Anniversary Apple User Search Poll Voter
Re: [Code] Adding the Runescape Admin Crown
« Reply #175 on: January 18, 2010, 06:42:14 pm »
Admin CP > Manage Styles > Headers/Footers
<--- Donate to SMF For Free! :D

Offline vannakix

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

  • Total Badges: 8
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 First Post
Re: [Code] Adding the Runescape Admin Crown
« Reply #176 on: January 18, 2010, 07:39:10 pm »
Thanks m8.

Offline vannakix

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

  • Total Badges: 8
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 First Post
Re: [Code] Adding the Runescape Admin Crown
« Reply #177 on: January 18, 2010, 07:46:41 pm »
Worked perfectly, is there anyway i can make it do that right when i set some1 as admin? or do i have to do it over again?

Offline Seldom Fail

  • Helpers
  • *
  • Posts: 2082
  • Helping for 3 years! :)
    • View Profile
    • My Site!

  • Total Badges: 26
    Badges: (View All)
    Sixth year Anniversary Fifth year Anniversary Apple User Search Poll Voter
<--- Donate to SMF For Free! :D

Offline godsword

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

  • Total Badges: 4
    Badges: (View All)
    Topic Starter Level 1 First Post One year Anniversary
Re: [Code] Adding the Runescape Admin Crown
« Reply #179 on: August 28, 2010, 11:29:14 am »
Hmm it doesn't work so ill tell u the forum url

http://blindscape.smfforfree3.com/

Header:

<script src="/jquery.js"></script>

Footer:

<script>
function name_across_board(){
//Created by Agent Moose (smcodes.smfforfree3.com)
var vfour = new Array()
vfour[vfour.length] = ["godsword","Godsword","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>


Thanks if u make it work,

Id appreciate it.