• Resolved bjornmicallef

    (@bjornmicallef)


    Hi,

    I’ve installed the SportsPress plugin to use it on my sports team website. I’ve added a sample of events and for each event I have set the result and result outcome(win/loss). I’m then trying to get the table updated but the points aren’t updating. All other statistics(wins, losses, goal difference) are updating but not the points and bonus points. I’ve set my plugin for rugby union. I tried to change the default setting to basketball and soccer, checked the table and the points updated but when I reverted back to rugby the points are all zero.

    Could someone help me out please?

    Thanks,
    Bjorn

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi Bjorn!

    Thanks for reaching out and I’m sorry for the trouble.

    My name is Roch and I’m going to help you with your SportsPress support issues.

    It looks like there’s an issue with your points formula. Please kindly send us some screenshots of your SportsPress > Configure section.

    Thanks!

    Thread Starter bjornmicallef

    (@bjornmicallef)

    Hi Roch!

    Any help would be appreciated ??

    Is there a particular section you’re interested in?Event Outcomes, Event Results or Table Columns?

    Thanks!

    Thread Starter bjornmicallef

    (@bjornmicallef)

    I took a screenshot of

    Event Outcomes
    https://snag.gy/24mSjJ.jpg

    Event Results
    https://snag.gy/9lx5MN.jpg

    and
    Table Columns
    https://snag.gy/VzjkuY.jpg

    Thanks!

    Hi Bjorn!

    That’s exactly what we were looking for, thanks! ??

    The problem is indeed in the points formula. It seems to be loading a points stat, but there is no reference to it.

    How is your league table points usually calculated?

    Thanks!

    Thread Starter bjornmicallef

    (@bjornmicallef)

    Hey Roch!

    Thanks for your reply. It’s 4 points for a win and 2 points for a draw
    https://en.wikipedia.org/wiki/Rugby_union_bonus_points_system

    Which section handles the point system, mind if I ask?

    Thanks,
    Bjorn

    Hi Bjorn!

    That’s what I thought. So you’ll need to edit this item in your table columns:
    https://prntscr.com/hn1du7

    You’ll set that formula to be win * 4 + draw * 2

    The sort order seems to be correct already, so fixing this should get your points formula working.

    Let us know how it works.

    Thanks!

    • This reply was modified 6 years, 11 months ago by Roch.
    Thread Starter bjornmicallef

    (@bjornmicallef)

    Hi Roch,

    Thanks for the formula, very helpful and yes it did work! Awesome ??

    Before the formula was Pts = $points. Looks like $points was some sort of variable and in order to get the table updated I had to remove $points. Problem is I do not have the option to add it again from above if I need to. Do I need to add it again or was it just a mistake to have it there in the first place?

    Secondly, in rugby there’s a bonus point system. If a team loses by a slight margin they are still awarded a point. Or if a team scores a certain amount of tries they get a 1 point bonus. How can I add this to my equation please? Is it from Configure>Table Columns>BP>Edit? Mind you this equation has $bp as well like I explained in the previous paragraph. Or perhaps Configure>Event Results>BP>Edit?

    Thanks again and regards,
    Bjorn

    Hi Bjorn!

    That’s awesome, I’m glad it’s working now.

    “Do I need to add it again or was it just a mistake to have it there in the first place?”
    I believe it was just a mistake, as this variable isn’t set in other places.

    In that case, the easiest way to add this is by creating an extra points event outcome. So you can add yet another element to your points formula.

    When adding the events if you see that a team has more points than that threshold you just need to add this event outcome (in addition to win/ loss/draw).

    Thanks!

    Thread Starter bjornmicallef

    (@bjornmicallef)

    I haven’t tried the bonus point formula yet but now that I know how the whole equation system works it shouldn’t be a problem to add.

    In the meantime I’m marking this as resolved because the original question was answered. Thanks!!

    Hi Bjorn

    That’s great, I’m glad it’s all clearer now.

    If you need more help setting up the extra points just let us know.

    Also, a heads up, the extra event outcome may mess up the team’s total games count. So if you have a team with 10 games, but in the league table it has 12, that’s probably because of the extra points, but we can fix that by subtracting the extra points from the total games count.

    Thanks!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Points in league table do not update’ is closed to new replies.