• Resolved fplnepal

    (@fplnepal)


    As i read your 1st post and solved the goal difference at 0-0 or 1-1 scoring . But users r getting extra 2 points for correct predicting draw matches like Argentina 1-1 Iceland . They are getting 9 pts. My points system are
    toto score 1
    full score 3
    goal bonus 2
    goal difference bonus 2

    But this rules doesnt apply at non draw matches like 2-1 and all,, max pt they get is 7 ..
    Here I see for 1-1 they are getting Full score 3 , Goal Bonus 2 for argentina and another 2 from iceland which add up to 7 pts. But rest 2 pts has been added from GOAL DIFFERENCE. It doesnt seems legit. If the user gets exact prediction then goal difference must be removed and HOW should i do that?
    Can yu help me? I know u ll say to use hook and all in php but I dont have any idea about it. Please help me

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

    (@antoineh)

    Sorry, but I can’t help you. I support the standard plugin and to some degree also the extensions I made. The software is provided as is.

    If you want customizations specific for your needs, then you can hire a developer if you don’t have the knowledge yourself.

    I think I got the math correct by just erasing the double backslash before «$is_true &&» in the calc_score function in the extension. I also erased the code that made the new «full with diff» category in the piechart.

    Hope that helps!

    Thread Starter fplnepal

    (@fplnepal)

    @gudetips16 Thank you it worked. Life saver

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