Datei "show
team.php" ~ Zeile 73:
Ersetze
Code:
$query = $db->simple_select("users", "uid, username, displaygroup, usergroup, ignorelist, hideemail, receivepms", "displaygroup IN ($groups_in) OR (displaygroup='0' AND usergroup IN ($groups_in)) OR uid IN ($users_in)", array('order_by' => 'username'));
durch
Code:
$query = $db->simple_select("users", "uid, username, lastactive, lastvisit, displaygroup, usergroup, ignorelist, hideemail, receivepms", "displaygroup IN ($groups_in) OR (displaygroup='0' AND usergroup IN ($groups_in)) OR uid IN ($users_in)", array('order_by' => 'username'));
Suche nach (~ Zeile 140):
Code:
$bgcolor = alt_trow();
Füge DAVOR ein:
Code:
// START Online || Offline Status
$timecut = time() - $mybb->settings['wolcutoff'];
if($user['lastactive'] > $timecut && $user['lastvisit'] != $user['lastactive'])
{
eval("\$status = \"".$templates->get("postbit_online")."\";");
}
else
{
eval("\$status = \"".$templates->get("postbit_offline")."\";");
}
// ENDE Online || Offline Status
Danach kannst du die Variable
{$status} an gewünschter Stelle in den "Zeige Forum-
Team Templates" unterbringen. Als Online/Offline-
Anzeige wird dabei das MyBB "Standard-Männchen" verwendet (blau/grau).