Support » Plugin: SportsPress - Sports Club & League Manager » Concerns about data structure

  • I’ve just recently started using this plugin, and the first impressions are generally good. Especially liking how many filters are available. But I do have a few concerns, especially around how data relates to each other.

    Couple of minor things first:

    • No non-match event types out of the box. Clubs have a variety of other types of events such as sign on days and committee meetings, and there’s no real way to support this out of the box. I’m currently using the sportspress_formats filter and just ignoring the match specific fields but it’s not the best experience
    • Hidden player performance stats still display on the events pages. They’ll get hidden from player profiles but still display on the events pages unless you change the publish status. I belive this is a bug.

    Ok now the data structure concerns.
    Events, teams and players all have fields for the season and league. There’s nothing that links them together in one entitiy like a contract. This causes issues if players play for multiple teams in the same division (last football season I did, and this cricket season we have a couple of leagues that we have multiple teams entered in and movement is permitted between our participating teams). This also causes issues when entering historical information, as you can only select players in a match who are listed as a current member of a participating team. Ideally, there should be a contracts post type that links players, teams and seasons in one. That way the list of players that can be selected as participating will be populated from the contracts that match the season and team set in the event, instead of needing them to be currently playing for the team. This would also solve the issue of player profiles needing to specify just one team for a season and league, as they could be automatically grouped.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Savvas

    (@savvasha)

    Hi @cameronjonesweb ,

    Let me start from the end. In SportsPress PRO we have a module that doing exactly what you want, Midseason Transfers.

    For the non-match event types and the hidden performance stats do you have any url examples to check?

    Thanks,
    Savvas

    Thanks for your response.

    The Midseason Transfers looks good, but will that solve the issue of needing to change the current team of players in order to select them when entering historical information, or having to manually having to remove the current team when players leave clubs between seasons? I’m not convinced yet that solves the inherent issue of correctly linking the entities together correctly.

    For non match events, see here: https://imgur.com/a/9HOHE7Q
    There’s no option out of the box to denote an event as not being a match. It’s not even possible to select none of those options.

    For performance stats, see here: https://imgur.com/a/Xf3WwqN
    I would expect that by setting only goals to be visible, then only goals would display. Instead, all the performance terms are displaying.

    Thanks

    Plugin Contributor Savvas

    (@savvasha)

    Hi @cameronjonesweb ,

    With Meadseason Transfers you will keep player’s teams either as Current or as Past. That way you will be able to enter the historical information you want.

    If you want to create a non-sport event, then you should use an Event plugin (i.e. The Events Calendar). SportsPress is made to be used for Sport Events.

    Visible is a global option for the Player Profiles. When you create a Player List, you can select for each list which performances or/and metrics will be visible (i.e. https://snag.gy/DmLxEt.jpg)

    Thanks,
    Savvas

    Thanks again Savvas.

    I didn’t quite understand what you’re saying about the midseason transfers. Does that mean that when you select the participating players in an event that all current and past players will display instead of just current?. That won’t scale well at all.

    Yes obviously SportsPress is designed for sports events, but sports clubs do have many events that are not matches. Do you have an integration with The Events Calendar that allows both SportsPress events and Events Calendar events to display in the same calendar view without having to input duplicate data.

    I’m not talking about player lists, I’m talking about the event view. It seems counterintuitive that the stats that are set as hidden and are labeled “Player Performance Used for events.” would then still display on the events page itself.

    Thanks

    Plugin Contributor Savvas

    (@savvasha)

    The following link explains exactly how MidSeason Transfers works:
    https://www.themeboy.com/blog/track-midseason-transfers-sports-site/

    You can use another plugin like WP FullCalendar to show all your events and matches on the same calendar.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.