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!
Hi Roch!
Any help would be appreciated π
Is there a particular section you’re interested in?Event Outcomes, Event Results or Table Columns?
Thanks!
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!
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:
http://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 8 years, 4 months ago by
Roch.
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!
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!