Seite 1 von 1

Little Problem with Group Color and Junior Admin Mod!

Verfasst: 12.10.2003 13:01
von Freeza
Hi!
Yesterday, i built the Mods "Color Group" and "Junior Admin" in my phpBB2 Plus 1.3 Board. But I have a little Problem. In the list with the users, who were today online, the colors are not changed. I think, the reason for this is in this code (index.php, Line 399):
switch ($todayrow['user_level'])
{

case ADMIN :
$todayrow['username'] = '<b>' . $todayrow['username'] . '</b>';
$style_color = 'style="color:#' . $theme['fontcolor3'] . '"';
break;
break;
case LESS_ADMIN :
$todayrow['username'] = '<b>' . $todayrow['username'] . '</b>';
$style_color = 'style="color:#fc010d"';
break;
case MOD :
$todayrow['username'] = '<b>' . $todayrow['username'] . '</b>';
$style_color = 'style="color:#' . $theme['fontcolor2'] . '"';
break;

}
How should I change this code, and how should I add the Junior-Admin to this code?

Verfasst: 12.10.2003 13:36
von codemonkey
For english support it will be the best to visit http://www.phpBBhacks.com or http://www.phpBB.com

Verfasst: 12.10.2003 14:13
von Acid
try to replace the code with ..

Code: Alles auswählen

$todayrow['username'] = color_group_colorize_name($todayrow['user_id']);

Verfasst: 12.10.2003 15:07
von Freeza
Ups, hab völlig vergessen, dass man hier deutsch redet ;)
DAnke sehr, es geht :)