• Resolved iul

    (@iul)


    Hello,
    I’d like to use this plugin for a rugby tipping competition where tipping exact scores is practically impossible to to it having a lot of points scored in a typical match so I would like the users to tip the margin they think a team will win by, something like Team A will win by 17 points, or Team B will win by 9 points, or it will be a draw.
    Is it possible to do this?

    Thank you for your time.

    https://wordpress.org/plugins/football-pool/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author AntoineH

    (@antoineh)

    I think this will be possible, but you will have to do some programming and testing yourself. Don’t know if you have any PHP knowledge, but the plugin has some filters you can hook into.

    Let me explain my thoughts (not tested though):

    The plugin has a goal difference scoring option. If you set all other points to 0 and only use the goal difference, then you are half way.

    Still users would have to predict 17-0 in the prediction sheet to predict a win for team A by 17 points. But the prediction form can be changed by a filter (see help page for details). So you could write your own function that changes the prediction sheet to your liking. Just make sure that the sheet contains the right input fields (they can be hidden) with the home score and away score that the save function can get the values from.

    Hope this makes sense 🙂

    Thread Starter iul

    (@iul)

    Thank you for the incredibly fast and comprehensive response. Unfortunately I am completely useless with PHP or any other kind of coding.
    I guess I will try to use it as it is and see what happens but it’d nice if you could introduce this option in future versions, as it doesn’t sound too complicated for someone who knows php and I’m sure other people need such an option too for pretty much all high scoring sports, such as rugby, handball, basketball, American football, cricket, baseball, etc.

    Anyway, thanks for spending your time working on this plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Tipping points differences instead of exact scores’ is closed to new replies.