WordPress.org

Ready to get started?Download WordPress

Forums

Football Pool
[resolved] Resetting User Scores to Zero (4 posts)

  1. mattfaw
    Member
    Posted 1 year ago #

    Hey Antoine,

    Is it possible to reset user scores to zero? Essentially, end one tournament and start another one, without having to uninstall / reinstall the entire app?

    http://wordpress.org/extend/plugins/football-pool/

  2. AntoineH
    Member
    Plugin Author

    Posted 1 year ago #

    The plugin does not support different seasons/tournaments at once. Basically, everytime you save a match or question the scores are recalculated. So if the old matches are still available in the database, then those will be added to the scores also. So just resetting the score is not enough.

    But, if you replace the old matches with new ones (deleted manually, or import and overwrite), then the scores will be reset.

    Next version will contain a new feature that will enable admins to make custom rankings of some hand picked matches. That will give the possibility to exclude older matches/tournaments from a ranking.

  3. mattfaw
    Member
    Posted 1 year ago #

    Hm. Something is odd then. I deleted all of the matches, but user's still have points.

    Could there still be some "hidden" matches somewhere adding points?

    Perhaps I could add a script that just resets everyone's score to zero.

  4. mattfaw
    Member
    Posted 1 year ago #

    OK, I figured it out. Not sure what was wrong, but I just ran a SQL query and reset everything. Thanks Antoine!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.