06 January, 2009, 10:45:25 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: We Return!
 

Pages: [1] 2 3   Go Down
  Print  
Author Topic: Online/Offline Member Legend!  (Read 2779 times)
0 Members and 1 Guest are viewing this topic.
United States
Long live TCZ

TCZ r0x my s0x

Administrator

Platinum Contribution
*
Berzerker

Karma: 89
Online Online

Gender: Male
Posts: 5060
4297018.58 Secksi Coins

View Inventory
Send Money to slayer766

View Profile
« on: 22 September, 2006, 02:34:19 AM »
Take me down to the paradise city where the grass is green and the girls are pretty!

This code is a bit tacky in IE so I advise you to Get FireFox to obtain the best out of this code. Wink


Code Name: Online/Offline Member Legend
Description: Ok, this Member Legend is by far the best legend ever made for IF in my honest opinion. What it does is it creates a Member Legend in the Users Online section and you can add as many Groups as you want, though you need to add CSS classes with them, which I will explain that after I give you the code.
Preview of it in Use: http://z10.invisionfree.com/slayer766hacks
Where it goes: Footer

This is the code WITHOUT images:

Quote
<script>
//Online/Offline Member Legend in Stats
//By slayer766 of thecodingzone.com

var NewGroup = new Array();
NewGroup[0] = ["GROUP_NAME","admin","URL_HERE"];
NewGroup[1] = ["GROUP_NAME","moderator","URL_HERE"];
NewGroup[2] = ["GROUP_NAME","member","URL_HERE"];

document.write("<script language='javascript' src='http://209.85.48.11/9178/48/upload/p1579697.ibf'><\/script>");
</script>

This is the code WITH the images:

Quote
<script>
//Online/Offline Member Legend in Stats
//By slayer766 of thecodingzone.com

var NewGroup = new Array();
NewGroup[0]=["GROUP_NAMEE","CSS_CLASS","IMG_URL","URL_TO_GROUP"];

document.write("<script language='javascript' src='http://209.85.48.11/9224/111/upload/p1925082.ibf'><\/script>");
</script>

Edit whats in RED to the name of the group for the Member legend.
Edit whats in GREEN to the CSS class you set up for the group.
Edit whats in Yellow to the image you want.
Edit whats in PURPLE to the link where your group is found in the member list.

For the GREEN parts on the CSS Classes you need to add whatever you have in the Green spot to your CSS. For example, take the admin which is in the code right now for the Admin and add it to the bottom of your CSS section:

.admin,.admin:link { color:red }

Change the color:red to whatever you want it to be. Cheesy

Now go to Users and Groups> Manage User Groups> click a group you want to edit> in the Online List Format [Prefix] place this in there:

Code:
<span class="admin">

You change the "admin" to what you have down for the GREEN section for your group.

Then add this in the Online List Format [Sufffix]:

Code:
</span>

After you have all of that done you should be set to go. Cheesy Oh, if you want to add more Groups add more of these after each other:

This is the one WITHOUT the images:
Code:
NewGroup[0] = ["GROUP_NAME","CSS_CLASS","URL_HERE"];

This is the one WITH the images:
Code:
NewGroup[0] = ["GROUP_NAME","CSS_CLASS","URL_HERE"];

Remember to change the NewGroup[0] to increase by 1 for each line you add. Tongue

I would like to specialy thanks my best friend Slaytanist who has helped me on this. Thanks slay.
Logged

Live for nothing or die for something






This resource was found useful by 1 out of 1 members. Rate it: [applaud] [smite]
United Kingdom
More metal than thee...

Low-Tech Code Monkey

Administrator

Silver Contribution
*
Conqueror

Karma: 98
Offline Offline

Gender: Female
Posts: 3862
2896498.18 Secksi Coins

View Inventory
Send Money to Slaytanist

View Profile WWW
« Reply #1 on: 22 September, 2006, 02:53:55 AM »
They think they know who I am... All that they know is I love to kill...

Any time man, and awesome job on the code!
Logged


My standard sig is rated 15.
theworldneedsmore.com/puterphobia



I love you, Emz!
United States
Long live TCZ

TCZ r0x my s0x

Administrator

Platinum Contribution
*
Berzerker

Karma: 89
Online Online

Gender: Male
Posts: 5060
4297018.58 Secksi Coins

View Inventory
Send Money to slayer766

View Profile
« Reply #2 on: 22 September, 2006, 04:49:19 AM »
Knock knock knocking on heaven's door...

Thanksz0rs dude! lol
Logged

Live for nothing or die for something






GaribaldiNetherlands
Garibaldi!,

the Queen buys it

*
Newbie

Karma: 0
Offline Offline

Gender: Male
Posts: 48
438.00 Secksi Coins

View Inventory
Send Money to Garibaldi

View Profile WWW
« Reply #3 on: 22 September, 2006, 04:57:17 PM »

Thanksz0rs dudes!
Logged

*
Newbie

Karma: 0
Offline Offline

Posts: 1
58.00 Secksi Coins

View Inventory
Send Money to Cashel

View Profile
« Reply #4 on: 13 February, 2007, 04:30:54 AM »

