Support » Plugin: Football Pool » Different points per match type

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter kleb123

    (@kleb123)

    Is this not possible anymore with the newest version?

    Plugin Author AntoineH

    (@antoineh)

    I can’t think of a reason why this shouldn’t work anymore. But also didn’t test it.

    Did you make sure you synced the match type IDs in the config with your own values?

    Thread Starter kleb123

    (@kleb123)

    This is how I did it: https://i.ibb.co/SfHvFxX/footballpool.png

    I also have the plugin activated. Is this the right way?

    Thread Starter kleb123

    (@kleb123)

    I now activated the ‘Golden Game Matches’ plugin and can manually select which games have double points, so that has the same result for me 👍🏼

    Plugin Author AntoineH

    (@antoineh)

    I just did a quick test with the “Football Pool Match Type Scores” extension and it still seems to work. Not sure why it is not working for you. Did you get any related errors or warnings in the log?

    Plugin Author AntoineH

    (@antoineh)

    Oh, wait, I think I see the problem. You shouldn’t have a comma on the last line. That’ll make it an invalid JSON format.

    Good:

    define( 
    		'FPX_POINTS_PER_MATCHTYPE',
    		'{
    			"1":[2,5,2,0,0],
    			"2":[4,10,4,0,0],
    			"3":[4,15,6,0,0],
    			"4":[4,20,8,0,0],
    			"5":[4,25,10,0,0],
    			"6":[4,30,12,0,0]
    		}' 
    	);

    Bad:

    define( 
    		'FPX_POINTS_PER_MATCHTYPE',
    		'{
    			"1":[2,5,2,0,0],
    			"2":[4,10,4,0,0],
    			"3":[4,15,6,0,0],
    			"4":[4,20,8,0,0],
    			"5":[4,25,10,0,0],
    			"6":[4,30,12,0,0], 
    		}' 
    	);
    Thread Starter kleb123

    (@kleb123)

    Thank you again! 🙏🏽

    I would like to add to this, that this plugin removes the scores when you set visibilty to 0 of a certain gametype. My scores get changed when for example the groupstages are over, and you would only want to show the 8th finals. I assume it defaults to the standard match score from the admin panel ‘mine is set to 1’ because i do get points for matches i correctly predicted, but not the amount i set in this plugin, i do however get the points when i set the matchtype back to visible for some reason?

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.