![]() |
Admin Specific Font Color
I have searched this site for 2 days trying to find this, but havent had any luck. What im looking for is this, So that when an Admin posts, his font will automatically appair a different font color then the default forum font color. I have found a couple of hacks here that allow everyone to change their font color, but not one to just allow a specific usergroup. Can this be done?
|
No ideas from anyone?
|
You can do this by creating a new class and then making this change to your postbit templates.
replace Code:
<!-- message --> Code:
<!-- message --> |
Thank you so much, it took me a lil bit to figure out where to add the "class" to, but I did and its working great,
|
No problem. Great to hear you got it working! :)
|
Well I went an added a couple more Admin usergroups, how would I get them to also appear in a font specific color, this worked great on just one usergroup, how would I add 3 more to it?
|
Any ideas anyone?
|
Still trying to get this to work, but it is still not working for me for the other usergroups, any ideas from anyone would be great.
|
Well after doing alot of searches on some different forums, I found a bit of a modification for what I needed to do, so I figured I would share with people in case they are looking to do the same thing.
I just added a few "or" commands I guess they would be called and it works great now. This is what I did. Code:
<if condition="is_member_of($post,6)or is_member_of($post,24)or is_member_of($post,25)or is_member_of($post,26)"><div class="adminclass">$post[message]</div> |
Quote:
ie: PHP Code:
|
All times are GMT. The time now is 06:59 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|