MyBB Central

Full Version: Admin Postbt Color?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there way that i could change something that makes only admins posts have them in Red text or that posts would had red background on the postbit?

Something like this: http://www.mybbcentral.com/thread-3727.html

I just couldnt get that to work, im using classic mode too.
http://mods.mybb.com/view/group-post-css I believe this plugin does what you want.
To do it manually:
.inc/functions_post.php Find:
Code:
    elseif($altbg == 'trow1')
    {
        $altbg = 'trow2';
    }
Below it add:
Code:
elseif($post['usergroup'] == 4)//Admin
    {
        $altbg = "custom_shaded";
    }
Open your global.css, and add the custom_shaded class with the color you want for it.