Hiding poll results...
 
Notifications
Clear all

Hiding poll results?

2 Posts
2 Users
0 Reactions
1,125 Views
(@amerna)
Posts: 28
Eminent Member
Topic starter
 

I'd like to know whether there is a possibility to some sort of hide the poll results. I don't want the members to the see the results as it may have an influence on their own decision.

I considered simply taking

$content .= write_message("<br /><a href="'"._BASEDIR."blocks/poll/pollarchive.php?poll=".$currentpoll['poll_id'"]."'>"._POLLRESULTS."</a><br /><br />");

out of blocks/poll/poll.php so that members cannot see the results as long as they haven't voted themselves but the problem is that guests can see the results nevertheless.

So is there a possibility that guests can also not see the results but the "voting form" and when they try to vote get a message like "You are not allowed to access that function"?


Site: http://fanfiction.janeites.net
Version: 3.5.2
Bridges: None
Modules: Betareader, Challenges, Storyend
PHP: 5.2.9
MySQL: 5.0.67

 
Posted : 01/11/2007 11:09 am
(@lyssa)
Posts: 34
Eminent Member
 

This is a good idea. I am trying to figure out how to run voting for a contest on my site, and I would like each member to have one vote, with the results hidden from guests and members. I'm going to look into it this weekend.


 
Posted : 21/12/2007 1:49 am
Share: