Hi boudewijn, great add
I wonder if there is a possibility that the results of the vote (pool) are put in one page of the ZC that visitors can visit and see the results of all vote?
Yes, to control via admin what poolls to show.
Like the show the results of voting, when a user fills pool, so on a separate page thet hi can see the results of any pool.
You do not have to put Serbian in the new version, should be translated only three words.
Btw this poll will be absolutely brilliant for me if it showed the results at all times, it's exactly what I've been waiting for
...Actually I would prefer to keep the poll open regardless of whether or not someone votes, if I could pull this off then that would solve my problem anyway, (probably).
Now I just have to work out what to change...
I think it's this line in includes/modules/sideboxes/poll_box.php :
I've tried commenting it out but that doesn't work.PHP Code:
// It's a real user. Now check if he/she has polls left to answer.
$poll_query = $db->Execute("SELECT * FROM " . PM_TABLE_POLLS . " LEFT JOIN " . PM_TABLE_POLL_OPTIONS . " ON p_id=o_poll_id LEFT JOIN " . PM_TABLE_POLL_RESULTS . " ON (o_poll_id=r_poll_id AND r_ip='" . $_SERVER['REMOTE_ADDR'] . "') WHERE r_ip IS NULL AND p_status=1 ORDER BY p_id, o_id");
I've had a few drinks tonight so that's the limit of my imagination gone I'm afraid!
If the votes are processed, the communication between poll box and server works correctly. But for some reason the results are not shown in the browser. Some questions:
1. What version of PM?
2. What browser/version?
3. Can you give me the URL to your site so I can see what happens?