• Resolved rkuipers33

    (@rkuipers33)


    Hi,

    Submission of a form in a popup (Popups plugin) seems to fail for me after updating to version 6.4.6.
    After downgrading back to 6.4.5 everything worked as expected again.
    Upgraded back to 6.4.6 so you guys can maybe have a look?

    Thanks in advance,
    Rob

    NB. another form that is not within a popup works for both 6.4.5 and 6.4.6.

    The page I need help with: [log in to see the link]

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Contributor yikesitskevin

    (@yikesitskevin)

    Hey Rob. I’ll test this presently. Thank you for reporting this.

    Plugin Contributor yikesitskevin

    (@yikesitskevin)

    Rob,

    Are you referring to the popup that comes up when you click GRATIS EBOOK?

    I’m getting a javascript error from SPU. It looks like it has nothing to do with our plugin so it’s interesting that our plugin update broke it…

    Perhaps it is a caching issue? Can you try disabling caching or excluding SPU plugin files from the cache?

    Let me know.

    Thank you,
    Kevin.

    Thread Starter rkuipers33

    (@rkuipers33)

    Hi Kevin,

    Yes, that’s the popup. Sorry, forgot to mention.

    I’m using TotalCache and CloudFlare. In TotalCache I’ve disabled Page-caching and Minifying and in the Object cache plugins are (and were) excluded.
    It’s a bit more tricky to disable CloudFlare (since that also acts as Nameserver), but I did purge the cache.

    Any thoughts?
    Thanks,Rob

    Plugin Contributor yikesitskevin

    (@yikesitskevin)

    I don’t see any of our plugin’s files on the page. I assumed they were minified but I am not seeing any minified JavaScript either.

    It seems to me like the popup is loading the shortcode content too late so our assets aren’t being included. However, this doesn’t make sense if the form was working before the latest update (because the latest update was fairly small and wouldn’t have changed anything related to how assets are enqueued).

    Did you make any other changes? Can you think of anything else that has changed?

    Thread Starter rkuipers33

    (@rkuipers33)

    No, nothing has changed in the past week. I’ve downgraded to 6.4.5 so you can see the difference.

    Plugin Contributor yikesitskevin

    (@yikesitskevin)

    Hi @rkuipers33,

    I have no idea how your form is working.

    None of our plugin’s files are being loaded onto the page. Somehow the popup plugin is able to send the AJAX call and data to the correct place. There must be some type of integration between the popup plugin and our plugin. What kind of steps did you have to take to configure this plugin?

    Let me know.

    Thank you,
    Kevin.

    Thread Starter rkuipers33

    (@rkuipers33)

    Kevin,
    The Popups plugin has a Settings-page on which ‘Ajax mode? (Load popups using ajax. Compatible with cache plugins, but might not work with all plugins)‘ is enabled.
    It uses the abbreviation ‘spu’ which you spotted earlier, for its shortcodes. See https://www.ads-software.com/plugins/popups/
    It was just a plain install, after which a created a small popup with an Easy Forms shortcode in it.
    Not much more I can tell you about it I’m afraid.

    Thanks,Rob

    Plugin Contributor yikesitskevin

    (@yikesitskevin)

    Okay. I’m going to test this locally.

    Plugin Contributor yikesitskevin

    (@yikesitskevin)

    Two things.

    1. I can’t get the shortcode to work in the popup. What am I doing wrong?

    2. Is your Easy Forms set to AJAX submissions or non-AJAX?

    Thread Starter rkuipers33

    (@rkuipers33)

    The code behind the popup I use is:

    <h3 style="text-align: center;">KLAAR VOOR IETS NIEUWS?</h3>
    <p style="text-align: center;">Wil je op een moeiteloze manier projecten leiden? Wil je meer effect bereiken met minder inspanning?</p>
    <p style="text-align: center;">In dit ebook leer ik je 5 strategie?n die je direct kunt toepassen. Ik gebruik ze stuk voor stuk zelf in de projecten en programma’s die ik aanstuur. Daarom ben ik overtuigd van hun waarde.</p>
    <p style="text-align: center;">Als je je aanmeldt krijg je ook wekelijks gratis tips, inspiratie en hacks voor moeiteloze projecten.</p>
    [yikes-mailchimp form="5" description="0" submit="JA, STUUR ME HET EBOOK!"]

    This Easy Forms-form has AJAX-submission disabled.

    Plugin Contributor yikesitskevin

    (@yikesitskevin)

    Agh, I finally found the issue ??

    We re-did the way our nonce was created and this removed a hidden field that we weren’t using at all (_wp_http_referer). Well, it turns out the popup plugin uses this hidden field to determine where to send the data.

    I’m looking at a potential solution now.

    Thread Starter rkuipers33

    (@rkuipers33)

    Wow! Excellent work!
    On that happy note: have a good weekend!

    Looking forward to the next release and thanks again,
    Rob

    Thread Starter rkuipers33

    (@rkuipers33)

    Yes! Resolved in version 6.4.7.
    Thanks again Kevin & Yikes!

    Issue can be closed.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Submission of form in popup fails after last update’ is closed to new replies.