SMF For Free Support Forum
Signup For Free Forum
September 06, 2008, 10:56:17 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]
  Print  
Author Topic: [Code] Member Legend - HTML Only  (Read 2043 times)
0 Members and 1 Guest are viewing this topic.
simply sibyl
not a dude
Global Moderator
*
Offline Offline

Posts: 8032


Don't PM me for Support


View Profile WWW
« on: June 16, 2007, 10:18:31 am »

Option 1  Colored Membergroup Name
Option 2  Colored Membergroup Name and a small image


Option 1:  Colored Membergroup Name

Put this at the top of your FOOTER   (Admin > Manage Styles > Edit Header/Footer)

Code:

<div class="tborder" style="position: relative; top: -14px;">
<table border="0" width="100%" cellspacing="1" cellpadding="4" class="bordercolor">
<tr>
<td class="titlebg" colspan="2">Member Legend</td>
</tr>
<tr>
<td class="windowbg" width="20" valign="middle" align="center">
<img src="http://www.smfboards.com/Themes2/default/images/icons/profile_sm.gif" />
</td>
<td class="windowbg2" width="100%"><small>

[<font color=COLOR>MEMBERGROUP NAME</font>]&nbsp;
[<font color=COLOR>MEMBERGROUP NAME</font>]&nbsp;
[<font color=COLOR>MEMBERGROUP NAME</font>]&nbsp;
[<font color=COLOR>MEMBERGROUP NAME</font>]&nbsp;
[<font color=COLOR>MEMBERGROUP NAME</font>]&nbsp;

</td>
</tr>
</table>
</div>

Replace COLOR with the color you want the Membergroup Name to show up as
Replace MEMBERGROUP NAME with the name of the Membergroup

Add more of these lines if you need them:

Code:
[<font color=COLOR>MEMBERGROUP NAME</font>]&nbsp;



Option 2:   To do this using a small image along with the Membergroup Name:

Put this at the top of your FOOTER

Code:
<div class="tborder" style="position: relative; top: -14px;">
<table border="0" width="100%" cellspacing="1" cellpadding="4" class="bordercolor">
<tr>
<td class="titlebg" colspan="2">Member Legend</td>
</tr>
<tr>
<td class="windowbg" width="20" valign="middle" align="center">
<img src="http://www.smfboards.com/Themes2/default/images/icons/profile_sm.gif" />
</td>
<td class="windowbg2" width="100%"><small>

<img src='IMAGE URL' /><font color=COLOR>MEMBERGROUP NAME</font>&nbsp;
<img src='IMAGE URL' /><font color=COLOR>MEMBERGROUP NAME</font>&nbsp;
<img src='IMAGE URL' /><font color=COLOR>MEMBERGROUP NAME</font>&nbsp;
<img src='IMAGE URL' /><font color=COLOR>MEMBERGROUP NAME</font>&nbsp;
<img src='IMAGE URL' /><font color=COLOR>MEMBERGROUP NAME</font>&nbsp;

</td>
</tr>
</table>
</div>

Replace IMAGE URL with the image url
Replace COLOR with the color you want for that membergroup in the list
Replace MEMBERGROUP NAME with the name of the membergroup

Add more of these lines if you need them:

Code:
<img src='IMAGE URL' /><font color=COLOR>MEMBERGROUP NAME</font>&nbsp;



NOTE:   Because this is straight HTML and not a script it will put this on every page on your forum.
             I dont think it looks that bad if it does and the benefit is not using scripting to do it. 
« Last Edit: June 16, 2008, 01:18:11 pm by simply sibyl » Logged

malcolm
SMF For Free Member
*
Offline Offline

Posts: 25



View Profile WWW
« Reply #1 on: May 05, 2008, 10:49:19 am »

can u make me one with admin red, global mod blue, and mod green, and members black
Logged

LaundryLady
Global Moderator
*
Offline Offline

Posts: 3042



View Profile WWW
« Reply #2 on: May 05, 2008, 11:14:05 am »

You use the code and change it to make it your own.  Read the instructions at the beginning of this thread.
Logged

malcolm
SMF For Free Member
*
Offline Offline

Posts: 25



View Profile WWW
« Reply #3 on: May 05, 2008, 11:39:13 am »

ok one more thing how do i change my members name to different colors
Logged

Gordie
SMF For Free Hero
*
Offline Offline

Posts: 593


I'm around somewhere!!!


View Profile WWW
« Reply #4 on: May 05, 2008, 11:43:22 am »

admin panel>membergroups
Click Modify next to each group
"Color in Online List" enter the color you want

Do this for each group you want colored
Logged



