If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
FOR ALL WHO WANTS TO VOTE SEVERAL TIMES /W 1 IP...  XML
Forum Index » Support Forum
Author Message
Anonymous



HI

I also had the problem that I couldn't vote several times with one IP without deleting the cookies each time by myself out of the cookie folder. Now I have found the answer for this problem here in the forum. The problem is a bug in this version os Advanced Poll (at this tme v2.0.3)

First disable the "checking" function in the Admin Area under "settings" to "NO CHECKING"

Then you have to configure the file /templates/poll_cookie.php in the following way:
Search in line 19 for the string

if (!isset($HTTP_COOKIE_VARS[$cookie_name])) {

and delete the first exclamation mark in that line. It should look like this now:

if (isset($HTTP_COOKIE_VARS[$cookie_name])) {

Now you can vote a often as you want with one and the same IP number.
If want know, that a user can vote only one time in e.g. 3 hours just enable the "checking" function in the Admin Area under "settings" to "CHECKING" and set the locking timeout to 3 hours....

Works perfect.

Thanks for this solution to laelaps. You can read his posting here

Enjoy the Advanced Poll
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

I don't know why you would do that.
Just don't include the poll_cookie.php file and switch checking off.
(poll_cookie.php is in ./includes)

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum