Hi,
If it is just about hiding certain inputs, you could also do that with CSS. It requires some manual labour’s, but once you have 1 match correct, it is a simple matter of copy & pasting.
One thing to keep in mind though, is that clever players could still enter predictions for those matches by fiddling with the page, or even by calling the AJAX endpoint. If you notice this, then you need to delete those predictions from the database (and send the player a compliment for trying to outsmart you 😉).
Best option, I agree, is the extension. I think it won’t be that hard if we take the Golden Games extension as an example (it has everything: admin screen for selecting matches, template override and pre-calc function to delete fraudulent predictions). I can help with that, I will have a look tonight.
P.s. I learned some time ago that it is allowed to ask questions on the forum in Dutch, but that won’t help others indeed. And English is not a problem for me.
I just checked your golden goal plugin, and it has a bunch of code we do not need(like the ball icon for the joker etc) but it could help me out because it has the css code labeling indeed and an easy admin interface. I am aware that if they know css they could possibly just make it visible again, but i have no clue how to do it otherwise without alot of coding.
Thanks alot for willing to help out!
I created a basic version of an ‘exclude matches extension‘ based on the golden games one. Hope this helps (disclaimer: didn’t test a lot).
Hey, thanks Antoine i think it works as intended, however i’m also using another plugin you made earlier ‘different-points-per-match-type’ and i don’t think it’s taking account for those values. Would be nice if that plugin is installed that it looks at those values, if not the regular plugin values.
Also i just sent some coffee your way for all the effort your putting in this, there’s more to come your way when the pool goes live in November.