Advertise Here

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

0 Members and 2 Guests are viewing this topic.

Offline nondier

  • SMF For Free Member
  • *
  • Posts: 38
    • View Profile
    • Synysterscape

  • Total Badges: 12
    Badges: (View All)
    Windows User Topic Starter Combination Level 2 Level 1
Re: [Guide] Adding the Runescape Admin Crown
« Reply #30 on: November 09, 2008, 01:50:31 pm »
Forum Url: http://synysterscape.smfforfree3.com
thanks so much  :)
<embed src="http://www.xatech.com/web_gear/chat/chat.swf" quality="high" bgcolor="#000000" width="540" height="405" name="chat" FlashVars="id=40672730&gn=Synysterscape" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://xat.com/update_flash.s

Offline |~|-XxxGearzOfStrxxX-|~|

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

  • Total Badges: 8
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 First Post
Re: [Guide] Adding the Runescape Admin Crown
« Reply #31 on: December 21, 2008, 01:38:49 pm »
Forum Url: http://strengthlegendsforums.smfforfree.com
Sorry, i did it wrong last post due to some mis Copy-Paste, anyways i'm still having the same problem.

Heres what i got for code, Is this right?

Quote
Code:
<script>
function name_across_board(){
//Created by Agent Moose (smcodes.smfforfree3.com)
var vfour = new Array()
vfour[vfour.length] = ["|-xXxGearzOfStrxXx-|","<b>|-xXxGearzOfStrxXx-|","yellow","<img src='http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/mod_gold.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>


I dont know whats wrong but please help.

~SLC-Owner-|-xXxGearzOfStrxXx-|

EDIT: LOL NEVER MIND FIGURED IT OUT....


Offline interruption

  • SMF For Free Member
  • *
  • Posts: 24
    • View Profile
    • TheMegaPolo Community

  • Total Badges: 11
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: [Guide] Adding the Runescape Admin Crown
« Reply #32 on: January 18, 2009, 01:38:23 am »
Thanks, I really wanted this.

Offline buffaloparrot

  • SMF For Free Full Member
  • *
  • Posts: 214
    • View Profile

  • Total Badges: 13
    Badges: (View All)
    Level 3 Windows User Topic Starter Combination Level 2
Re: [Guide] Adding the Runescape Admin Crown
« Reply #33 on: January 21, 2009, 04:50:34 pm »
I feel as if I'm on a totally different planet. Where do I go to put this in? Where in the admin center do I go?

Offline Jessie

  • SMF For Free Hero
  • *
  • Posts: 754
    • View Profile
    • iSimple

  • Total Badges: 18
    Badges: (View All)
    Windows User Apple User Mobile User Topic Starter Combination
Re: [Guide] Adding the Runescape Admin Crown
« Reply #34 on: January 21, 2009, 08:08:51 pm »
I feel as if I'm on a totally different planet. Where do I go to put this in? Where in the admin center do I go?

Admin - Manage Styles - Create Style (Put in a name) - Modify Style (Select that name)

Scroll down to bottom and you'll see CSS.
Delete whats there and paste the given code.

If it says to add somthing to Headers/Footers go to:
Admin - Manage Styles - Headers/Footers

If it gives you image links, modify them here:
Admin - Manage Styles - Customize Images
Feel free to PM me or email me. ;)

My Forum :)

Offline buffaloparrot

  • SMF For Free Full Member
  • *
  • Posts: 214
    • View Profile

  • Total Badges: 13
    Badges: (View All)
    Level 3 Windows User Topic Starter Combination Level 2
Re: [Guide] Adding the Runescape Admin Crown
« Reply #35 on: January 22, 2009, 02:21:06 pm »
Ohh ok thank you so much, Jessie.

The only problem is that I don't delete the code that's there, because then it removes everything except the text, links, and some images. Adding it into the code that's there doesn't work... Anyone know?
« Last Edit: January 22, 2009, 02:52:57 pm by buffaloparrot »

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: [Guide] Adding the Runescape Admin Crown
« Reply #36 on: January 22, 2009, 03:37:55 pm »
Add the code to your footer either above or below any code you may have there already.
Make sure to use the jquery include code that is posted in the directions -  THAT code has to be in the Header.

If you have any trouble with the code working please post the code you used so we can take a look at it and your forum url.

Offline buffaloparrot

  • SMF For Free Full Member
  • *
  • Posts: 214
    • View Profile

  • Total Badges: 13
    Badges: (View All)
    Level 3 Windows User Topic Starter Combination Level 2
Re: [Guide] Adding the Runescape Admin Crown
« Reply #37 on: January 23, 2009, 10:12:50 pm »
Thanks Sibyl. It worked beautifully.

I would reccomend to Revolation to put what he said in the first post. It'll help tecnically challenged people like me.

Offline ziiiiiiiin

  • SMF For Free Member
  • *
  • Posts: 45
  • Visit http://run3sc4p3.smfforfree.com/index.php
    • View Profile
    • Run3sc4p3

  • Total Badges: 10
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: [Guide] Adding the Runescape Admin Crown
« Reply #38 on: February 22, 2009, 04:47:37 am »
<script>
function name_across_board(){
//Created by Agent Moose (smcodes.smfforfree3.com)
var vfour = new Array()
vfour[vfour.length] = ["Ziiiiiiiin","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>

thats the code i used but it wont work, can you plz fix it.
hacth my eggs





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: [Guide] Adding the Runescape Admin Crown
« Reply #39 on: February 22, 2009, 06:32:45 am »
ziiiiiiin did you put the jquery code in your header?

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: [Guide] Adding the Runescape Admin Crown
« Reply #40 on: February 22, 2009, 10:31:18 am »
It looks like she removed the NEW NAME from the script.

Alright make sure you have this in you header:
Code: [Select]
<script src="/jquery.js"></script>
And heres the fixed code for ya, add this to you footers
Code: [Select]
<script>
function name_across_board(){
//Created by Agent Moose (smcodes.smfforfree3.com)
var vfour = new Array()
vfour[vfour.length] = ["Ziiiiiiiin","","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>

Hope that worked :)

Offline ziiiiiiiin

  • SMF For Free Member
  • *
  • Posts: 45
  • Visit http://run3sc4p3.smfforfree.com/index.php
    • View Profile
    • Run3sc4p3

  • Total Badges: 10
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: [Guide] Adding the Runescape Admin Crown
« Reply #41 on: February 22, 2009, 11:44:50 pm »
yea it worked thx
hacth my eggs





Offline Lolsant

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

  • Total Badges: 8
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 First Post
Re: [Guide] Adding the Runescape Admin Crown
« Reply #42 on: February 24, 2009, 07:32:17 am »
I tested it on my other forums, i made for some testings, and it worked there..
Why it wont on the other forums?


Url = Rune-smash.co.cc


Please look through and reply / Pm me.


Thanks!



-Lolsant

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: [Guide] Adding the Runescape Admin Crown
« Reply #43 on: February 24, 2009, 12:20:49 pm »

Url = Rune-smash.co.cc


The above url is not an SMF for Free hosted forum -  we should have picked up on that sooner, sorry.
You'll need to use simplemachines.org for that forum.
« Last Edit: February 24, 2009, 12:26:52 pm by simply sibyl »

Offline 99strp0onz

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

  • Total Badges: 8
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 First Post
Re: [Guide] Adding the Runescape Admin Crown
« Reply #44 on: February 24, 2009, 01:25:59 pm »
Where's my 'HEADER' and 'FOOTER'?