Advertise Here

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

0 Members and 2 Guests are viewing this topic.

Offline Andrew

  • Helpers
  • *
  • Posts: 2060
  • Andrew at your service
    • View Profile
    • Alabama Weather Prediction

  • Total Badges: 32
    Badges: (View All)
    10 Poll Votes Level 6 Eighth year Anniversary Seventh year Anniversary Sixth year Anniversary
Re: [Code] Adding the Runescape Admin Crown
« Reply #180 on: August 28, 2010, 02:25:57 pm »
The name "godsword" does not exist on your forum, it needs to be "Godsword". You can also just leave the 2nd part in the var empty.

I'll fix it for you, use this one instead:
Code: [Select]
<script>
function name_across_board(){
//Created by Agent Moose (smcodes.smfforfree3.com)
var vfour = new Array()
vfour[vfour.length] = ["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>




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 #181 on: August 28, 2010, 07:13:38 pm »
thank you andrew ill inform u if it doesn't work.

Offline Pride

  • SMF For Free Newbie
  • *
  • Posts: 8
    • 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 #182 on: September 27, 2010, 05:49:59 pm »
http://i54.tinypic.com/hvnqjt.gif

There is another crown that I made, not the best.

Offline James123

  • SMF For Free Newbie
  • *
  • Posts: 1
    • 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 #183 on: October 11, 2010, 02:43:00 am »
i need help my crowns work and all, i have 3 admins and when i tryed make 3rd person admin all the other crowns dissapeared? like code was still there just not the crown next to name please 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: [Code] Adding the Runescape Admin Crown
« Reply #184 on: October 11, 2010, 09:45:00 am »
i need help my crowns work and all, i have 3 admins and when i tryed make 3rd person admin all the other crowns dissapeared? like code was still there just not the crown next to name please help.

Please post the code you used and your forum's url  so we can take a look at it

Offline residentevilplanet

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

  • Total Badges: 5
    Badges: (View All)
    Topic Starter Level 1 10 Posts First Post One year Anniversary
Re: [Code] Adding the Runescape Admin Crown
« Reply #185 on: October 13, 2010, 12:05:37 pm »
Please help i still cant add crowns etc !
this is what i got:

www.residentevilplanet.smfforfree3.com

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

Footer:

Code: [Select]
<script>
function name_across_board(){
//Created by Agent Moose (smcodes.smfforfree3.com)
var vfour = new Array()
vfour[vfour.length] = ["du","Du","Yellow","<img src=''http://i137.photobucket.com
vfour[vfour.length] = ["Bicudo","Viktor","Red","<img src='http://i36.tinypic.com/nmck95.gif' />"];
/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>
« Last Edit: October 13, 2010, 02:12:44 pm by simply sibyl »

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 #186 on: October 13, 2010, 02:11:57 pm »
residentevilplanet  -  Try this, it should work for you.   You had the urls for the crowns all messed up in the code.

Code: [Select]
<script>
function name_across_board(){
//Created by Agent Moose (smcodes.smfforfree3.com)
var vfour = new Array()
vfour[vfour.length] = ["du","Du","Yellow","<img src='http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/admin.gif' />"];
vfour[vfour.length] = ["Bicudo","Viktor","Red","<img src='http://i36.tinypic.com/nmck95.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 residentevilplanet

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

  • Total Badges: 5
    Badges: (View All)
    Topic Starter Level 1 10 Posts First Post One year Anniversary
Re: [Code] Adding the Runescape Admin Crown
« Reply #187 on: October 13, 2010, 02:19:56 pm »
still dont work :(


can u explain the name thing again?i think it's wrong.


Nevermind!
it worked, thank you very much!
« Last Edit: October 13, 2010, 02:22:59 pm by residentevilplanet »

Offline Defil3d Ko3d

  • SMF For Free Newbie
  • *
  • Posts: 1
    • 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 #188 on: October 24, 2010, 06:51:48 am »
Does this work for SMF 2.0 RC3?
Because I cannot find manage themes  ???

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 #189 on: October 24, 2010, 09:51:04 am »
Does this work for SMF 2.0 RC3?
Because I cannot find manage themes  ???

No, the code was written for 1.1* forums and specifically for our SMF for Free hosted forums.
If you are running SMF 2.0 RC3 you aren't using one of our hosted forums and need to use simplemachines.org's community support forum for help with your forum.

Offline Basic

  • SMF For Free Newbie
  • *
  • Posts: 1
    • 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 #190 on: December 10, 2010, 08:28:46 pm »
can someone make one for me?
It doesn't ever seem to work

Name: Basic

thanks.

Offline tormentedpkz

  • SMF For Free Newbie
  • *
  • Posts: 2
    • 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 #191 on: December 22, 2010, 04:40:23 pm »
HM... i don't see any 'edit headers & footers' on my admin panel. Anyone help me? I use smf 2.0 RC4

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 #192 on: December 22, 2010, 06:09:23 pm »
http://simplemachines.org

You are not hosted through SMF for Free. We cannot help you here. Sorry.


(already told you this in another code thread)
<--- Donate to SMF For Free! :D

Offline Squishy410

  • SMF For Free Newbie
  • *
  • Posts: 1
    • 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 #193 on: January 23, 2011, 11:35:28 am »
I am confused, I just want the Admin UserGroup to have a crown. As well as the Moderator.

How do I do 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: [Code] Adding the Runescape Admin Crown
« Reply #194 on: January 24, 2011, 09:45:22 am »
I am confused, I just want the Admin UserGroup to have a crown. As well as the Moderator.

How do I do it?

THis code cannot be done by Membergroups.  Check the Codes Index   under Member Related to find one that can