WordPress.org

Ready to get started?Download WordPress

Forums

Football Pool
Announcement: upgrade to version 2.4.0 (21 posts)

  1. AntoineH
    Member
    Plugin Author

    Posted 4 months ago #

    Hi,

    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.

    Regards,
    Antoine

    https://wordpress.org/plugins/football-pool/

  2. sillery4ever
    Member
    Posted 4 months ago #

    thanks

  3. Jensdiep
    Member
    Posted 4 months ago #

    is multisite supported? :$ hope so!

  4. AntoineH
    Member
    Plugin Author

    Posted 4 months ago #

    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.

  5. cardila
    Member
    Posted 4 months ago #

    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

    https://wordpress.org/plugins/football-pool/

  6. AntoineH
    Member
    Plugin Author

    Posted 4 months ago #

    Hi,

    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 ;)

  7. cardila
    Member
    Posted 4 months ago #

    Thanks for you response AntoineH

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

  8. KAP10
    Member
    Posted 4 months ago #

    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.

  9. AntoineH
    Member
    Plugin Author

    Posted 4 months ago #

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

  10. KAP10
    Member
    Posted 4 months ago #

    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 http://www.KevinAndrewOnline.com, except for #12, #13, and #14.

  11. AntoineH
    Member
    Plugin Author

    Posted 4 months ago #

    I changed the predictionform shortcode in this version. The sheet is only shown to logged in users (see http://wordpress.org/plugins/football-pool/changelog/). Does that explain your problem?

  12. KAP10
    Member
    Posted 4 months ago #

    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

  13. KAP10
    Member
    Posted 4 months ago #

    The reinstall yielded the same results. :(

  14. AntoineH
    Member
    Plugin Author

    Posted 4 months ago #

    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.

  15. the0bone
    Member
    Posted 4 months ago #

    Thanks for the update!

  16. KAP10
    Member
    Posted 4 months ago #

    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.

  17. AntoineH
    Member
    Plugin Author

    Posted 4 months ago #

    My contact info is at the bottom of the help page.

  18. KAP10
    Member
    Posted 4 months ago #

    OK. I have sent the data base to the contact. I hope it is something simple. :-0

  19. KAP10
    Member
    Posted 4 months ago #

    In the meantime, I have tried to add two new matches. After I create try to create and save them and recalculate, they do not show up.

  20. AntoineH
    Member
    Plugin Author

    Posted 4 months ago #

    @KAP10: I didn't receive an email. Please check if you used the correct address.

  21. KAP10
    Member
    Posted 4 months ago #

    ooops. I did send it to the wrong email address. I have sent it again. Kev

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.