2
Guess I solved my own problem...
Just went into the /modules/xoopspool directory, and edited the index.php and starting at line 75 of the file, commented out all references to the tracking cookie and the already voted conditions as follows:
if ( !$poll->hasExpired() ) {
// if ( empty($voted_polls[$poll_id]) ) {
if ( $xoopsUser ) {
// if ( XoopsPollLog::hasVoted($poll_id, xoops_getenv('REMOTE_ADDR'), $xoopsUser->getVar("uid")) ) {
// setcookie("voted_polls[$poll_id]", 1, 0);
// $msg = _PL_ALREADYVOTED;
// } else {
$poll->vote($HTTP_POST_VARS['option_id'], xoops_getenv('REMOTE_ADDR'), $xoopsUser->getVar("uid"));
$poll->updateCount();
setcookie("voted_polls[$poll_id]", 1, 0);
$msg = _PL_THANKSFORVOTE;
//}
} else {
// if ( XoopsPollLog::hasVoted($poll_id, xoops_getenv('REMOTE_ADDR')) ) {
// setcookie("voted_polls[$poll_id]", 1, 0);
// $msg = _PL_ALREADYVOTED;
// } else {
$poll->vote($HTTP_POST_VARS['option_id'], xoops_getenv('REMOTE_ADDR'));
$poll->updateCount();
setcookie("voted_polls[$poll_id]", 1, 0);
$msg = _PL_THANKSFORVOTE;
}
//}
// } else {
// $msg = _PL_ALREADYVOTED;
//}
Seemed to do the trick.
Tim