how do you make it so the hover things are images? its like that in some forums, like Gemz Shining Forums (http://z15.invisionfree.com/Gemz_Shining_Forums/index.php?act=idx)
Logged

United States
Long live TCZ

TCZ r0x my s0x

Administrator

Platinum Contribution
*
Berzerker

Karma: 89
Online Online

Gender: Male
Posts: 5060
4297018.58 Secksi Coins

View Inventory
Send Money to slayer766

View Profile
« Reply #5 on: 14 February, 2007, 08:37:32 PM »
Knock knock knocking on heaven's door...

I made that code specificly for them thats why. Tongue Ask them to see if they could lend you their version. Wink
Logged

Live for nothing or die for something






Banned
*
Newbie

Karma: -1
Offline Offline

Posts: 32
268.00 Secksi Coins

View Inventory
Send Money to Dropkicksidekick

View Profile
« Reply #6 on: 04 April, 2007, 12:38:53 AM »

Nice code I love it.

http://z8.invisionfree.com/Tripping_With_Swords/index.php?act=idx

can you view my page source or something and tell my why the right colors aren't showing up on everyone and why it doesn't show everyone that is even in the group that is on.

can you please make it work for IE and other exploeres
Logged

United States
"A programmer who shys away from elegant tricks will never be more than competent at best. Ego and a desire to attempt the impossible are traits of most great coders." - Slaytanist

"Music is love in search of a word" - S. Gabrielle

Coding Team

Platinum Contribution
*
Legendary Member

Karma: 68
Offline Offline

Gender: Male
Posts: 1494
6326575.69 Secksi Coins

View Inventory
Send Money to Eureka DC

View Profile WWW
« Reply #7 on: 04 April, 2007, 01:07:44 AM »

It works. I think it's because you set it such that it displays members who are online for the past 700 minutes, which is well 11+ hours! So the member may not be on currently.
Logged

If you like my post or have nothing better to do, + Karma me. It motivates me to contribute more.

My Music Information (Timing between pics varies. Some are more up-to-date)

Banned
*
Newbie

Karma: -1
Offline Offline

Posts: 32
268.00 Secksi Coins

View Inventory
Send Money to Dropkicksidekick

View Profile
« Reply #8 on: 04 April, 2007, 01:11:07 AM »

Still doesn't work. It doesn't even show everyone who is in the group under the button. And the colors aren't the same. Under the blue one it shows purple.
Logged

United States
Long live TCZ

TCZ r0x my s0x

Administrator

Platinum Contribution
*
Berzerker

Karma: 89
Online Online

Gender: Male
Posts: 5060
4297018.58 Secksi Coins

View Inventory
Send Money to slayer766

View Profile
« Reply #9 on: 04 April, 2007, 04:30:16 AM »
Knock knock knocking on heaven's door...

It's working fine for me... :S
Logged

Live for nothing or die for something






Banned
*
Newbie

Karma: -1
Offline Offline

Posts: 32
268.00 Secksi Coins

View Inventory
Send Money to Dropkicksidekick

View Profile
« Reply #10 on: 04 April, 2007, 10:28:15 AM »

I posted a topic about it in IF suppose on this forum. It's just the colors that aren't right and they should be...
Logged

United States
Community Team
*
Hero Member

Karma: 22
Offline Offline

Gender: Male
Posts: 590
701765.49 Secksi Coins

View Inventory
Send Money to LGIce

View Profile WWW
« Reply #11 on: 04 April, 2007, 10:09:17 PM »

Yea the code is working fine for me aswell
Logged


United States
Long live TCZ

TCZ r0x my s0x

Administrator

Platinum Contribution
*
Berzerker

Karma: 89
Online Online

Gender: Male
Posts: 5060
4297018.58 Secksi Coins

View Inventory
Send Money to slayer766

View Profile
« Reply #12 on: 05 April, 2007, 02:33:39 AM »
"We know what we are, but know not what we may become." - William Shakespeare

Yeah I guess I should mention now that the lamest browser around, Internet Exploder, this code doesn't work quite well with. Since I have only FireFox to test codes with.
Logged

Live for nothing or die for something






United States
"A programmer who shys away from elegant tricks will never be more than competent at best. Ego and a desire to attempt the impossible are traits of most great coders." - Slaytanist

"Music is love in search of a word" - S. Gabrielle

Coding Team

Platinum Contribution
*
Legendary Member

Karma: 68
Offline Offline

Gender: Male
Posts: 1494
6326575.69 Secksi Coins

View Inventory
Send Money to Eureka DC

View Profile WWW
« Reply #13 on: 05 April, 2007, 05:27:28 AM »

Still doesn't work. It doesn't even show everyone who is in the group under the button. And the colors aren't the same. Under the blue one it shows purple.
It only shows the members in that group who are ONLINE at the time. If it shows everyone, it will be too long. Like if you have 2000 members, it will take half the board to show all the names.
Logged

If you like my post or have nothing better to do, + Karma me. It motivates me to contribute more.

My Music Information (Timing between pics varies. Some are more up-to-date)

Netherlands
B00!

O.o Me kodes...

Coding Team

Platinum Contribution
*
Hero Member

Karma: 47
Offline Offline

Gender: Male
Posts: 791
2169663.86 Secksi Coins

View Inventory
Send Money to Godkillah

View Profile
« Reply #14 on: 05 April, 2007, 05:12:47 PM »
Warning, virus detected. Please don't leave this page and wait for your computer to crash.

Yeah I guess I should mention now that the lamest browser around, Internet Exploder, this code doesn't work quite well with. Since I have only FireFox to test codes with.
im using IE and it works well,
awsome job m8
Logged

Pages: [1] 2 3   Go Up
  Print  
 
Jump to:  
Sponsored Links:

Powered by MySQL
Powered by PHP
Powered by SMF 1.1.1 | SMF © 2005, Simple Machines LLC
TinyPortal v0.8.6 © Bloc
The rest copyright TCZ you pillocking twat!
Valid XHTML 1.0!
Valid CSS!
Places we'd like you to visit.