PDA

View Full Version : Member Color Hack


boo.3
12-16-2004, 08:42 PM
Could somone make a hack so theres alittle box above the satistics box that has the colors of the staff members?

like

Admins *in blue* ||| Designer *In red* ||| etc

i had it on my old IBP forums but can't fig out how to set this up

also when u click the name it will go to that usergroup page

ericgtr
12-16-2004, 08:57 PM
Have a look at my site in my sig, it's sort of like you described in that I layout what the colors mean but can be modified to use an image of a color if you wanted.

boo.3
12-16-2004, 09:12 PM
i don't see anything? :(

maybe because i'm a guest?

you have a screen shot?

ericgtr
12-16-2004, 09:15 PM
You should be able to see it as a guest, I moved it to the top of my template so its right at the top of my forum page where you see all the logged on members, above all the usernames is a description of why some names are colored like this:

Users in Red and Green are Guitars101.com Staff Members -- Users in Yellow are Subscribed Members

(note they aren't showing up as the right colors in this post for some reason, the names are colored accordingly though)

I robbed the idea from satelliteguys.us :devious:

boo.3
12-18-2004, 02:47 PM
ahh cool whats the code for that?

ericgtr
12-18-2004, 03:03 PM
It's just HTML inserted into the template, here's how I did it.

In the FORUMHOME find:

<td class="alt2"><a href="online.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td>
<td class="alt1" width="100%">
<div class="smallfont">


Add below: (change to your liking)

<font color="#FF0000"><strong><em>Admins</em></strong></font> | <font color="#669900"><em><strong>Moderators</strong></em></font>
|<font color="#FFFF00"> </font><a href="http://www.yoursite.com/forum/subscriptions.php?"><font color="#FFFF00">Subscribed
/ Financial Supporters</font></a>
<br />
<br />

boo.3
12-18-2004, 03:21 PM
ahh ok thanks man! :)

boo.3
12-18-2004, 03:26 PM
btw could u read my post in the php board? i could use some help :(

Blue Moose Aaron
12-18-2004, 04:32 PM
Since I hav more than one style on my forum I used the image replacemnt system and changed the replacement for each style.

Ex:
<font color="<admin>">Admin</font> | <font color="<supmod>">Supermod</font> | <font color="<mod>">Mod</font>