I've just finished upgrading to PHP-Nuke 6.0 (download here) together with the latest dutch languagefiles (first release candidate) (download here). Right after that I've installed a module that i had seen at an co-workers website, for each ip-address the hits are individual counted. (download here). To see some results, click at statistics on the left and choose for "View IP Statistics". I have changed the statistics module (counter.php in /include) to exclude all internal ip-adresses. The new look for PHP-Nuke 6.0 is the new look for the website.

Changed in counter.php:

# IP Tracking
if ($iptracking == 1) {
# capture Timestamp, IP Address, Resolved IP Address, Web Page
$dt = date("Y-m-d H:i:s") ;
$ip = getenv("REMOTE_ADDR") ;
$rip = gethostbyaddr("$ip");

if ($ip != "192.168.0.1" and $ip != "192.168.0.2") {
# concatenate SCRIPT_NAME and QUERY_STRING since REQUEST_URI not used in Windows hosted sites.
# $pg = getenv(REQUEST_URI);
$pg = getenv(SCRIPT_NAME);
# IP Tracking 2.2 - remove trailing ? if QUERY_STRING not set
if ((getenv(QUERY_STRING)) != "") { $pg = $pg . "?" . getenv(QUERY_STRING) ; }

sql_query("insert into $prefix"."_hits values('$dt', '$ip', '$rip', '$pg')", $dbi);
# Delete from nuke_hits based on parameters set in admin preferences page
if ($maxip > 0 and $delip > 0 and $maxip >= $delip) {
$tresult = sql_query("select * from ".$prefix."_hits", $dbi);
$numrows = sql_num_rows($tresult, $dbi);
if($numrows>=$maxip) {
# 'delete ... limit' not ready until mysql 4.0
# sql_query("delete from ".$prefix."_hits order by date_time limit ".$delip, $dbi);
$tresult = sql_query("select date_time from ".$prefix."_hits order by date_time limit " .$delip.",1", $dbi);
list($date_time) = sql_fetch_row($tresult, $dbi);
sql_query("delete from ".$prefix."_hits where date_time }
}
}
}
# END