taylor_smith
Well-known member
Previously, adding this to config.php allowed XenForo to record user IPs, despite CloudFlare.
As of today, I see lots of users all sharing CloudFlare IPs. Checked config.php and the above code is still there. Anyone else seeing the same? Have any possible solutions?
Code:
if (isset($_SERVER['HTTP_CF_CONNECTING_IP']))
{
$_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_CF_CONNECTING_IP'];
}