WordPress.org

Support

Support » Plugins and Hacks » Fans see featured image after reload

Fans see featured image after reload

  • Hello!

    I´m using your plugin for a long time and I´m really happy with it – works great!
    Now I tried to insert a form (using formidable pro) on the page. I want the users to get fans by clicking the Like-Button first. This works and I set the featured image for this.
    After filling the form the user clicks the submit button and the page reloads, now the featured image is shown again although the user is a fan now. Normally the page should display “Thank you for filling the form…” – Formidable does this automatically.

    Any idea what may cause this?

    Best regards,
    Jan

    http://wordpress.org/extend/plugins/wp-facebook-applications/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jeremy Herve

    @jeherve

    Jetpack Mechanic

    I’m not sure how Formidable Pro works, so I may not be able to help here.

    I would recommend that you check for Javascript errors when submitting the form, and let me know if you see any errors related to my plugin.

    You can find out how to enable the Javascript console here:
    http://webmasters.stackexchange.com/questions/8525/how-to-open-the-javascript-console-in-different-browsers

    The only error I see in Firebug is this:

    The “fb-root” div has not been created, auto-creating
    all.js…xfbml=1 (Line 52)
    FB.getLoginStatus() called before calling FB.init().
    all.js…xfbml=1 (Line 52)
    FB.init has already been called – this could indicate a problem
    all.js…xfbml=1 (Line 52)
    SyntaxError: syntax error
    [Bei diesem Fehler anhalten]
    <div id=”fb-root”></div>

    Interesting:

    FB.getLoginStatus() called before calling FB.init()

    I check this on an other App without Formidable Pro – same error here. So maybe it´s not the form…

    Best regards,
    Jan

    Plugin Author Jeremy Herve

    @jeherve

    Jetpack Mechanic

    Do you use any other Facebook plugins on your site? If so, could you try to deactivate them and see if the problem remains?

    I didn´t find a solution – every time the iFrame reloads the page gets blocked by the featured image… 🙁

    Had to edit your code:

    – <base target=”_blank”>
    (line 9) had to be removed for forms to work

    – FB.Canvas.setAutoResize(); has to be replaced by
    – FB.Canvas.setAutoGrow(91);
    (line 103) setAutoResize is not supported by FB any more

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fans see featured image after reload’ is closed to new replies.