malcolm
SMF For Free Member
*
Offline Offline

Posts: 25



View Profile WWW
« Reply #5 on: May 05, 2008, 11:49:29 am »

no i mean individual members, like change my friend name at the bottom so it is in green
Logged

simply sibyl
not a dude
Global Moderator
*
Offline Offline

Posts: 8032


Don't PM me for Support


View Profile WWW
« Reply #6 on: May 05, 2008, 12:28:24 pm »

It does it by membergroup, not specific members.
You would have to make a membergroup specifically for him in order to do that

 
Logged

mattmilla1
SMF For Free Member
*
Offline Offline

Posts: 52


crazydog10


View Profile WWW
« Reply #7 on: May 11, 2008, 05:02:48 pm »

one prob....Wink it says "memberlegend" but only half of it is showing its......cut off!!!
Logged

<CRAZYDOG10>
     
=crazydog10=
<br />
=That cat is a bigfoot bounty hunter lol=
simply sibyl
not a dude
Global Moderator
*
Offline Offline

Posts: 8032


Don't PM me for Support


View Profile WWW
« Reply #8 on: May 11, 2008, 05:14:25 pm »

one prob....Wink it says "memberlegend" but only half of it is showing its......cut off!!!

The code was made to go in the Footer.
You have the code in your Header instead.  
If you want to use it in the header change the first line of the code:

This line:
Code:
<div class="tborder" style="position: relative; top: -14px;">



To this:
Code:
<div class="tborder">
Logged

mattmilla1
SMF For Free Member
*
Offline Offline

Posts: 52


crazydog10


View Profile WWW
« Reply #9 on: May 12, 2008, 02:22:26 pm »

okay thanks it works!! Wink
Logged

<CRAZYDOG10>
     
=crazydog10=
<br />
=That cat is a bigfoot bounty hunter lol=
mattmilla1
SMF For Free Member
*
Offline Offline

Posts: 52


crazydog10


View Profile WWW
« Reply #10 on: May 12, 2008, 02:26:05 pm »

I still have a ?......what is the point of this...
Logged

<CRAZYDOG10>
     
=crazydog10=
<br />
=That cat is a bigfoot bounty hunter lol=
simply sibyl
not a dude
Global Moderator
*
Offline Offline

Posts: 8032


Don't PM me for Support


View Profile WWW
« Reply #11 on: May 12, 2008, 03:53:41 pm »

I still have a ?......what is the point of this...

If you set up colors for your members names in the online list (you do that thru Membergroups)  you can use this to make a little bar on your forum that shows the membergroups names/colors    Use the same color codes in both places  (or if you are using one of the codes here that changes the color of a persons name)
Logged

K I L L A
SMF For Free Full Member
*
Offline Offline

Posts: 135


''As soon as one is born, one starts dying.''


View Profile WWW
« Reply #12 on: May 17, 2008, 08:45:40 pm »

Ok I eidted to my way.I wanna make sure I ddin't mess anything up.
Code:
<div class="tborder">
<table border="0" width="100%" cellspacing="1" cellpadding="4" class="bordercolor">
<tr>
<td class="titlebg" colspan="2">Member Legend</td>
</tr>
<tr>
<td class="windowbg" width="20" valign="middle" align="center">
<img src="http://www.smfboards.com/Themes2/default/images/icons/profile_sm.gif" />
</td>
<td class="windowbg2" width="100%"><small>

<img src='http://i25.tinypic.com/4h8jcw.png' /><font color=Black>Owner</font>&nbsp;
<img src='http://i25.tinypic.com/10qhzb8.png' /><font color=Red>Head Admin</font>&nbsp;
<img src='http://i26.tinypic.com/i3z2oj.png' /><font color=Blue>Administrator</font>&nbsp;
<img src='http://i31.tinypic.com/wjawxt.png' /><font color=Purple>Super Moderator</font>&nbsp;
<img src='http://i28.tinypic.com/144cw2o.gif' /><font color=Green>Moderator</font>&nbsp;
<img src='http://i25.tinypic.com/2qn2hxg.png' /><font color=LimeGreen>Global Moderator</font>&nbsp;
[<font color=Brown>Member</font>]&nbsp;
[<font color=Yellow>Newbie</font>]&nbsp;


</td>
</tr>
</table>
</div>
Logged

LaundryLady
Global Moderator
*
Offline Offline

Posts: 3042



View Profile WWW
« Reply #13 on: May 18, 2008, 05:56:48 am »

Looks good, just remember that if you have a background the same color as one of your legend colors it won't show up. 
Logged



Pages: [1]
  Print  
 
Jump to:  

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