Page 1 of 1

[solved] Admin Colour Not Showing

PostPosted: Tue Jun 27, 2006 12:27 pm
Author: ScollZero
My admin color is red and my moderator is green, however the who is online block is only showing a dark blue/grey colour.

I am using BBTech as my theme. And i have installed the customize admin/mod colour mod.
What would i need to do to get the colours to show properly?

Re: Amin Colour Not Showing

PostPosted: Sat Jul 01, 2006 10:25 am
Author: ScollZero
Okay...i have just run a fresh install, and it is still occuring with no other mods installed...how does the who is online block decide what colour to use for admins and moderators?

Re: Amin Colour Not Showing

PostPosted: Sat Jul 01, 2006 11:39 pm
Author: Adrian Rea
I am not certain but I think it is in blocks/blocks_imp_online_users.php
Code: Select all
$style_color = '';                     if ( $row['user_level'] == ADMIN )                     {                         $row['username'] = '<b>' . $row['username'] . '</b>';                         $style_color = 'style="color] . '"';                     }                     else if ( $row['user_level'] == MOD )                     {                         $row['username'] = '<b>' . $row['username'] . '</b>';                         $style_color = 'style="color:#' . $theme['fontcolor2'] . '"';                     }

Re: Amin Colour Not Showing

PostPosted: Sun Jul 02, 2006 4:05 am
Author: ScollZero
AWESOME!! Problem solved!

I simply changed the above code in root/blocks/blocks_imp_online_users.php to:-

[code]$style_color = '';                     if ( $row['user_level'] == ADMIN )                     {                         $row['username'] = '<b>' . $row['username'] . '</b>';                         $style_color = 'style="color]
Thought i would post his incase anyone else had the same problem.