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 
Messages posted by: Dan Walker
Forum Index » Profile for Dan Walker » Messages posted by Dan Walker
Author Message
Set the locking time out for the IP table and the cookie expiration time to the same value. The cookie expiration time must be set in poll_cookie.php. I have the times set to 0.5 hr. Seems to work for me now. Let us know if it works for you.
After a fair number of hours struggling to understand how Advanced Poll 2.0.3 with textfiles and ssi (using a shtml page) works, here's what happens. This explains a lot of questions in the forum about lack of results, inability to vote, cookies, etc.

When you vote, a cookie is placed on your machine which is set to expire in four days. This setting cannot be changed in the admin part of the program. With the cookie on your machine, you cannot vote again. If check IP table is not set in your general settings, you will not see the vote result when you vote (I think this is a bug). Since AOL uses the same IP for millions of addresses, I have set the IP block to a very short time (0.01 hours). When this is set, the results will show immediately. When the IP block expires in 30 seconds, another person from that IP can vote. However, if the cookie is on your machine, you will not be able to vote for 4 days. Unfortunately, when you try to vote with the cookie on your machine, the vote button clicks, but nothing happens. You must click the hyperlink "view results' to see the results. The script should show you the results page with the line "you have already voted," as it does with the IP blocked. However, it does not. This is another bug, in my estimation.

Whether these observations apply to the DB script or even to the php version of the textfile script, I don't know.

For some reason, the textfile version of Advanced Poll 2.0.3 shows the label 2.0.2 in the admin panel and on the polls.

I would encourage the author to fix these bugs in his nice script. It shouldn't be too hard to do.

You can see my poll at www.full-life.org.
 
Forum Index » Profile for Dan Walker » Messages posted by Dan Walker
Go to:   
Based on the open source JForum