I setup and put set a deadline, nobody can see the results till it ends is there any way the admins can review the results before the end of the poll?
it seems that the iip Poll Pal seems to display the results even though I specified don't display till finished.
In includepoll.php change:
if ($pnoresults && ($currtime < $pstop)) {
to
if (($pnoresults && ($currtime < $pstop)) && ($user['U_Status'] != "Administrator")) {
Also, change:
to:
if (($pmustvote) && ($user['U_Status'] != "Administrator")) {
[]oceanwest said:
it seems that the iip Poll Pal seems to display the results even though I specified don't display till finished. [/]
??
how come when I test these scripts work 100 percent?
please explain more
IT seems the poll pal. on the IIP entrance is allowing unregistered users to post. And still allows everybody to see the results...
(the other mod works fine.)
Hmmm are you sure you have the options set in the admin panel of IIP??
should set under
CURRENT POLL
Poll Board's keyword. If not specified the very last approved post with a poll in it will be used.
Note: Specifying a board to use rather than leaving blank will improve page generation times.
Display a random poll? 1=yes 0=no
Note: Selecting 0 will improve speed.
Ignore polls in sticky posts? 1=yes 0=no
Note: If you don't intend on having sticky posts in the poll board then setting this to 0 will impove page generation times.
Who can see polls? 0=everyone 1=only registered users
Who can vote on polls? 0=everyone 1=only registered users
I just noticed your still using : IIP 5.4.4 by David Lozier ©2004 :. that needs to be : IIP 5.4.5 by David Lozier ©2004 :.
either that or MANUALLY place in your /ubbthreads/pals/config.pal
// Who can see polls? 0=everyone 1=only registered users
$whocanseepoll = "0";
// Who can vote in polls? 0=everyone 1=only registered users
$whocanvote = "1";