Add a scheduler field (using scheduler module?) to chalenges, so they could be limited in time or automatically start in a point in the future.
Also add a timer that shows the time left on the challenge page (in case there is an end time)

Comments

Jonas Bärtsch’s picture

Assigned: Unassigned » Raphael Dürst
Raphael Dürst’s picture

Is Scheduler really necessary for this?
In my opinion, at least for the challenge end date, it shouldn't automatically unpublish the node, since you might want to display the challenge after it has ended.

But Scheduler for the start date would make sense... how about fields for start & end date which are separate from the scheduler publish & unpublish dates?

z.stolar’s picture

Scheduler has triggers upon start/end time - not necessarily for publish/unpublish.
I think it's better to rely on this module than using our own custom code.

Raphael Dürst’s picture

Status: Active » Needs review

As discussed, I added the date field for challenges to the feature.

We should also add a status field.
I propose the following statuses:
- Ideation (default)
- Evaluation (closed for new ideas)
- Closed (closed for voting)

With Rules Scheduler we can create tasks to automatically change the status (e.g. change status from ideation to evaluation on challenge end date).

  • Raphael Dürst committed 9434128 on 7.x-3.x
    Issue #2166491 by z.stolar: Added a block timer until challenge end date...
  • Raphael Dürst committed efcd8f7 on 7.x-3.x
    Issue #2166491 by z.stolar: Add a scheduler to Challenges.
    
yanivo’s picture

Status: Needs review » Closed (outdated)

Drupal 9 is almost here!
OpenideaL 7.x is no longer supported.
Current development and support is done on the Drupal 8 branch (https://www.drupal.org/project/idea/releases/3.x-dev)
If you find this issue still relevant for D8, please do not hesitate to re-open this issue or create a new one.