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
How urgent is this? There is
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.
How urgent is this? I'd like
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!
First very crude attempt at
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.
OK, thank you, I will check
OK, thank you, I will check this out too!
I like your module; I think
I like your module; I think it's what I'm looking for. How can I test it out?
First of all, you can try
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.
Where do you want me to put
I added some comments to your site!