• pekos

    (@pekos)


    Hi Antoine

    when a user presses the statistics icon for a given match, he is directed to the page of this match where all users predictions and final points are presented. I may have missed it, but I would like to see all score types: toto, full, goal bonus and goal diff and accumulated points i.e. i would like to see the full scoring breakdown as it is in the rankings page, of course for the specific match.

    Is this somewhere in the settings or is there a plugin that can do this ?

    Thanx again

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

    (@antoineh)

    Unfortunately for you there is no setting for this and also no extension plugin. Although the latter should be relatively easy to build. Only thing to do is to update the template with some extra table columns with placeholders and the template parameters with some extra parameters.

    New version of the plugin (v2.12.0) will have some extra CSS classes on the table row that indicate how the score was constructed.

    Thread Starter pekos

    (@pekos)

    Hi Antoine

    this is clear. I will try your suggestion.

    Something out of subject: in the help page of the plugin you are mentioning some simple examples such as the following :

    <?php
    // only show the first 20 users in the user selector
    add_filter( 'footballpool_userselector_widget_users', function ( $a ) {
        return array_slice( $a, 0, 20 );
    } );
    ?>

    However i found out that the correct way for the filter to work is as per the following:

    <?php
    // only show the first 20 users in the user selector
    add_filter( 'footballpool_userselector_users', function ( $a ) {
    return array_slice( $a, 0, 20 );
    } );
    ?>

    Maybe you might need to change the help page for this specific matter.

    Thank you

    • This reply was modified 9 months ago by pekos.
    Plugin Author AntoineH

    (@antoineh)

    @pekos good catch! I will fix the example in the next version.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Display all score type on match result page’ is closed to new replies.