Ich habe mal etwas an dem Code der "arcade_longest_playtime.php" geschraubt. Nehme ich
Code: Select all
while ( $row = $db->sql_fetchrow($result) )
{
$template->assign_block_vars('arcadetime', array(
'NAME' => $row['username'],
'TIME' => $row['total_time'],
));
}
statt
Code: Select all
while ( $row = $db->sql_fetchrow($result) )
{
$template->assign_block_vars('arcadetime', array(
'NAME' => $arcade->get_username_string('full', $row['user_id'], $row['username'], $row['user_colour']),
'TIME' => $row['total_time'],
));
}
dann wird der Block samt User-Namen und Zeit angezeigt, aber ohne die entsprechende Gruppenfarbe und ohne eine Verlinkung zu den User-Profilen.