SMF For Free Support Forum
Signup For Free Forum
May 21, 2013, 06:49:07 am
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
Chat
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
...
10
11
12
[
13
]
14
« previous
next »
Print
Author
Topic: [Code] Adding the Runescape Admin Crown (Read 145538 times)
0 Members and 1 Guest are viewing this topic.
Andrew
Global Moderator
Offline
Posts: 2055
Andrew at your service
Total Badges: 24
Badges:
(View All)
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:
<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
General Support FAQ
|
Guides Index
|
Code Index
godsword
SMF For Free Newbie
Offline
Posts: 3
Total Badges: 4
Badges:
(View All)
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.
Logged
Pride
SMF For Free Newbie
Offline
Posts: 8
Total Badges: 4
Badges:
(View All)
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.
Logged
James123
SMF For Free Newbie
Offline
Posts: 1
Total Badges: 4
Badges:
(View All)
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.
Logged
simply sibyl
Helpers
Offline
Posts: 14347
On hiatus
Total Badges: 31
Badges:
(View All)
Re: [Code] Adding the Runescape Admin Crown
«
Reply #184 on:
October 11, 2010, 09:45:00 am »
Quote from: James123 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.
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
Posts: 14
Total Badges: 5
Badges:
(View All)
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:
<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
Posts: 14347
On hiatus
Total Badges: 31
Badges:
(View All)
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:
<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
Posts: 14
Total Badges: 5
Badges:
(View All)
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
»
Logged
Defil3d Ko3d
SMF For Free Newbie
Offline
Posts: 1
Total Badges: 4
Badges:
(View All)
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
Logged
simply sibyl
Helpers
Offline
Posts: 14347
On hiatus
Total Badges: 31
Badges:
(View All)
Re: [Code] Adding the Runescape Admin Crown
«
Reply #189 on:
October 24, 2010, 09:51:04 am »
Quote from: Defil3d Ko3d on October 24, 2010, 06:51:48 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.
Logged
Basic
SMF For Free Newbie
Offline
Posts: 1
Total Badges: 4
Badges:
(View All)
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.
Logged
tormentedpkz
SMF For Free Newbie
Offline
Posts: 2
Total Badges: 4
Badges:
(View All)
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
Logged
Seldom Fail
Global Moderator
Offline
Posts: 2082
Helping for 3 years! :)
Total Badges: 24
Badges:
(View All)
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)
Logged
<--- Donate to SMF For Free!
Squishy410
SMF For Free Newbie
Offline
Posts: 1
Total Badges: 4
Badges:
(View All)
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?
Logged
simply sibyl
Helpers
Offline
Posts: 14347
On hiatus
Total Badges: 31
Badges:
(View All)
Re: [Code] Adding the Runescape Admin Crown
«
Reply #194 on:
January 24, 2011, 09:45:22 am »
Quote from: Squishy410 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?
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
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...