WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7 Dynamic Text Extension
[resolved] Update to CF7 3.6 seems to have broken the dynamic text extension (26 posts)

  1. unick69
    Member
    Posted 7 months ago #

    CF7 now only shows the shorcode for the extension instead of actual data

    http://wordpress.org/plugins/contact-form-7-dynamic-text-extension/

  2. Sjourney
    Member
    Posted 7 months ago #

    I confirm this as well. This is what I came to report
    I'm running:
    WP v3.8
    CF7 v3.6
    CF7 DTE v1.0.4.2

    Added screenshot of issue (imgur)

    Edit: For clarity CF7 is still working. Email is getting sent. I'm don't think (haven't confirmed yet) that CF7 DTE is obfuscating.

  3. Sjourney
    Member
    Posted 7 months ago #

    @unick69 do your log files or debug mode give you any further info ?

  4. OkUsato
    Member
    Posted 7 months ago #

    CF7 v3.6, the LOG

    Text domain has been changed from “wpcf7″ to “contact-form-7″ according with the standard of WordPress.org language packs.

    In CF7 DTE folder, wpcf7_dynamic_text.php uses wpcf7

    Could be this one?

  5. Sjourney
    Member
    Posted 7 months ago #

    @OkUsato Nice sleuthing. :)
    BTW, what does 'Text domain' mean in this context?
    When I have time later, I will dig and see if I can understand how to make the change to test this out.

  6. fijnmedia
    Member
    Posted 7 months ago #

    I solved it by editing settings.php

    This:
    add_action( 'plugins_loaded', 'wpcf7');

    Into this:
    add_action( 'plugins_loaded', 'wpcf7' ,1);

    Greetings

  7. OkUsato
    Member
    Posted 7 months ago #

    It works!

  8. vaschops
    Member
    Posted 7 months ago #

    Hi guys...
    I had the same issue.
    Followed the above...Now works like a charm.

    Thank u

  9. Exponential
    Member
    Posted 7 months ago #

    I had the same problem and made the same change as fijnmedia suggested and it fixed it!

    I don't know why it's fixed but it works! :)

    Thanks

  10. achensee
    Member
    Posted 7 months ago #

    +1 it works with fijnmedias fix.
    Many Thanks!

  11. ikookmaar
    Member
    Posted 7 months ago #

    fixed mine too! I'll support fijnmedia request to incorporate this in the next Contactform 7 version...

  12. Sjourney
    Member
    Posted 7 months ago #

    +1 @fijnmedia
    why does this fix work ?

  13. fijnmedia
    Member
    Posted 7 months ago #

    I didn't dig that deep in the code. I just compared some code from the previous version. I'm glad it worked for you guys!!

    Greetings!

  14. fijnmedia
    Member
    Posted 7 months ago #

    I didn't dig that deep in the code. I just compared some code from the previous version. I'm glad it worked for you guys!!

    Greetings!

  15. Sjourney
    Member
    Posted 7 months ago #

    @unick69 mark this resolved <wink>

  16. sevenspark
    Member
    Plugin Author

    Posted 7 months ago #

    Hey guys,

    Just a hook sequencing issue with the latest version of CF7 - basically with the latest update, CF7 ran AFTER CF7 DTX, which meant CF7 wasn't present when DTX registered its tags.

    Anyway, just released v1.1 which will now work with CF7 v3.6

    Have a great holiday, everyone! :)

    Chris

  17. mike_piercy
    Member
    Posted 7 months ago #

    Well done on finding a solution and so quickly. Saved a lot of sore heads!

    Any idea how long it takes for the WordPress Plugin Directory to update? I can still only download 1.0.4.2. - Ireland

    Thanks again, happy holidays!

    Michael

  18. mike_piercy
    Member
    Posted 7 months ago #

    Actually, scrap that. When you go to download the plugin, it actually downloads 1.1. - just the button caption hasn't updated yet.

    Thanks again.

    Michael

  19. Sjourney
    Member
    Posted 7 months ago #

    As of this moment, the plugin installer still hasn't been updated.

    @sevenspark
    Does this mean we should undo the @fijnmedia fix ?

  20. sevenspark
    Member
    Plugin Author

    Posted 7 months ago #

    Hey guys,

    Apparently the last version number didn't get updated because when I changed the file names, the repository didn't delete the old version, so it was still picking up the old version number of the plugin even though the contents were current. I've now delete that through svn and the version has been updated to 1.1. To be sure you have the latest version working, you may want to redownload and ensure that your version is 1.1 in your Plugins panel :)

    @Sjourney, I would recommend undoing the finjmedia fix. It is essentially the same thing, but it could have an impact on other parts of the CF7 plugin, whereas the fix in CF7 DTX will only affect the DTX plugin

    Thanks, guys!

    Chris

  21. ikookmaar
    Member
    Posted 7 months ago #

    So I updated CF7 DTX to 1.1 and then tried to undo fijnmedia's fix, but since then the CF7 WP-reCaptcha plugin (and maybe other CF7 plugins too) stopped working, it only shows the shortcode. Reapplying the fix and re-activating the WP-recaptcha or the CF7 DTX plugin didn't help.
    Is this caused by the CF7 DTX 1.1 update? What to do?

  22. sevenspark
    Member
    Plugin Author

    Posted 7 months ago #

    I highly doubt it. More likely that the CF7 recaptcha is being affected by the CF7 update/sequencing change just as the DTX was. Make sure the priority on the plugins_loaded action hook in that plugin is set higher than 10

  23. ikookmaar
    Member
    Posted 7 months ago #

    I am not really a PHP programmer. Could anyone point me to how and where to set this priority?
    Thanks and sorry, I know that this is not your plugin...
    In CF7 recapcha's WPASDPlugin.class.php I found:
    "add_action('plugins_loaded', array(&$this, 'initialize'));"
    I changed it to :
    "add_action('plugins_loaded', array(&$this, 'initialize'), 1);"
    But that doesn't seem to work. Will I have to deactivate and reactivate Contact Form 7 or any of the extensions plugins also? If so, in what order?

  24. sevenspark
    Member
    Plugin Author

    Posted 7 months ago #

    Looks like you found it :) But like I suggested, make the priority higher than 10. i.e. change that 1 to a 15.

    Just a guess, though. That's what worked in the DTX. If it doesn't work for you, the author of that plugin will have to look into it.

  25. ikookmaar
    Member
    Posted 7 months ago #

    I thought making it a lower number would change it to a higher priority (hence the expression priority one), but indeed it apears to work in the oposite way. Setting it to 15 made it work again. Thanks Sevenspark!

  26. sevenspark
    Member
    Plugin Author

    Posted 7 months ago #

    You're welcome, glad it helped! :)

  27. adambot
    Member
    Posted 6 months ago #

    Thanks so much sevenspark for helping us figure out the issue with someone else's plugin!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.