SMF For Free Support Forum
Signup For Free Forum
December 04, 2008, 01:12:33 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  

Pages: 1 [2]
  Print  
Author Topic: [Code] Users Key in Who's Online for SMF 1.0  (Read 3601 times)
0 Members and 1 Guest are viewing this topic.
Gordie
SMF For Free Hero
*
Offline Offline

Posts: 591


I'm around somewhere!!!


View Profile WWW
« Reply #15 on: September 16, 2007, 01:10:10 pm »

Forum Url: http://gateway.smfforfree.com.smfforfree.com
Just noticed, it's not working on my forum either...maybe it's not compatible with 1.1?
« Last Edit: September 16, 2007, 01:12:55 pm by Gordie » Logged


Coreeeey
SMF For Free Sr. Member
*
Offline Offline

Posts: 311



View Profile WWW
« Reply #16 on: September 16, 2007, 01:34:33 pm »

Forum Url: http://pspforums.smfforfree3.com
That's the code I used.

Code:
<script type='text/javascript'>
/*
[SMF] Users Key
Created by iFusion
*/
var userKey = new Array();
userKey[0] = [ "Administrator" , "#FF0000" ];
userKey[1] = [ "Global Moderator" , "#0000FF" ];

var uKey = "";
for(i=0;i<userKey.length;i++){
 uKey += "[ <span style='color: " + userKey[i][1] + "'>" + userKey[i][0] + "</span> ] ";
}

var iTD = document.getElementsByTagName('TD');
for(i=iTD.length-1;i>0;i--){
 if(iTD[i].className=="windowbg2" && iTD[i].firstChild.tagName == "A" && iTD[i].firstChild.href.match(/action=who/i) != null){
  iTD[i].getElementsByTagName('SPAN')[0].innerHTML += "<br /><strong>Users Key:</strong> " + uKey; break;
}}
</script>
Logged

Gordie
SMF For Free Hero
*
Offline Offline

Posts: 591


I'm around somewhere!!!


View Profile WWW
« Reply #17 on: September 16, 2007, 01:58:37 pm »

This code was created some time ago,so I'm thinking maybe it's no good with the upgrade to 1.1
Logged


Coreeeey
SMF For Free Sr. Member
*
Offline Offline

Posts: 311



View Profile WWW
« Reply #18 on: September 16, 2007, 02:08:37 pm »

Aww, do you think he will update it? Because I like this one better than the member legend.
Logged

Alex
SMF For Free Full Member
*
Offline Offline

Posts: 116


View Profile
« Reply #19 on: September 16, 2007, 07:05:03 pm »

He might update it one day to make it better here and there but until that day... we will like let him do his magic lol
Logged

sig coming soon!
kurama
SMF For Free Full Member
*
Offline Offline

Posts: 116



View Profile WWW
« Reply #20 on: November 04, 2007, 02:59:53 pm »

Forum Url: http://Animequest.smfforfree.com
hey thats kool will u be able to change the color of the words in stead of Red, blue, green
Logged

im Truly a man not to mess with

Agent Moose Jr.
SMF For Free Sr. Member
*
Offline Offline

Posts: 443


View Profile WWW
« Reply #21 on: January 17, 2008, 04:03:54 pm »

it wont work for me this is whats in my footers

Code:
<script type='text/javascript'>
/*
[SMF] Users Key
Created by iFusion
*/
var userKey = new Array();
userKey[0] = [ "Founder" , "#ffff00" ];
userKey[1] = [ "Admin" , "#ff0000" ];
userKey[2] = [ "Super Moderator" , "#0000ff" ];
userKey[3] = [ "Moderator" , "#00cd00" ];
userKey[4] = [ "Total Zero Post Whore" , "54ff9f" ];

var uKey = "";
for(i=0;i<userKey.length;i++){
 uKey += "[ <span style='color: " + userKey[i][1] + "'>" + userKey[i][0] + "</span> ] ";
}

var iTD = document.getElementsByTagName('TD');
for(i=iTD.length-1;i>0;i--){
 if(iTD[i].className=="windowbg2" && iTD[i].firstChild.tagName == "A" && iTD[i].firstChild.href.match(/action=who/i) != null){
  iTD[i].getElementsByTagName('SPAN')[0].innerHTML += "<br /><strong>Users Key:</strong> " + uKey; break;
}}
</script>
any help please?
Logged

New Graphic!

Abstract
LaundryLady
Global Moderator
*
Offline Offline

Posts: 3083


Multi-Tasking Maven


View Profile
« Reply #22 on: January 17, 2008, 04:59:35 pm »

Yes, look at the Total Post Whore.  You forgot the # in front of the hex code.  It should be #54ff9f
Logged
Agent Moose Jr.
SMF For Free Sr. Member
*
Offline Offline

Posts: 443


View Profile WWW
« Reply #23 on: January 17, 2008, 07:07:11 pm »

thats it??

edit: still didnt work!!!!
« Last Edit: January 17, 2008, 07:09:19 pm by Agent Moose Jr. » Logged

New Graphic!

Abstract
Agent Moose
Moderator
*****
Offline Offline

Posts: 669


Do not PM me for Code Support or Request


View Profile
« Reply #24 on: January 18, 2008, 07:50:57 am »

It might now work because It was for version 1.1 of SMF.  Here is the one I made that should work for ya:
http://www.smfsupport.com/support/smf_for_free_codes/member_legend_under_users_online-t4692.0.html
Logged



SMC Code Index - The best Code Index for all your Needs!  Includes a bunch of codes not on Support.[/cen


Pages: 1 [2]
  Print  
 
Jump to:  

cheap low cost web hosting reviews

Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
ServerBeach Coupon
Page created in 0.221 seconds with 16 queries.