[solved] Admin Colour Not Showing

Support for the IM Portal Project

Moderator: Integra Moderator

[solved] Admin Colour Not Showing

PostAuthor: ScollZero » Tue Jun 27, 2006 11:27 am

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?
Last edited by ScollZero on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

ScollZero
Newbie
Newbie
 
Posts: 3
Likes: 0 post
Liked in: 0 post
Joined: Tue Jun 27, 2006 11:23 am
Cash on hand: 0.00

Re: Amin Colour Not Showing

PostAuthor: ScollZero » Sat Jul 01, 2006 9:25 am

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?
Last edited by ScollZero on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

ScollZero
Newbie
Newbie
 
Posts: 3
Likes: 0 post
Liked in: 0 post
Joined: Tue Jun 27, 2006 11:23 am
Cash on hand: 0.00

Re: Amin Colour Not Showing

PostAuthor: Adrian Rea » Sat Jul 01, 2006 10:39 pm

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'] . '"';                     }
Last edited by Adrian Rea on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Adrian Rea
Sr Integra Member
Sr Integra Member
 
Posts: 1263
Likes: 0 post
Liked in: 0 post
Joined: Sat Mar 11, 2006 11:59 pm
Cash on hand: 0.00

Re: Amin Colour Not Showing

PostAuthor: ScollZero » Sun Jul 02, 2006 3:05 am

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.
Last edited by ScollZero on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

ScollZero
Newbie
Newbie
 
Posts: 3
Likes: 0 post
Liked in: 0 post
Joined: Tue Jun 27, 2006 11:23 am
Cash on hand: 0.00


Return to IM Portal Support Forum

Who is online

Registered users: Bing [Bot], Majestic-12 [Bot]

cron