SMF For Free Support Forum
Signup For Free Forum
April 23, 2014, 05:42:07 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

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 Chat  

Pages: 1 ... 10 11 12 [13] 14 15
  Print  
Author Topic: [Code] Adding the Runescape Admin Crown  (Read 159293 times)
0 Members and 1 Guest are viewing this topic.
Andrew
Global Moderator
*
Offline Offline

Posts: 2055

Andrew at your service


View Profile WWW
Total Badges: 24
Badges: (View All)
Webmaster Fourth year Anniversary Search Level 5 Windows User
« 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:
<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>



Logged

godsword
SMF For Free Newbie
*
Offline Offline

Posts: 3


View Profile
Total Badges: 4
Badges: (View All)
Topic Starter Level 1 First Post One year Anniversary
« Reply #181 on: August 28, 2010, 07:13:38 pm »

thank you andrew ill inform u if it doesn't work.
Logged
Pride
SMF For Free Newbie
*
Offline Offline

Posts: 8


View Profile
Total Badges: 4
Badges: (View All)
Topic Starter Level 1 First Post One year Anniversary
« 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.
Logged
James123
SMF For Free Newbie
*
Offline Offline

Posts: 1


View Profile
Total Badges: 4
Badges: (View All)
Topic Starter Level 1 First Post One year Anniversary
« 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.
Logged
simply sibyl
Helpers
*
Offline Offline

Posts: 14347


On hiatus


View Profile WWW
Total Badges: 31
Badges: (View All)
Level 6 Poll Voter Webmaster Arcade Highscore Windows User
« 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
Logged
residentevilplanet
SMF For Free Newbie
*
Offline Offline

Posts: 14


View Profile
Total Badges: 5
Badges: (View All)
Topic Starter Level 1 10 Posts First Post One year Anniversary
« 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:
<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 » Logged
simply sibyl
Helpers
*
Offline Offline

Posts: 14347


On hiatus


View Profile WWW
Total Badges: 31
Badges: (View All)
Level 6 Poll Voter Webmaster Arcade Highscore Windows User
« 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:
<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>
Logged
residentevilplanet
SMF For Free Newbie
*
Offline Offline

Posts: 14


View Profile
Total Badges: 5
Badges: (View All)
Topic Starter Level 1 10 Posts First Post One year Anniversary
« Reply #187 on: October 13, 2010, 02:19:56 pm »

still dont work Sad


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 » Logged
Defil3d Ko3d
SMF For Free Newbie
*
Offline Offline

Posts: 1


View Profile
Total Badges: 4
Badges: (View All)
Topic Starter Level 1 First Post One year Anniversary
« Reply #188 on: October 24, 2010, 06:51:48 am »

Does this work for SMF 2.0 RC3?
Because I cannot find manage themes  Huh
Logged
simply sibyl
Helpers
*
Offline Offline

Posts: 14347


On hiatus


View Profile WWW
Total Badges: 31
Badges: (View All)
Level 6 Poll Voter Webmaster Arcade Highscore Windows User
« Reply #189 on: October 24, 2010, 09:51:04 am »

Does this work for SMF 2.0 RC3?
Because I cannot find manage themes  Huh

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.
Logged
Basic
SMF For Free Newbie
*
Offline Offline

Posts: 1


View Profile
Total Badges: 4
Badges: (View All)
Topic Starter Level 1 First Post One year Anniversary
« 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.
Logged
tormentedpkz
SMF For Free Newbie
*
Offline Offline

Posts: 2


View Profile
Total Badges: 4
Badges: (View All)
Topic Starter Level 1 First Post One year Anniversary
« 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
Logged
Seldom Fail
Global Moderator
*
Offline Offline

Posts: 2082


Helping for 3 years! :)


View Profile WWW
Total Badges: 24
Badges: (View All)
Apple User Search Poll Voter Level 5 Webmaster
« 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)
Logged

<--- Donate to SMF For Free! Cheesy
Squishy410
SMF For Free Newbie
*
Offline Offline

Posts: 1


View Profile
Total Badges: 4
Badges: (View All)
Topic Starter Level 1 First Post One year Anniversary
« 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?
Logged
simply sibyl
Helpers
*
Offline Offline

Posts: 14347


On hiatus


View Profile WWW
Total Badges: 31
Badges: (View All)
Level 6 Poll Voter Webmaster Arcade Highscore Windows User
« 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
Logged


Pages: 1 ... 10 11 12 [13] 14 15
  Print  
 
Jump to:  



Powered by SMF 1.1.19 | SMF © 2013, Simple Machines