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.
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.