Forum Replies Created

Viewing 15 replies - 481 through 495 (of 723 total)
  • Plugin Author ThemeBoy

    (@themeboy)

    Hi there,

    Player Performance are used in events, but will also be displayed in player profiles as a total. We’ll be adding options to select which performance/statistics to display in player profiles in the next major update.

    Plugin Author ThemeBoy

    (@themeboy)

    Just noticed the link you posted! Here’s a more accurate preset:

    {
    “name”: “Snooker”,
    “outcomes”: [
    “Win”,
    “Draw”,
    “Loss”
    ],
    “results”: [
    { “name” : “Score”, “description” : “Total points”, “main” : 1 }
    ],
    “performance”: [
    “1st Frame”,
    “2nd Frame”
    ],
    “columns”: [
    { “name” : “P”, “equation” : “$eventsplayed”, “description” : “Games played” },
    { “name” : “W”, “equation” : “$win”, “priority” : 2, “description” : “Wins” },
    { “name” : “D”, “equation” : “$draw”, “description” : “Draws” },
    { “name” : “L”, “equation” : “$loss”, “description” : “Losses” },
    { “name” : “F”, “equation” : “$scorefor”, “description” : “Points for” },
    { “name” : “A”, “equation” : “$scoreagainst”, “description” : “Points against” },
    { “name” : “+-“, “equation” : “$win – $loss”, “description” : “Point difference” },
    { “name” : “PTS”, “equation” : “$scorefor”, “priority” : 1, “description” : “Points” }
    ],
    “statistics”: [
    { “name” : “Games Played”, “equation” : “$eventsplayed” },
    { “name” : “Games Won”, “equation” : “$win” },
    { “name” : “Win Percentage”, “equation” : “$win / $eventsplayed * 100”, “precision” : 2 }
    ]
    }

    Plugin Author ThemeBoy

    (@themeboy)

    Hi again, not a problem. I’m happy to help.

    First let’s go to SportsPress > Settings > Configure and add an event outcome called “Draw”. Now, we can add a league table column called “D” and set the equation to “Draw”. You can change the Order attribute to adjust the position it appears in relation to the other columns. To insert it between “W” and “L”, set it to 25. Or to insert it after “L”, set it to 35.

    Now let’s go to the League Table and edit. At the top of the table you should see the column labels (P, W, D, L, PF, PA, etc). Select the checkboxes next to each column label to enable them, and click Update. The columns should now appear when viewing the table on the frontend.

    Hope this helps 🙂

    Plugin Author ThemeBoy

    (@themeboy)

    Hi Mike,

    Definitely. To create a player stats page, go to Players > Player Lists and create a new player list. Then, select your team from the Details section (and any other details if you want to narrow down your selection). You can now click “Select All” to select all of the players from your team. Also be sure have the “Statistics” checkbox selected under “Columns”.

    Once you publish the page, you’ll see all of the players and their statistics. Enable individual columns via the checkbox next to the labels, and save changes to see your player list in action.

    Plugin Author ThemeBoy

    (@themeboy)

    Hi there,

    Currently the only way to do this is to create your own template.

    You will need to make a copy of:

    wp-content/plugins/sportspress/templates/event-performance.php

    and move it to

    wp-content/themes/__your_theme__/sportspress/event-performance.php,

    where __your_theme__ is the folder name for your theme (e.g. twentyfourteen).
    You can then make the changes needed in your template. Templates in your theme will automatically override the SportsPress defaults.

    Hope this helps!

    Plugin Author ThemeBoy

    (@themeboy)

    Hi there, thanks for your question.

    The plugin supports unlimited teams per event, but is currently not compatible for individual sports. This means that you can have events that are Team 1 vs Team 2 vs Team 3 vs Team 4, for example, but not Player 1 vs Player 2 vs Player 3 vs Player 4 etc.

    We’re working on adding individual sport options by version 1.

    Plugin Author ThemeBoy

    (@themeboy)

    Hi Andrea,

    Thanks for the additional info. We may have found the issue.

    Could you please go to SportsPress > Settings > Configure and look at the Outcomes section. Is the Primary set to Goals or Default (Goals)? There may be a glitch with the Default settings, so changing this to Goals could solve the issue.

    Plugin Author ThemeBoy

    (@themeboy)

    Hi again!

    Thanks for clarifying. Here’s a preset file that you can use. Create a copy of one of the presets (for example sportspress/presets/soccer.json) and name it snooker.json. Then, replace the contents with the following code:

    {
    “name”: “Snooker”,
    “outcomes”: [
    “Win”,
    “Loss”
    ],
    “results”: [
    { “name” : “Frames Won”, “description” : “Total number of frames won” },
    { “name” : “Points”, “description” : “Total points”, “main” : 1 }
    ],
    “performance”: [
    “1st Frame”,
    “2nd Frame”
    ],
    “columns”: [
    { “name” : “P”, “equation” : “$eventsplayed”, “description” : “Games played” },
    { “name” : “W”, “equation” : “$win”, “priority” : 2, “description” : “Wins” },
    { “name” : “L”, “equation” : “$loss”, “description” : “Losses” },
    { “name” : “PF”, “equation” : “$pointsfor”, “priority” : 1, “description” : “Points for” },
    { “name” : “PA”, “equation” : “$pointsagainst”, “description” : “Points against” },
    { “name” : “Frames Won”, “priority” : 3, “equation” : “$frameswonfor” },
    { “name” : “+/-“, “equation” : “$win – $loss”, “description” : “Frame Difference” }
    ],
    “statistics”: [
    { “name” : “Games Played”, “equation” : “$eventsplayed” },
    { “name” : “Games Won”, “equation” : “$win” },
    { “name” : “Frames Won”, “equation” : “$frameswonfor” },
    { “name” : “Win Percentage”, “equation” : “$win / $eventsplayed * 100”, “precision” : 2 }
    ]
    }

    You’ll now be able to select “Snooker” from the Sports dropdown in SportsPress Settings 🙂

    Plugin Author ThemeBoy

    (@themeboy)

    Hi again!

    From what I understand about snooker (which is very little), I think something like the following settings would work. Please go to SportsPress > Settings > Configure and add each of these settings:

    Event Outcomes:
    Win
    Loss

    Team Results:
    Frames Won
    Points

    League Table Columns:
    Games Played: eventsplayed
    Won: win (priority: 2)
    Lost: loss
    Points: pointsfor (priority: 1)
    Frames Won: frameswonfor
    Frame Difference: frameswonfor – frameswonagainst (priority: 3)

    Player Performance:
    1st Frame
    2nd Frame
    (or alternatively, Points if you only want to keep track of total points per player per game)

    Player Statistics:
    Games Played = eventsplayed
    Games Won = win
    Win Percentage = ( win / eventsplayed ) x 100. Rounding should be set to 2.
    Frames Played = eventsplayed x 2

    Note that Team Results have a “For” and “Against” counter, so you could use those results to count +/- differences in the league tables and player lists.

    I hope this helps!

    Plugin Author ThemeBoy

    (@themeboy)

    Glad to hear that! Feel free to let me know if you have any other questions about the plugin 🙂

    Plugin Author ThemeBoy

    (@themeboy)

    The release candidate (version 1.0-rc) of the new theme is expected at the middle of this month. We’ll be sending this version to all current customers of the Football Club theme 🙂

    Plugin Author ThemeBoy

    (@themeboy)

    Hi there,

    You can update directly from the dashboard via Plugins > SportsPress > update now.

    Although American Football presets are not included yet, the plugin is fully capable of handling statistics for all team sports. I recommend going to the SportsPress > Settings screen and changing “Sport” to “Custom”, then switching back to “American Football (coming soon)”. This will reset the configuration, which can then be accessed via the Configure tab.

    From the configure tab, you can add your own settings for Event Outcomes, Team Results, Player Performance, Table Columns, Player Metrics, and Player Statistics. Please feel free to let me know if you have any questions about how to configure these settings for your league.

    Plugin Author ThemeBoy

    (@themeboy)

    Version 1 is due at the end of this month. We’ll keep you posted 🙂

    Plugin Author ThemeBoy

    (@themeboy)

    Hi Andrea,

    Thanks for your question.

    This generally happens when one or more of the Team Results values is left blank. Could you verify that all fields (1st Half, 2nd Half, Goals, Outcome) have been filled in?

    Plugin Author ThemeBoy

    (@themeboy)

    Hi there,

    Thanks for your question.

    We’ve been working on a lot of exciting updates for you guys. SportsPress is the only one that is publicly available in beta, but there are a number of themes and extensions that we will be releasing very soon.

    The first SportsPress theme is a sequel to Football Club, and a full license will be provided to all current customers for free. We’ll also be throwing in a premium extension for being with us from the beginning 🙂

    Here’s a sneak peek of the new theme: https://twitter.com/ThemeBoy/status/464278776805748736

    Thanks again for your patience. We’re really excited to show you what we’ve been working on!

Viewing 15 replies - 481 through 495 (of 723 total)