• Resolved fplnepal

    (@fplnepal)


    Hello I am managing this page fplnepal.com
    And I have just installed this plugins and setup a world cup prediction game. I really love the plugins. But i am stuck on one place.
    After the 1st round ends , I should again edit the date and place a date(deadline) of round of 16 matches, but doing so users can easily edit their 1st round score (which is already completed) . SO how do i lock the prediction of 1st round and so on as world cup progress? I want to make user to predict step by step like 1st round , then only round 16 then only semi and all…

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author AntoineH

    (@antoineh)

    Hi,

    You can split the prediction form into different parts using the shortcodes, instead of the standard page. That way you just unpublish the pages that show the old matches. Or use one page and edit the shortcode to switch to a new round.

    Not completely safe, as a smart user can recreate the form or edit the source of the existing form and inject the match Id’s of older matches. So better would be to also hook into the code via one of the filters to add an extra check on the save action.

    Easiest option, of course, is to use the dynamic timing of the matches. That way you ensure that older matches cannot be changed. And you can use the match type visibility setting to show and hide matches on the form (or use the shortcodes as explained above).

    Hope this makes sense ??

    Thread Starter fplnepal

    (@fplnepal)

    Thank you for the reply.
    I found it easier by going to matches tab and clicking on match type like “first Round” then I found the option “Visible on the website” .
    I can check or uncheck..
    So will be unchecking it to make it disappear form the website when the first round ends . Thank you for reply.
    i want to ask other Question.

    1)Can i give user negative points for incorrect prediction or incorrect answers in Questions?
    Like I want to include one questions for each round but if they predict wrong or wrong answeres then i want ot deduct -2 from their total score.

    2)How can I reset all the ranks and stats and all? Like I can change the predictions but I cant remove it? I want to reset everything.

    3) Will the score update automatically or should we input inside Matches section? Like after the full time whistle. This is my 1st time using plugins

    • This reply was modified 6 years, 9 months ago by fplnepal.
    • This reply was modified 6 years, 9 months ago by fplnepal. Reason: Addiitonal Questions
    • This reply was modified 6 years, 9 months ago by fplnepal.
    Plugin Author AntoineH

    (@antoineh)

    1)Can i give user negative points for incorrect prediction or incorrect answers in Questions?
    Like I want to include one questions for each round but if they predict wrong or wrong answeres then i want ot deduct -2 from their total score.

    No, that is not supported. The database fields can’t hold negative numbers.
    I always want to focus on the positive ??

    2)How can I reset all the ranks and stats and all? Like I can change the predictions but I cant remove it? I want to reset everything.

    You can either deactivate the plugin with the option ‘keep data on uninstall’ unchecked and then re-enable, but that will also loose other settings you may want to keep.
    Or you can use this plugin that I once made. It adds a ‘reset’ page to your admin.

    3) Will the score update automatically or should we input inside Matches section? Like after the full time whistle. This is my 1st time using plugins

    You will have to update the end results for the matches yourself in the Matches admin. Then, after you put in the results, you have to start a calculation of the ranking to update all the scores for the players.

    • This reply was modified 6 years, 9 months ago by AntoineH.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Locking 1st Round Prediction’ is closed to new replies.