Back to vBulletin 3.0 Template Modifications

Admin Specific Color text
Mod Version: 1.00, by jag-docjay

This modification is in the archives.
vB Version: Rating: (0 vote - 0 average) Installs: 0
Released: 03 Mar 2005 Last Update: Never Downloads:
Not Supported  

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:

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


with:

Code:
<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:

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.

Download

No files for download.


vblts.ru supports vBulletin®, 2022-2024