1
twitaman
Hide Poll Results Until the Poll Has Expired
  • 2005/4/9 21:03

  • twitaman

  • Friend of XOOPS

  • Posts: 270

  • Since: 2004/7/28


Is there a way to conduct secret balloting using the Poll module so that results will not be revealed until after the poll has expired?

I would like to have my members vote on the best script written by members, but I don't want them to be able to see the results until after the poll has expired.

2
twitaman
Re: Hide Poll Results Until the Poll Has Expired
  • 2005/4/23 17:56

  • twitaman

  • Friend of XOOPS

  • Posts: 270

  • Since: 2004/7/28


Anyone know how to do this? Or if it's possible?

3
twitaman
Re: Hide Poll Results Until the Poll Has Expired
  • 2005/4/27 21:13

  • twitaman

  • Friend of XOOPS

  • Posts: 270

  • Since: 2004/7/28


just a bump -- hope someone's got some info

4
hyperpod
Re: Hide Poll Results Until the Poll Has Expired
  • 2005/4/28 22:32

  • hyperpod

  • Quite a regular

  • Posts: 359

  • Since: 2004/10/4


Here ya go!


XOOPS Poll [blind]

This might do exactly what you want.

Let us know if it worked for you.


Cheers,

5
twitaman
Re: Hide Poll Results Until the Poll Has Expired
  • 2005/4/29 17:25

  • twitaman

  • Friend of XOOPS

  • Posts: 270

  • Since: 2004/7/28


I tested this but it didn't seem to work. I set it to "election mode" -- which says that "only registered users can vote and results are not shown." But when I add a poll with these settings and test it out it immediately shows "100%" for the selection I vote for. I don't want to show the results though.

Quote:

hyperpod wrote:
Here ya go!


XOOPS Poll [blind]

This might do exactly what you want.

Let us know if it worked for you.


Cheers,

6
twitaman
Re: Hide Poll Results Until the Poll Has Expired
  • 2005/4/29 17:32

  • twitaman

  • Friend of XOOPS

  • Posts: 270

  • Since: 2004/7/28


Another bug is that it seems you can only vote once. I tried it again with a new poll and I voted. Got the same result showing 100%, then I logged back in as a different user and tried to vote but it wouldn't let me, all it did was show the results button.

When I clicked the results button it displayed this message: "Cannot view results while in election mode."

But since it automatically showed the percentages in the block it is showing the results.

7
hyperpod
Re: Hide Poll Results Until the Poll Has Expired
  • 2005/4/29 17:42

  • hyperpod

  • Quite a regular

  • Posts: 359

  • Since: 2004/10/4


This module was used successfully as is in the XOOPS.org Xoopser of the Year elections.

The bugs you are talking about are not bugs.

You seem to have some specific needs that this module never claimed to cover.

It is not meant to be used with the block.

Only registered users can vote, otherwise the results would be skewed by anons voting multiple times.

Im not sure you are using the module properly.

Just to re-iterate, it has been used successfully already.


Good Luck,

8
twitaman
Re: Hide Poll Results Until the Poll Has Expired
  • 2005/4/29 18:24

  • twitaman

  • Friend of XOOPS

  • Posts: 270

  • Since: 2004/7/28


Thanks for the clarification! It was just the fact that I was trying to use it in block mode, if I don't display the poll in a block then it works as I expected.

Great job on the modification, it's just what I need!

9
hyperpod
Re: Hide Poll Results Until the Poll Has Expired
  • 2005/4/29 18:33

  • hyperpod

  • Quite a regular

  • Posts: 359

  • Since: 2004/10/4


Im glad it will work for you :)

Cheers,

10
twitaman
Re: Hide Poll Results Until the Poll Has Expired
  • 2005/4/30 15:35

  • twitaman

  • Friend of XOOPS

  • Posts: 270

  • Since: 2004/7/28


There is one change I'd like to make though. How can I change the notice that says, "You cannot view results while in Election Mode" when you click the results button. Since this isn't an election in this case I just want it to say, "you cannot view the results until all votes are tallied."

Where do I go to change that text?

Thanks again.

Login

Who's Online

297 user(s) are online (272 user(s) are browsing Support Forums)


Members: 0


Guests: 297


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits