• Resolved mornayr

    (@mornayr)


    Hi

    Please can you assist me with configuring for bonus points?

    For points > 50 add 1 bonus point
    For win > 11 add 1 bonus point
    For loss < 10 add 1 bonus point

    I have tried a few things and I don’t get it right

    I’ve used the rugby union settings with demo content

    Any help please

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

    (@savvasha)

    Hi @mornayr,

    Try Total = (points > 50) + (win > 11) + (loss < 10)

    Thanks,
    Savvas

    Thread Starter mornayr

    (@mornayr)

    Hi @savvasha

    Thanks for helping
    It doesnt work

    Complete points system is as follows:
    Win = 4
    Draw = 2
    Loss = 0
    BP = 1 for score more than 50
    1 for winning more than 10
    1 for losing less than 10

    I see under the event results BP is there already, what are they used for?

    Thread Starter mornayr

    (@mornayr)

    Is there a way to automatically calculate bonus points from the end scores?

    When using what you said
    “Try Total = (points > 50) + (win > 11) + (loss < 10)”
    points > 50 works for the first event when a score is 51 – 45 then BP adds 1, but once a second event is played and score is 52 – 30, the BP does not add another point.
    win > 11 doesn’t work correctly as I dont want to check total wins greater than 11, but rather total score > 11 (oppenents score) and same goes for loss < 10

    any advice?

    • This reply was modified 6 years, 10 months ago by mornayr.
    Plugin Contributor Savvas

    (@savvasha)

    I am not sure if I understand correctly. If for example a your team won with 51-32, then the total points that will earn will be Total = (points > 50) + (win > 11) + (loss < 10) = 1 + 1 + 0 = 2? Instead of just 3 points (for example) because of win?

    Thanks,
    Savvas

    Thread Starter mornayr

    (@mornayr)

    correct

    I created a column BP for bonus points in table columns, when I use the formula pointsFor > 50 it works for the first event but with the second event score also being 50+ it does not add another point to BP, I dont believe my configuration is correct

    Plugin Contributor Savvas

    (@savvasha)

    Unfortunately this is not possible with the current configuration of equations at SportsPress.

    Thanks,
    Savvas

    Thread Starter mornayr

    (@mornayr)

    @savvasha

    Thank you for your assistance
    Would this be a feature added in the future? as I believe a lot of sport use bonus points in some way

    Plugin Contributor Savvas

    (@savvasha)

    Hey @mornayr,

    You should add this at our Ideaboard (https://tboy.co/ideas) for discussion. We will definitely consider to add it in the feature if there are a lot of users that need it.

    Thanks,
    Savvas

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Conditional Equations’ is closed to new replies.