12.02.2013, 21:11
Suche in der showteam.php die Zeile
und ersetze das mit
Das ist die einzige Änderung, die in der Datei notwendig ist.
PHP-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'));
PHP-Code:
$query = $db->query("
SELECT u.uid, u.username, u.displaygroup, u.usergroup, u.ignorelist, u.hideemail, u.receivepms, uf.fid5, uf.fid8
FROM ".TABLE_PREFIX."users u
LEFT JOIN ".TABLE_PREFIX."userfields uf ON(u.uid = uf.ufid)
WHERE u.displaygroup IN ($groups_in) OR (u.displaygroup='0' AND u.usergroup IN ($groups_in)) OR u.uid IN ($users_in)
ORDER BY u.username
");