• Resolved edcamposs

    (@edcamposs)


    Hello, I am simulating results, and I would like the ranking to be displayed according to who has the highest score. Have I made a mistake, or is this not possible?

    Attached image of how it appears to me: https://ibb.co/RQz1DcJ

    Greetings and thanks.

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

    (@antoineh)

    You’re not doing anything wrong. The stats page shows the players by default in alphabetical order. You can change this behavior via a filter in PHP, if you wish. I created a small extension plugin that does exactly what you want some time ago. You can download it here.

    Please note: this extension also filters players from the list without a prediction. If you don’t want this, then comment out line 38. Like this:

    // $predictions = array_filter( $predictions, [__CLASS__, 'remove_inactive_users'] );

    Thread Starter edcamposs

    (@edcamposs)

    Thanks bro!
    One more cuestion: I can’t find the ranking page. There is a way to load it again?

    Thread Starter edcamposs

    (@edcamposs)

    I already did it. Sorry, I’m new in WordPress.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Ranking order’ is closed to new replies.