Hi everyone, I would like to know how to make a "countdown" clock based on user votes. For example if I want users to be able to vote on WHEN the next version of Android will come out, and I want Drupal to average all of those votes and display a countdown clock. How can I do this?

I would like users to be able to choose one of two input methods:

Users can select from a calendar dropdown list or calendar (Month, Day, Year) of when they think the event will occur

Drupal takes the votes in an on-going, real time basis, then displays them in a block as a countdown. For example: "1 Year, 68 days, 20 hours until Android X.X is released"

Thank you!

Comments

Drave Robber’s picture

How urgent is this?

There is jQuery Countdown for the countdown part, but to my knowledge there is no module that could take 'votes' in time format, so coding a custom form and data storage would be needed.

mntash’s picture

How urgent is this? I'd like to have it on my site in..say, a week...?

I will check into the jQuery Countdown. The thing is, I'm really a novice and have to "feel" my way through things that aren't point and click. :(

Thanks for pointing me in the right direction!

Drave Robber’s picture

First very crude attempt at this:

Demo: Crowd wisdom countdown – asks when Drupal 8 is going to be released. :)

99 lines of .module code so far, but there is a lot of potential features this could make use of.

mntash’s picture

OK, thank you, I will check this out too!

mntash’s picture

I like your module; I think it's what I'm looking for. How can I test it out?

Drave Robber’s picture

First of all, you can try voting on the demo. :)

I'm going to upload the module to the same page once I figure out how to make it work with page caching.

Feature requests are welcome, too – maybe some day this will make it into a real module.

mntash’s picture

I added some comments to your site!