SportsPress - Manage Leagues & Sports Clubs
[resolved] Netball (4 posts)

  1. ld90
    Posted 1 year ago #

    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:


    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! :)


  2. ThemeBoy
    Plugin Author

    Posted 1 year ago #

    Hi there,

    Thanks for your question.

    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!

  3. ld90
    Posted 1 year ago #

    That works! Thank you!

  4. ThemeBoy
    Plugin Author

    Posted 1 year ago #

    Awesome! You're welcome :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic