• Resolved ld90

(@ld90)

I’m trying to implement a Netball league table.

Unfortunately this has a funky points system that I’m struggling to get working with SportPress.

The scoring is as follows:

4 Points for a win
2 Points for a draw
1 Point for each Quarter won
1/2 Point for each Quarter drawn
1 Point to the losing team if their score is over 50% of the winning team’s score.

On the team results page I have the following:

http://i.imgur.com/lQfL9Im.png

So in the example above the points should be given as follows:

TEAM A – 4 pt for winning Overall
TEAM B – 1 pt for winning QTR 3
TEAM B – 1 pt for having scored over 50% of Team A
TEAM B – 0.5 pt for drawing QTR 4.

I want SportPress to be able to work out and allocate the points accordingly, but I don’t think I can do it unless there are ‘>’ or ‘<‘ operators added or maybe ‘If True’ or ‘If False’.

Any advice please?! This is a fantastic plugin and I would like to use it to it’s full potential! ðŸ™‚

https://wordpress.org/plugins/sportspress/

Viewing 3 replies - 1 through 3 (of 3 total)
• Plugin Author ThemeBoy

(@themeboy)

Hi there,

This is a complex scoring system, but I think we can make it work!

Since the equations are only calculated based on the sum of values from events, we’ll need to create separate Team Results for each type of scoring.

Let’s create these Team Results:
1. Quarters won
2. Quarters drawn
3. Over 50%

Then, we can use the following equation for the points:
Points = “Win” × 4 + “Draw” × 2 + “Quarters won” + “Quarters drawn” ÷ 2 + “Over 50%”

This means of course that the Quarters won, Quarters drawn, and Over 50% columns will be displayed in event pages, but we’ll be adding an option to hide certain results columns in the next update ðŸ™‚

Hope this helps!

ld90

(@ld90)

That works! Thank you!

Plugin Author ThemeBoy

(@themeboy)

Awesome! You’re welcome ðŸ™‚

Viewing 3 replies - 1 through 3 (of 3 total)
• The topic ‘Netball’ is closed to new replies.