Here it comes:

(This hack also contains
this mod by JJR512)
In online.php find
PHP Code:
if ($WOLresolve) {
$userinfo[$key][ipaddress1] = @gethostbyaddr($user[host]);
} else {
$userinfo[$key][ipaddress2] = $user[host];
}
And replace with
PHP Code:
if ($WOLresolve) {
$userinfo[$key][ipaddress1] = @gethostbyaddr($user[host]);
$userinfo[$key][ipaddress2] = $user[host];
$userinfo[$key][browser] = $HTTP_USER_AGENT;
}
Find
PHP Code:
if ($WOLresolve) {
$guests[$count][ipaddress1] = @gethostbyaddr($user[host]);
} else {
$guests[$count][ipaddress2] = $user[host];
}
And replace with
PHP Code:
if ($WOLresolve) {
$guests[$count][ipaddress1] = @gethostbyaddr($user[host]);
$guests[$count][ipaddress2] = $user[host];
$guests[$count][browser] = $HTTP_USER_AGENT;
}
Make sure that on the admin control panel the option for resolving IPs is on!
On the template whosonlinebit_ip put
PHP Code:
<td bgcolor="$backcolor" align="left"><smallfont>$userinfo[ipaddress1]<br>$userinfo[ipaddress2]<br>$userinfo[browser]</smallfont></td>
And you're done!