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.
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/slayer766hacksWhere it goes: Footer
This is the code
WITHOUT images:
<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:
<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.

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:
<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]:
</span>
After you have all of that done you should be set to go.

Oh, if you want to add more Groups add more of these after each other:
This is the one WITHOUT the images:
NewGroup[0] = ["GROUP_NAME","CSS_CLASS","URL_HERE"];
This is the one WITH the images:
NewGroup[0] = ["GROUP_NAME","CSS_CLASS","URL_HERE"];
Remember to change the NewGroup[
0] to increase by 1 for each line you add.
I would like to specialy thanks my best friend Slaytanist who has helped me on this. Thanks slay.