it doesn't work on 3.6.6. It still not showing the real IP. I'm testing it already. In fact, the code changes is merely the same with your installation instructions.
Original 3.6.6 codes:
Code:
if (!defined('SESSION_IDHASH'))
{
define('SESSION_IDHASH', md5($_SERVER['HTTP_USER_AGENT'] . $this->fetch_substr_ip($registry->alt_ip))); // this should *never* change during a session
}
Your codes:
Code:
if (!defined('SESSION_IDHASH'))
{
// Paul M - Define session id
define('SESSION_IDHASH', md5($_SERVER['HTTP_USER_AGENT'] . vB_Session::fetch_substr_ip(IPADDRESS)));
}
I did the changes (for 3.6.4 onwards instructions but nothing happened)
Thanks in advanced