Support » Plugin: SportsPress - Sports Club & League Manager » Club is not automatically assigned in the Player form

  • Resolved byzdata

    (@byzdata)


    Hello SportsPress.
    I hope you can help.

    Let me explain the Use Case.
    – I defined a Player List for a specif Team, for a specific League and Season.
    – I defined a Match, where the Team was involved, for a specific League and Season. And the players statistics were saved.

    Issue:
    In the Player Form, where the Team, the League and the Season have been defined; the statistics are shown but the Club appears as -None-. I would expected to have the Team name automatically updated. (I think the Plugin has some InnerJoins with some primary foreign key, to get that)

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

    (@savvasha)

    Hi @byzdata,

    Right now the “auto assign” feature for the players is not available unfortunately. I am informed that our developers are trying to implement it to the code in the near future.

    Thanks,
    Savvas

    Hello Savvas.
    Thanks for the quick reply.
    I’m understand what you are saying. I hope that functionality will be added soon in next release. (I have seen many other users have requested the same).

    Could you help me, how can I performed the Club “auto assign” via DB?
    I know MySQL, and for sure it will be an UPDATE quer, able to update the Club for each Played based on the League and Season.

    Thanks in advanced.

    Plugin Support Roch

    (@rochesterj)

    Hi!

    Thanks for your reply.

    I’m not sure if Savvas will be able to help you with this one as it’s quite complex (it requires custom code). But it’s much better to use the WordPress functions instead of pure SQL to avoid issues.

    Thanks!

    Hello Roch.
    Yes of course. It will be much easier using the form templates in WordPress.
    But it is important, for us as users, that SportsPress can auto-assigned clubs to players, based on leagues and seasons.
    I said that because a one by one updating per player is too much.
    Thanks

    Hello Roch.
    According to the description at https://www.themeboy.com/sportspress-pro/, in the topic “Awesome Player Profiles” it says:
    “Career stats updated automatically
    Player statistics are automatically calculated from their performance in past events from any combination of season and league. Get an overview of their career by displaying total statistics.”
    (check the image at https://imgur.com/a/3Iwt2GZ)

    So, does it work in PRO but not in regular version?

    Plugin Support Roch

    (@rochesterj)

    Hi!

    Thanks for your reply!

    Unfortunately, we can’t discuss premium products in the free forums. We do have a presales channel, and if you want we can talk about it there.

    But that excerpt, in particular, isn’t the same as the feature we are discussing here.

    “I said that because a one by one updating per player is too much.”
    What I meant wasn’t using the WP-admin section, but just the WordPress functions for data storage. Such as update custom fields, or functions to create new posts. A direct database insert may lead to some issues, and when you use the WordPress functions you make sure that no data is corrupt.

    Thanks!

    Hello @roch.
    How can I reach the presales channel to talk about the issue?
    I have some other questions that I’d like to clarify in order to move to the PRO version.
    Thanks

    Plugin Support Roch

    (@rochesterj)

    Hi!

    Thanks for your reply!

    You can send a message here:
    http://support.themeboy.com/

    Then click “contact support”, and under the license type use “I don’t have a license yet”.

    You can leave other fields blank (except email and message) so don’t worry about them 🙂

    Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Club is not automatically assigned in the Player form’ is closed to new replies.