Log in

View Full Version : Admin Specific Color text


jag-docjay
03-02-2005, 10:00 PM
I hope this goes here. If not please move. On my forum I have more then 1 Admin usergroup and I like the way it looks all Admin posts are a different color then the users. It took me awhile to find and get this to work with more then 1 usergroup and not for everyone. So here it is.


I have looked for this for the last 3 days. I have more then 1 admin usergroup and this is what I did.


You can do this by creating a new class and then making this change to your postbit templates.


replace:



<div>$post[message]</div>



with:

<if condition="is_member_of($post,xx)or is_member_of($post,xx)or is_member_of($post,xx)or is_member_of($post,xx)"><div class="adminclass">$post[message]</div>


Changing "xx" for the specific usergroups your looking for.


I ctreated a new class like this.


Style Manager,All Style Options, and in Additional CSS Definitions I added this bit of code:

/* ***** adminclass ***** */
.adminclass { color: #1C86EE; font: 11px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; }


Now all my admins post in a cool blue color.

Allan
03-03-2005, 10:29 PM
screen please :)

jag-docjay
03-04-2005, 01:37 AM
Link you to my site since im on dial up and its alot easier. Just look at any Admin post. Our names are in Red.

http://www.justallgamers.com/forum

hypnoticpimp
03-26-2005, 01:48 PM
can you do this with MOderators as well? if so what do i change