Support » Plugins » [Plugin: LeagueManager] Match Statistics

  • 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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • I have the same problem. How do i get the stats to pop up in a post or in the roster?

    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

    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?

    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’

    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??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: LeagueManager] Match Statistics’ is closed to new replies.