Chi Kien Uong
Geranienstraße 30
71034 Böblingen
Deutschland / Germany
|
If you are not registered or logged in, you may still use these forums but with limited features.
Show recent topics
|
|
|
Author |
Message |
24/04/2003 16:10:20
|
Anonymous
|
I took a further look into the code, when I was reading some stuff here in the forum regarding my problems.
And what comes out:
You can make a poll, publish it forever or for a amount of days...
Ok so far.
Normally it would mean that a lockout-period should be hooked on the number of days a poll is to be published and not as a generic setting somewhere else.
In that way a person can only vote 1 x for 1 published poll and not again after let's say 48 hours...
All that's left for me now, is to screw up the scripts to make the generic time-out to be 99999 hours and make a reset button to clear the poll_ip table when publishing a new poll....
Same flaw seems to apply for cookies too, as it only hooks up on the generic lockout-period instead of the publish-duration of the poll.
It also means that you would have to make a "time-left" timer, so if you would vote on day 5 of the 6 day duration the poll is published, he/she should not be locked out for 6 days after this vote, but for only 1 day as a new poll (or none) should come after one day......
|
|
|
|
|
|
Based on the open source JForum
|