Gibt es eine Möglichkeit, dass man deine Statistiken mal ansehen kann? Hast du noch irgendwelche MODs installiert?
Das mit dem Wohnort ist wie folgt gefixt:
Öffne includes/stats/stats_settings.php
Finde:
Code: Alles auswählen
foreach ($locations as $row)
{
$total_users_set_location += $row['count'];
}
Ersetze durch:
Code: Alles auswählen
$sql = 'SELECT COUNT(user_id) AS count FROM ' . USERS_TABLE . "
WHERE user_from <> ''";
$result = $db->sql_query($sql);
$total_users_set_location = (int) $db->sql_fetchfield('count');
$db->sql_freeresult($result);
Finde:
Code: Alles auswählen
$template->assign_vars(array(
'USERS_WITH_BIRTHDAY' => sizeof($birthdays),
'USERS_WITH_LOCATION' => sizeof($locations),
'TOTAL_USERS' => $config['num_users'],
'USERS_WITH_BIRTHDAY_PCT' => number_format(sizeof($birthdays) / $config['num_users'] * 100, 3),
'USERS_WITH_LOCATION_PCT' => number_format(sizeof($locations) / $config['num_users'] * 100, 3),
'TOP_USER_LOCATIONS' => sprintf($user->lang['TOP_USER_LOCATIONS'], $limit_count),
));
Ersetze durch:
Code: Alles auswählen
$template->assign_vars(array(
'USERS_WITH_BIRTHDAY' => sizeof($birthdays),
'USERS_WITH_LOCATION' => $total_users_set_location,
'TOTAL_USERS' => $config['num_users'],
'USERS_WITH_BIRTHDAY_PCT' => number_format(sizeof($birthdays) / $config['num_users'] * 100, 3),
'USERS_WITH_LOCATION_PCT' => number_format($total_users_set_location / $config['num_users'] * 100, 3),
'TOP_USER_LOCATIONS' => sprintf($user->lang['TOP_USER_LOCATIONS'], $limit_count),
));
An dem Datum Problem arbeite ich noch. Da muss wahrscheinlich eine etwas größere Funktion her, die aus den englischen Wörtern die sprachspezifischen macht.
