WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Predict When

Allow users to predict when an event will occur. Tap into the collective wisdom of your readers to predict future events and chart those predictions.

Usage

Within the WordPress admin page select 'Add New Question' from the 'Predict When' menu.

Enter the Question you wish to present to your users. Keep your question short & simple. If you need to further qualify the question do so in the main body of the post.

Use the date range limits to prevent predictions before or after the specified dates. Leave either field blank to indicate no limit.

Check the 'Never' option to allow users to indicate that the event will never happen.

If you require users to be logged in to make a prediction check the 'Login or register' box.

Shortcodes

Use the following shortcodes in a post or page.

Chart of predictions

[predictwhen id=n]
  • Display the question referenced by the question ID n along with a chart of predictions and invite users to make their own prediction.

If you do not want to display a chart, but just invite predictions add the option hide_chart=1, e.g. [predictwhen id=x hide_chart=1]

Scoring

[predictwhen id=n scoring=1]
  • Once a question has been closed you can display a ranking table of scores based on the accuracy of predictions for each user. Note the option 'Login or register' must be checked to calculate scores.

Additional options:

  • show_prediction
  • show_when
  • limit

For example to display a ranking table showing each users score, the predicted date, when the prediction was made, limited to the top 10 scorers use the following [predictwhen id=n scoring=1 show_prediction=1 show_when=1 limit=10]

User questions

[predictwhen user_question=1]
  • Include this shortcode in a post to provide the ability for a user to submit a question.

Users must be logged-in to submit a question for consideration. The administrator will receive a notification email of a new question and has the ability to approve or reject the submission.

Known Issues

Dates beyond the year 2038 are unlikely to work due to a restriction in the Unix time format.

Requires: 3.3 or higher
Compatible up to: 3.5.2
Last Updated: 2013-1-16
Downloads: 604

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,2,2