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

    (@antoineh)

    Hi,

    The plugin has a filter that you can use to alter the contents of the table. Because the table is a ‘simple’ multidimensional array, you can use array functions to alter the array and sort it.

    I went ahead and created a plugin extension that does just this for you. I haven’t tested it for performance, so don’t know how it will perform in a real environment with a lot of data. But you can try it yourself and maybe optimize my code.

    You can download the extension plugin here. Just add it to the wp-content/plugins folder and activate it.

    Thread Starter victorpmelo

    (@victorpmelo)

    Hi, Antoine.

    You are great. Thank you again.

    I made some changes to also not show scores 0 to improve performance.

    Thread Starter victorpmelo

    (@victorpmelo)

    This has nothing to do with the topic but yesterday some configuration of wp-options changed the time of the last games widget. I set to UTC -3 but the ended match only shows in the widget after 3 hours.

    I also use another directory for tests with the same files and DB and there is normal. When I finalize a match, instantly shows in the widget.

    I’m sorry if I posted in the wrong place .

    Plugin Author AntoineH

    (@antoineh)

    Usually it is best to open a new topic. The WP forum admins can be strict about that ??

    About the problem: I’m not really sure what is going wrong, but you might want to check if the correct settings are used. The help page in the admin contains a test script to check the timezone settings. And also the matches admin page shows the match times both in local time and UTC time. Maybe that helps.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Personalize Match Statistics’ is closed to new replies.