Support » Plugin: SportsPress - Sports Club & League Manager » Set Up Equations For Rugby Union With Bonus Points

• Hi, would anyone be able to assist me in explaining how to correctly set up the equations for Rugby Union to and to also include bonus points wins and losses?

I’m wanting to set it for the following:

Win = 4 Points, Draw = 2 Points, Loss = 0 Points
Score 4 tries (or more) = 1 Bonus Point
Lose by 7 points (or less) = 1 Bonus Point

Thanks for any assistance.

Alex

Viewing 15 replies - 1 through 15 (of 35 total)
• Plugin Contributor Savvas

(@savvasha)

You can try the following:

Total Points = Win x 4 + Draw x 2 + (Tries >= 4) + ((pointsagains – pointsfor) <= 7)

Thanks,
Savvas

SEO Sheikh

(@webfeetdesign)

Thanks for that @savvasha is this correct then? IMAGE

Plugin Contributor Savvas

(@savvasha)

You can try some scenarios to check if it is working as it should.
If I was you I was going to add two more brackets `((pointsagains โ pointsfor) <= 7)` instead of `(pointsagains โ pointsfor <= 7)`

Also you should use those signs (https://snag.gy/UrfjtB.jpg) and not those signs (https://snag.gy/gEtpds.jpg)

• This reply was modified 2 years, 3 months ago by Savvas.
SEO Sheikh

(@webfeetdesign)

Where would you put that equation? Which column – IMAGE

Thanks]

Alex

SEO Sheikh

(@webfeetdesign)

That didn’t work I’m afraid. I think I’ve got the points system sorted for scoring totals but I can’t seem to get the bonus points worked out.

Alex

Plugin Contributor Savvas

(@savvasha)

SEO Sheikh

(@webfeetdesign)

The problem is that it doesn’t calculate the bonus points. I can manually add a 1 in the bonus points field in the results section. Here is the results data that I’ve added for a sample.

This is the equation configuration for the Table

Thanks

Plugin Contributor Savvas

(@savvasha)

What is the equation for the bpfor?

SEO Sheikh

(@webfeetdesign)

This is the league table when the results have been added. You can see that I have added the 1 in the bonus point section but it. I would like it to be automatically calculated if possible by taking the tries (+4) or the losing less than 7. Sorry if that makes no sense.

Alex

SEO Sheikh

(@webfeetdesign)

What is the equation for the bpfor?

That adds the 1 that I added manually in the results table.

Plugin Contributor Savvas

(@savvasha)

Strange… Can you try the following equation exactly?
https://snag.gy/jAGTXJ.jpg

SEO Sheikh

(@webfeetdesign)

I did that. Did you mean to put in the divide sign?

It didn’t work. The league table now shows 29 points. It should be 4 for the win plus 1 for the bonus point, totalling 5.

SEO Sheikh

(@webfeetdesign)

Plugin Contributor Savvas

(@savvasha)

The divide sign was by mistake ๐