Hallo,
mache dir erst einmal eine sicherung dieser datei: /root/infusions/advanced_memberlist_panel/members.php
dann geht es Los ;)
suche in in der: /root/infusions/advanced_memberlist_panel/members.php
ca. in der Zeile 82 dies:
echo "<td class='tbl1' nowrap><u>".$locale['mp_name']."</u></td>\n";
füge darunter dies ein:
echo "<td class='tbl1' nowrap><u>Geburtstag</u></td>\n";
echo "<td class='tbl1' nowrap><u>Registriert am</u></td>\n";
echo "<td class='tbl1' nowrap><u>Webseite</u></td>\n";
das ganze sollte dann so aussehen:
echo "<td class='tbl1' nowrap><u>".$locale['mp_name']."</u></td>\n";
echo "<td class='tbl1' nowrap><u>Geburtstag</u></td>\n";
echo "<td class='tbl1' nowrap><u>Registriert am</u></td>\n";
echo "<td class='tbl1' nowrap><u>Webseite</u></td>\n";
echo "<td class='tbl1' nowrap><u>".$locale['mp_groups']."</u></td>\n";
echo "<td width='1%' class='tbl1' nowrap><u>".$locale['mp_status']."</u></td>\n";
ca. in der Zeile 86 dies:
$result = dbquery("SELECT user_id, user_avatar, user_name, user_status, user_level, user_groups FROM ".DB_USERS." WHERE user_status='0'".$orderby." ORDER BY user_level DESC, user_name LIMIT ".$_GET['rowstart'].",20");
ändere es um in dies:
$result = dbquery("SELECT user_id, user_avatar, user_name, user_birthdate, user_status, user_level, user_joined, user_groups, user_web FROM ".DB_USERS." WHERE user_status='0'".$orderby." ORDER BY user_level DESC, user_name LIMIT ".$_GET['rowstart'].",20");
ca. in der Zeile 95 dies:
echo "<td class='tbl1' nowrap>\n".profile_link($data['user_id'], $data['user_name'], $data['user_status'])."</td>\n";
füge darunter dies ein:
if ($data['user_birthdate'] != "0000-00-00") {
$user_age = explode("-", $data['user_birthdate']);
$user_year = $user_age[0];
$current_year = date("Y", time());
$user_age_year = $current_year - $user_year;
if (mktime(0,0,0,$user_age[1], $user_age[2], $current_year) > time()){
$user_age_year--;
}
$user_age_year = " - Jahre alt.";
}
if ($data['user_birthdate'] != "0000-00-00") {
$months = explode("|", $locale['months']);
$user_birthdate = explode("-", $data['user_birthdate']);
}
echo "<td class='tbl1' nowrap>\nam ".number_format($user_birthdate['2']).". ".$months[number_format($user_birthdate['1'])]." ".$user_birthdate['0']."</td>\n";
echo "<td class='tbl1' nowrap>\nam ".showdate("%d.%M.%Y", $data['user_joined'])." ­ um ".showdate("%H:%M", $data['user_joined'])." Uhr</td>\n";
echo "<td class='tbl1' nowrap>\n".trimlink ($data['user_web'], 15)."</td>\n";
Speichern und Hochladen und sich evtl. Freuen wenn es richtig gemacht wurde.
LG Septron |