WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: LeagueManager] Match Statistics (6 posts)

  1. YukataNinja
    Member
    Posted 4 years ago #

    So I understand how to add a roster: use ProgectManager to create a team and then add players as datasets. Then connect that team under the team edit in LeagueManager. I then activated match statistics for the league and added Goals with fields Name and Goal number. I can then add some stats for a match.

    But how do I get this all to show up? How can I keep a total tally of goals for the season for each player? My roster page just lists players names.

    http://wordpress.org/extend/plugins/leaguemanager/

  2. tomflume
    Member
    Posted 4 years ago #

    I have the same problem. How do i get the stats to pop up in a post or in the roster?

    http://wordpress.org/extend/plugins/leaguemanager/

  3. Kolja
    Member
    Posted 4 years ago #

    They are displayed when you display a single match with the shortcode
    [match id=ID]

    You can use the code used there to display the stats somewhere else if you want to. Check out view/match.php for details

  4. scole_direct
    Member
    Posted 4 years ago #

    Going back to the first post in this thread, is there a script to aggregate goals for individual players across matches in a season (not goals for a single match)? It would be nice to have a list of top goal scorers or total number of goals for each team by player.

    Assuming that script doesn't exist yet the hack that occurs to me is to iterate through each player and then through each match, looking in the custom field of the wp_leaguemanager_matches table for goals scored by that player and adding them to a new field in the wp_projectmanager_dataset table. (Would have to somehow keep track of which matches had already been recorded assuming this was an ongoing function call). Is there a better way of going about this?

  5. beveraii
    Member
    Posted 4 years ago #

    I'm finding that I can't delete the match stats :-(

    I've created a field set for Goal Scorers in each match. I have two fields (player name & number of goals) any can add the stats fine, but can't delete them after. If i've added two players i can delete the 2nd, but the 1st keeps getting added again when i press 'save'

  6. bubbeli
    Member
    Posted 3 years ago #

    Well, I also have created field set for goal scorers but seems to me something is missing.

    After I click "Save statistics" nothing happens and I get empty table cells for the match view. Is there a bug in that statistics or am I missing something??

Topic Closed

This topic has been closed to new replies.

About this Topic