Poll votes - 1 per member (not IP based)
if (strstr(','. $this->iplist .',', ','. $_SERVER['REMOTE_ADDR'] .',')) $result = '1';
if ($thismember->isguest() && strstr(','. $this->iplist .',', ','. $_SERVER['REMOTE_ADDR'] .',')) $result = '1';
This thread is closed, so you cannot post a reply.
Comments on Poll votes - 1 per member (not IP based)
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
I need to do a poll that allows 1 vote per member, not IP address, as some members are family and therefore have the same IP address. Is this possible?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
The IP check is kind of pointless with members, will remove. In classes/poll.php change to
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
The IP check is kind of pointless with members, will remove. In classes/poll.php change to
Thanks Paul - that's great!