• Has anyone gotten this to work? My awayrecord sits a 0-0-0 always.
    Is there something special that needs to be setup first?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Brian

    (@brianmiyaji)

    @gator8 Thanks for your question! The home/away records use the “Condition” setting of Event Outcomes, which you can access via SportsPress > Configure. Usually, these are something like:

    Win – Most Goals
    Draw – Equal Goals
    Loss – Least Goals

    The records will output the outcomes with the conditions in the order most-equal-least, so setting these up will enable this feature ??

    Thread Starter Gator8

    (@gator8)

    I should have been more specific. I already have the outcomes all set up. The problem is that ALL the outcomes are being placed in the Homerecord and NONE are being recorded in Awayrecord despite 40% of games being away games.

    Thread Starter Gator8

    (@gator8)

    OK. It’s working on a different site I manage, so I’ll try and figure out the difference.

    Thread Starter Gator8

    (@gator8)

    Here’s what I’ve found.
    I’m trying to display a 1-team league table. This is where all of the games show up as home games.
    If I display a season League table, the home/away records work. Basically, for any period you want to display, I have to include *all* of the teams we played against, or it will not work.

    Plugin Author Brian

    (@brianmiyaji)

    @gator8 thanks for the additional details! You’re right, this was a bug that added home and away records when the other team is not in the same league table. Good find!

    Here’s the commit that will fix it: https://github.com/ThemeBoy/SportsPress/commit/aab5e80d183ee9f6c68735b7914da192dd7c6fa9

    We’ll be releasing an update very soon.

    Thread Starter Gator8

    (@gator8)

    Super! Thanks Brian.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Homerecord/awayrecord’ is closed to new replies.