Little Problem with Group Color and Junior Admin Mod!

Du hast Probleme beim Einbau oder bei der Benutzung eines Mods? In diesem Forum bist du richtig.
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Antworten
Freeza

Little Problem with Group Color and Junior Admin Mod!

Beitrag 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?
codemonkey
Ehemaliges Teammitglied
Beiträge: 3005
Registriert: 13.10.2002 15:15
Wohnort: Wilhelmshaven
Kontaktdaten:

Beitrag von codemonkey »

For english support it will be the best to visit http://www.phpBBhacks.com or http://www.phpBB.com
Acid
Ehrenadmin
Beiträge: 12195
Registriert: 26.04.2001 02:00
Wohnort: Berlin

Beitrag von Acid »

try to replace the code with ..

Code: Alles auswählen

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

Beitrag von Freeza »

Ups, hab völlig vergessen, dass man hier deutsch redet ;)
DAnke sehr, es geht :)
Antworten

Zurück zu „phpBB 2.0: Mod Support“