For me CloudFlare didn't worked using given instructions, so I made one more change, first one found on CloudFlare's support:
https://support.cloudflare.com/hc/en...ith-vBulletin-
Find:
PHP Code:
function fetch_ip()
{
return $_SERVER['REMOTE_ADDR'];
}
Replace with:
PHP Code:
function fetch_ip()
{
if(isset($_SERVER['HTTP_CF_CONNECTING_IP']))
{
return $_SERVER['HTTP_CF_CONNECTING_IP'];
}
return $_SERVER['REMOTE_ADDR'];
}
Now I see real IP address user uses, but I still can't see proxy and real IP address, including red IP icon. For some reason, it looks like this mod doesn't work for me on different servers.
But at least I now can see real IP address.