Hi, I hope you are well.
The problem:
Web server administrators, set up a squid (proxy) to speed up the web server.
After this, the voting system recorded the IPs of the Squid, but not the users IPs.
The solution:
Add the following code in the file "compat.php" ...
if($_SERVER['HTTP_X_FORWARDED_FOR']){
$ip = trim($_SERVER['HTTP_X_FORWARDED_FOR']);
$ip = explode(',', $ip);
$ip = array_pop($ip);
$ip = trim($ip);
$_SERVER['REMOTE_ADDR'] = $ip;
}
If you add this code, it will work, even if not using Squid or Proxy...
http://wordpress.org/extend/plugins/vote-it-up/
Best regards,
Hugo Velez