My part of IPLog:
CREATE TABLE `iplog` (
`id` int(10) UNSIGNED NOT NULL,
`ip` varchar(15) NOT NULL DEFAULT '',
`userid` int(10) UNSIGNED NOT NULL DEFAULT 0,
`added` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`lastused` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`timesused` int(10) NOT NULL DEFAULT 1
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
on account-login.php just before
logincookie($row["id"], $row["password"], $row["secret"], $_POST["remember"]);
add that
//==| IP Log
$now = get_date_time();
SQL_Query_exec("INSERT INTO iplog (ip, userid, added, lastused) VALUES('".getip()."', $row[id], '$now', '$now') ON DUPLICATE KEY UPDATE timesused=timesused+1, lastused='$now'");
//==| End IP Log
If you want to prevent few account from same IP address you are welcome to leave comment so I help you on it
Regards