• Resolved idet2

    (@idet2)


    I was wondering if there is any overlapping or malfunction if both the “Golden Games” plugin (https://dl.dropboxusercontent.com/u/397845/wordpressfootballpool/extension-plugins/football-pool-golden-games.php) and the “Golden Ball” as provided initially by the Fotball pool plugin are active.

    I would like to have the ability to manually define matches for the next stage of Euro2016 as “Golden Games” for all users that’s why I have installed and activated the plugin (without defining any match as golden yet). At the same time and until the group phase is over I would like all my users to have the ability to use their one “golden ball” at will. Is there any problem if I have these both running at the same time the way they are right now?

    Furthermore, after the group phase is over I don’t want the users to be able to use any “golden ball” (if left) therefore I am thinking to deactivate that option from the plugin’s options. Is that OK? Does that mean that all points that the users have earned using their golden ball so far will be reduced or not?

    Regards!

    https://www.ads-software.com/plugins/football-pool/

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

    (@antoineh)

    Golden games cannot be used in combination with the golden ball.

    Thread Starter idet2

    (@idet2)

    OK! I understand!

    If I disable the golden ball what happens with the already calculated points due to the golden ball?? Do they remain or are they lost??

    All the best!

    Thread Starter idet2

    (@idet2)

    I ‘ve learned that the hard way! The scores are lost! Any ideas how to recover? I ‘ve tried disabling the golden game plugin but recalculation didn’t help! Any ideas? I can check a recent db backup if necessary….but on which field in the db are the golden balls defined? If I can redefine for every user and recalculate will it work ???

    Regards!

    Plugin Author AntoineH

    (@antoineh)

    The golden games are stored in the wp_options table. If you restore that value and you do a recalc, the scores are restored.

    The needed option_name is in the extension plugin.
    Update: you need the value for FootballPoolGoldenGamesExtension.

    Thread Starter idet2

    (@idet2)

    Can you help me a bit further…I am trying to figure out how to do that for different users since different users had used their golden ball in different games and not at the same time.

    All that I have related to your post is this line from the backup:

    INSERT INTO wp_options VALUES(“2713″,”FootballPoolGoldenGamesExtension”,”a:1:{i:0;i:0;}”,”yes”);

    Is that sufficient for all games played so far with golden goals to be recalculated?
    Will that also fix the problem that players that already used the golden ball can play again another ball??

    Where are all these stored? Any help much appreciated!

    All the best!

    Thread Starter idet2

    (@idet2)

    A little bit digging revealed that the

    pool_tucfl_predictions table holds the “has_joker” value.

    If I restore these values can I then have it correctly back?

    Thread Starter idet2

    (@idet2)

    Indeed that was the solution!

    For future reference, changing the “has_joker” value at the “pool_wp_predictions” table to the ones before the activation of the “Golden Game” plugin restored all scores correctly.

    Regards!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Golden Games in addition with Golden Ball’ is closed to new replies.