Support » Plugin: Football Pool » Announcement: upgrade to version 2.4.0

  • Plugin Author AntoineH



    As the new version (2.4.0) is rapidly coming closer to its release I wanted to inform you of a few important things before you decide to upgrade. I’m posting this now, so that visitors of the forum have already seen this information (some people just don’t read readme files ;)).

    As always you should be able to apply the upgrade to an already running pool. The data won’t be affected. I tested this on some databases with test data, but to be perfectly save, please backup your database before you upgrade. It could go wrong. Maybe I made a mistake, or maybe the upgrade from WordPress is interrupted in the middle of the process.

    If you made changes to the plugin’s files (code, images, css, js or language files) also make a backup of your files. Those changes will be overwritten on an upgrade. Code changes will have to be done again and possibly rewritten to fit my new code.

    If you used actions or filters (hooks) to extend the functionality of the plugin, please verify that they are still working and doing what you want. I did some rewriting of some parts of the plugin that as a whole make the plugin better (in my opinion ;)), but may break your changes.

    And finally: I made some changes to the database that require a recalculation of the ranking; I can’t automate this in the upgrade. So please do a full calculation after the upgrade.

    That’s all for now. If you have any questions, please don’t hesitate to ask. Just reply to this post.

    When will version 2.4.0 be released? I’m aiming for May 1.


Viewing 15 replies - 1 through 15 (of 20 total)
  • thanks

    is multisite supported? :$ hope so!

    Plugin Author AntoineH


    Sorry, Jensdiep, I have to disappoint you. There won’t be multi site support. I have no experience on the matter, but from what I have read it looks like a lot of work to do it right.

    Hi AntoineH

    I’m trying to install the development version 2.4 on a test site but it is showing me an error:
    Parse error: syntax error, unexpected T_FUNCTION in /home1/cardila/public_html/wp/wp-content/plugins/football-pool/classes/class-football-pool-pool.php on line 714
    Could you help me with this error?
    Thanks in advance and great job

    Plugin Author AntoineH



    The problem was a closure which is not supported on PHP versions below 5.3. I rewrote that part and committed the change.

    Someday I’m gonna drop support for PHP v5.2. Version 5.3 is out for some time now. Time to upgrade 😉

    Thanks for you response AntoineH

    I fixed this with my hosting provider and it is working fine right now
    Thanks again and good job

    Hello Antoine, I had everything working just exactly the way it should and I decided to do the upgrade. Unfortunately, something is wrong. My rankings pages (weekly & cumulative) look fine with all my “test” Challengers properly listed along with the total points they had earned. Unfortunately, my page that should show the predictions (20 matches) is not showing them, even though I have verified that they are still in the data base. I cannot imagine what could be wrong.

    Plugin Author AntoineH


    I’ll have to look into that tonight. Are you using the prediction page that was installed by the plugin, or the predictionform shortcode?

    I am using shortcode on the installed /pool page. This is the shortcode:

    <span class=”code”>[fp-predictionform matchtype=”16″ text=””]</span>
    <span class=”code”>[fp-predictionform matchtype=”17″ text=””]</span>

    Luckily, I created some Screen Shots the day before I performed the upgrade.[see screenshots #8 – #14]. All of these actual pages are still visible at my live site, except for #12, #13, and #14.

    Plugin Author AntoineH


    I changed the predictionform shortcode in this version. The sheet is only shown to logged in users (see Does that explain your problem?

    Unfortunately, the shortcode does not work when the user is logged in either, even if the user is an administrator. I think I will try to uninstall and reinstall to see if that helps. I will be sure the “keep data on uninstall” option is checked. Kev

    The reinstall yielded the same results. 🙁

    Plugin Author AntoineH


    Do the match types have the “visible” setting set to “yes”? If it is set to “yes” then I’m out of clues. If you send me a dump of your database (pool tables only), then I will have a look on my dev laptop. See if I can reproduce the problem.

    Thanks for the update!

    The “visible” setting is indeed set to “yes”. I have prepared the dump. Will you please email me the address to send it to. Thanks. Kev.

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘Announcement: upgrade to version 2.4.0’ is closed to new replies.