open admin/user.php find this block:
PHP Code:
// ############################# douserid() #########################
function douserid($userid,$previpaddress,$depth=2) {
global $DB_site,$session;
$depth--;
$getusername=$DB_site->query_first("SELECT username FROM user WHERE userid=$userid");
echo "<ul>";
$ips=$DB_site->query("SELECT DISTINCT ipaddress FROM post WHERE userid=$userid AND ipaddress<>'' AND ipaddress<>'$previpaddress' ORDER BY ipaddress");
while ($ip=$DB_site->fetch_array($ips)) {
echo "<li>$ip[ipaddress] (".gethostbyaddr($ip[ipaddress]).") ".makelinkcode("find more users for this ip","user.php?s=$session[sessionhash]&action=doips&ipaddress=$ip[ipaddress]")."</li>\n";
if ($depth>0 and $ip[ipaddress]!=$previpaddress) {
doipaddress($ip[ipaddress],$userid,$depth);
}
}
echo "</ul>";
}
and change it into:
PHP Code:
// ############################# douserid() #########################
function douserid($userid,$previpaddress,$depth=2) {
global $DB_site,$session;
$depth--;
$getusername=$DB_site->query_first("SELECT username FROM user WHERE userid=$userid");
echo "<ul>";
$ips=$DB_site->query("SELECT DISTINCT ipaddress, dateline FROM post WHERE userid=$userid AND ipaddress<>'' AND ipaddress<>'$previpaddress' ORDER BY ipaddress");
while ($ip=$DB_site->fetch_array($ips)) {
echo "<li>".date("H:i m-d-Y", $ip[dateline]). ": $ip[ipaddress] (".gethostbyaddr($ip[ipaddress]).") ".makelinkcode("find more users for this ip","user.php?s=$session[sessionhash]&action=doips&ipaddress=$ip[ipaddress]")."</li>\n";
if ($depth>0 and $ip[ipaddress]!=$previpaddress) {
doipaddress($ip[ipaddress],$userid,$depth);
}
}
echo "</ul>";
}
think this should do what ya wanted