Viewing 3 replies - 1 through 3 (of 3 total)
  • me too
    guest can’t vote

    I’m having the same issue. “Allow guests to vote” is checked, and yet it seems that guests can’t vote. Has anyone come up with a solution for this?

    I was able to resolve this. I have Simple Rating installed on two sites. It works fine on one, but not the other. After a little debugging, I found that on the site where it wasn’t working, the function spr_get_ip() was returning a value like this: “64.104.231.44,64.104.231.44”, two identical IP addresses separated by a comma. I don’t know why it’s doing this, but I added the following two lines of code to spr_get_ip() just before “return($ip);” and that fixed the issue:

    $commapos = strpos($ip, ',');
    if ($commapos !== false) {$ip = substr($ip, 0, $commapos);}
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Guest cote problem’ is closed to new replies.