• Resolved af3

    (@af3)


    Hi, thanks for a great plugin.
    I have a question — how can I reset scores after the group matches are done? So that the next scores are only calculating for Round 16, or qf, semi-f and final ?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Maybe that’s enough for you?
    Create a second ranking only for matches the knockout phase.
    You can do it in the administration panel.

    Thread Starter af3

    (@af3)

    OMG! I didnt see this. I can create & define ranking based on matches, round of 16 etc! Wow this is awesome.

    I created the rankings are user can select which ranking to show on the Statistics page (despite the other rankings are for future matches — it will return empty page).

    However, on the ranking page — seems like only the default ranking is shown as there is no selection/dropdown to select ranking to show (despite I activated User-defined in plugin option in admin). Is this as intended (because Round of 16 ranking etc is still empty) ?

    Thanks again for the help.

    • This reply was modified 3 years, 8 months ago by af3.
    Plugin Author AntoineH

    (@antoineh)

    When you set the ranking options to “Let the user decide” it should render a dropdown on the ranking page. Even if a ranking is empty, or if matches are not finished yet, it should still show. In that case, when you select the ranking, it will simply show 0 points for all users.

    The above only applies to the default ranking page. If you have a page that you built up from widgets or shortcodes, then the dropdown will not be added as for these you have to set the ranking yourself in the settings of the individual widget or shortcode.

    Thread Starter af3

    (@af3)

    Thanks @antoineh – i reset my theme and it’s there!
    Just curious how to name the default ranking — it appears as Option=1 in the Selection but it has no name.

    Best if created ranking can be set as default.

    Thanks

    • This reply was modified 3 years, 8 months ago by af3.
    Thread Starter af3

    (@af3)

    Additionally, the message “No results yet. Below is a list of all users.” only appears in the Ranking page, not on the default statistic page where the selection will return empty page. Using WordPress 2021 theme.

    Plugin Author AntoineH

    (@antoineh)

    Just curious how to name the default ranking — it appears as Option=1 in the Selection but it has no name.

    Maybe you can set a text via CSS or javascript?

    Best if created ranking can be set as default.

    You can alter the link to this page (menu) to include the querystring with the ranking ID that you want as a default, e.g. “/page/?ranking=2”

    Additionally, the message “No results yet. Below is a list of all users.” only appears in the Ranking page, not on the default statistic page where the selection will return empty page. Using WordPress 2021 theme.

    That is by design.

    Thread Starter af3

    (@af3)

    Thanks again! the option=1 can be hidden using jquery. thanks

    Thread Starter af3

    (@af3)

    Just to share, I added this to the ranking page’s header in the theme. This hides the empty text for option value 1, and use option 5 (for my case to be shown as default).

    <script>
    jQuery(document).ready(function() {
    jQuery("#ranking option[value="+1+"]").hide();
    jQuery("#ranking option[value="+5+"]").attr('selected','selected');
    });
    </script>
    Thread Starter af3

    (@af3)

    @antoineh Now the dropdown is showing the selection. How can I show ALL without the dropdown? Something like — https://example.com/ranking/?ranking=all&_submit=go

    Which file can I add this to? Thanks

    • This reply was modified 3 years, 8 months ago by af3.
    Plugin Author AntoineH

    (@antoineh)

    You don’t want to show the dropdown? Then you can simply change the setting in the plugin options.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Reset score after group games’ is closed to new replies.