I 'sort of' have it working. The host doesn't show (but that may be me). In the reply/thread the IP shows how I want it but I get the attached [edit: attachment deleted (was showing a session number)] error come up for a second before it shows. Perhaps I should try something other than 123.456.789?
The online.php thing just isn't working at all for me, mind. My original code has an extra line at the bottom (vB 2.2.9);
PHP Code:
if ($WOLresolve && $usergroupdef['canwhosonlineip']) {
$userinfo[$key][ipaddress] = $user[host];
$userinfo[$key][hostaddress] = @gethostbyaddr($user[host]);
} else {
$userinfo[$key][ipaddress] = $user[host];
$userinfo[$key][hostaddress] = @gethostbyaddr($user[host]);
}