Support » Plugin: SportsPress - Sports Club & League Manager » How to fix Career Totals & Player Stats

  • Resolved wealthysecrets

    (@wealthysecrets)


    Hello,

    Our 1st Season of the 4 Player Chess League is wrapping up this weekend.

    Our League supports 4 players playing against each other, which is called FFA in 4 Player Chess. Overall the software is working pretty well, but I’m unable to display FFA stats and Career stats properly.

    Our website supports 2 different Leagues. 1 is a Teams League, where 2 teams play against each other, and the other is “FFA” where 4 players play against each other, and Winner gets 3 points, 2nd and 3rd get 1 point, and 4th gets 0.

    Is there anything that can be done to fix the Career Totals for individual players? The software is combining the Teams & FFA totals, and is not displaying the player’s FFA stats at all.

    Our FFA Leaderboard is here:
    https://4playerchessleague.com/ffa-premier-league/

    Here’s a sample profile where you can see the stats aren’t working for FFA, and the Career totals are combing FFA & Teams stats.
    https://4playerchessleague.com/player/loschessquire/

    I hope this is clear, I’ve tried everything possible and can’t seem to get this to work. I been waiting on a script from the developers for over a month now, and not sure what to do next as our Season is literally coming to an end this weekend, but would like this fixed for future seasons.

    Thanks in advance if any advice can be given.

    The page I need help with: [log in to see the link]

Viewing 14 replies - 1 through 14 (of 14 total)
  • Hi @wealthysecrets

    Is there a stats section image on the player edit page
    It seems that the assignment process for that league has not been made.

    Thread Starter wealthysecrets

    (@wealthysecrets)

    Hello,

    I’m not sure if this is what you’re asking for?

    I’ve been waiting for a custom script for this section for over a month now, and need to know what code to change within the script.

    2022-10-28-22-53-07

    Hi;

    Assign for the FFA Primary League
    On the right in the “Details” section Leagues just add the FFA Primary League in the same field assigned to the Team Primary League then save it.
    Then assign Team in Statistics field

    Player

    • This reply was modified 3 months, 1 week ago by ozgurgedikli.
    • This reply was modified 3 months, 1 week ago by ozgurgedikli.
    • This reply was modified 3 months, 1 week ago by ozgurgedikli.
    • This reply was modified 3 months, 1 week ago by ozgurgedikli.
    • This reply was modified 3 months, 1 week ago by ozgurgedikli.
    • This reply was modified 3 months, 1 week ago by ozgurgedikli.
    Thread Starter wealthysecrets

    (@wealthysecrets)

    Thanks, but I’ve already done that, as you can see I can’t choose a “Team” for FFA Premier League, which is the player I need to select. Right now it just says “None”

    2022-10-28-23-46-59

    2022-10-28-23-47-21

    Have you made a season and league assignment for your chosen team?
    Check League and Season assignment on team edit page

    Losquesos, Only Teams Premier League assignment made

    https://4playerchessleague.com/team/losquesos/

    • This reply was modified 3 months, 1 week ago by ozgurgedikli.
    Thread Starter wealthysecrets

    (@wealthysecrets)

    The issue is that the FFA Premier League is not a team competition, it’s 4 players playing against each other. So the “Team” I’m supposed to select is actually the player “LosChessquire” but there’s no drop down menu to choose from.

    I hope @rochesterj can have a look again, this is the only fix pending which needs some custom code he said.

    ozgurgedikli

    (@ozgurgedikli)

    If you enter Losquesos for the current team and LosChessquire for the past team in the player edit, a pop-up selection will occur in the player’s career.

    Thread Starter wealthysecrets

    (@wealthysecrets)

    I tried that, still can’t select the player :/

    The past Team only shows “Teams” not players.

    2022-10-29-15-33-34

    ozgurgedikli

    (@ozgurgedikli)

    If teams are different, current and past teams are written.
    Remove the previous team.
    Edit LosQuesos from the Sportpress>Club menu
    “Teams Premier League” and “FFA Premier League” should be added to the league section.

    Then when you come to the player page, it will be when you assign the team in the statistics.

    Clubs

    LosChessquire’s Teams Premier League and FFA Premier League appear to be participating.

    https://4playerchessleague.com/player/loschessquire/

    However, the FFA Premier League is blank in player statistics, as club LosQuesos is assigned only as Teams Premier League.

    https://4playerchessleague.com/team/losquesos/

    Thread Starter wealthysecrets

    (@wealthysecrets)

    That did it!

    How do I fix the Career Totals so it’s showing FFA totals, and Teams Totals separate, right now it’s combining both. Thanks so much!

    2022-10-29-18-13-28

    ozgurgedikli

    (@ozgurgedikli)

    Sportspres player stats come in two types

    1.Total
    It contains statistics by league in seasons.

    2. All Career
    This gives the sum of all leagues in the season.

    In Player stats, you can check the Total, All Career selection in Sportspress>Settings, in the Players tab, in the Statistics section.

    Player

    When you remove all Careers, only leagues will remain.

    In player arrangement
    Keep Losquesos for current team
    You can remove the past team Losquesos

    Thread Starter wealthysecrets

    (@wealthysecrets)

    Ok great, I removed the Career Totals, thanks a lot for your help!

    ozgurgedikli

    (@ozgurgedikli)

    Glad for the solution.
    Good luck in your leagues

    In player arrangement
    Save Losquesos for current team
    You can remove your past team Losquesos

    Plugin Contributor Roch

    (@rochesterj)

    That’s quite an interesting approach!

    I’ll try it out as well in the future. I assumed you just couldn’t display individual stats.

    Thanks!

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