• Resolved ewm2

    (@ewm2)


    Is it possible to have an extra column for a game number in league tables? Our league keeps track of baseball games by game number, and each division has its own numbering system. We’d like to provide a column for that in the standings, and also be able to submit that game number in a field when updating matches.

    Thank you in advance

Viewing 10 replies - 1 through 10 (of 10 total)
  • @ewm2

    You can add custom columns to Events in your settings.

    SportsPress –> Configure –> Event Specs –> Add New –> game number

    /wp-admin/admin.php?page=sportspress-config

    Thread Starter ewm2

    (@ewm2)

    @corrinarusso

    Thank you! I am able to get that game number information in the event now. But it doesn’t show up in the league table, and I don’t see a way to add that in.

    Is there a template that needs amended for that?

    @ewm2
    Sorry I missed that part.
    The League Table output is different. But I’m not sure why you would want in there.
    Wouldn’t you prefer to display the game number in the Calendar view for each event ?

    View post on imgur.com

    Thread Starter ewm2

    (@ewm2)

    @corrinarusso

    Hmmm…okay, I did that with a test calendar:

    https://www.tritbaseball.net/test789/calendar/pony-cal/

    I think it’s fine there, but the league definitely wants to have it displayed with each match (ex: https://www.tritbaseball.net/test789/event/team-1-vs-team-2/ ).

    Right now, when game scores are submitted by each winning coach, the game number becomes important when trying to eliminate duplicate entries. We have a custom PHP solution on their current site for detecting duplicate games. Hopefully Sportspress can also do this. It doesn’t have to be by game number but as long as there’s an automatic mechanism in place to detect duplicates, that’s what they’re looking for.

    @ewm2

    The confusion is coming in bc this is not described by SportsPress as a League Table –>
    https://www.tritbaseball.net/test789/event/team-1-vs-team-2/

    This is a match event page.

    A league table simply displays the standings of the teams.

    You can overwrite the default templates as described here :
    https://support.themeboy.com/article/58-theme-integration-guide

    Once you add a new Event Spec, you have an option under the settings to configure it to visible or not visible.

    Thread Starter ewm2

    (@ewm2)

    @corrinarusso Appreciate the information, thank you.

    Ultimately they’d like the game number to appear in BOTH the league table and the match event page. However, the complexity of adding this column may prevent the match event listing, unless anyone has a suggestion for a PHP developer that could assist with this.

    Roch

    (@rochesterj)

    Hi!

    Thanks for your reply and I’m sorry for the delay.

    We can’t recommend anyone here due to the forums rules. But a good WP dev should be able to help you on this one.

    Thanks!

    @ewm2

    Just so we are clear, did you add the Game Number using this method :
    SportsPress –> Configure –> Event Specs –> Add New –> game number

    And confirm you want it displayed here :

    View post on imgur.com

    Yes?

    Thread Starter ewm2

    (@ewm2)

    Yes, and yes. Or even the table above that in the photo.

    In talking this over with the client, we kind of realized that a game number isn’t as important for game score submissions. That’s because all the games will be in there beforehand, so that will automatically remove the possibility of duplicate game submissions. Currently they are checking duplicate entries via game number. Still, it would be nice to have for posterity.

    The way things are going now, I don’t expect there will be a baseball season for 2020. But we’d like to resolve this issue if possible so it’s ready to go next season.

    Thank you all for the help and I hope you’re staying healthy.

    @ewm2

    It’s pretty easy to implement.
    I’ll show you later – gotta put the second coat of paint on my daughters room first. Stay safe SportsPress community!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Game Number in League Tables’ is closed to new replies.