Support » Plugin: Facebook Connect » [Plugin: Facebook Connect] Bug

  • Extremely difficult to submit bugs around here, despite it being designed to be “simple.” Could not find your listing in trac.

    Nevertheless, line 78 of your plugin should be
    if ( !is_user_logged_in() || !$cookie) { ?>

    as users who ARE authenticated, but not registered should still be provided the link to login and allow FB access.

    Overall, fantastic plugin. Thanks for the contribution!

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

Viewing 15 replies - 1 through 15 (of 75 total)
  • I want to try the plugin but got a few errors for example once activated and if I am already register it tells me it cannot find my email. The line you change is it the one that says:
    <span class=”fb_button_text”>
    Change it to:
    if ( !is_user_logged_in() || !$cookie) { ?>

    Sorry not good at all in coding.

    You may have set your Facebook privacy settings in a way that doesn’t share your email account.

    Plugin Author valentinas

    (@valentinas)

    I’ve just uploaded version 1.1 to svn. Should fix this issue, and also lots of other improvements. Please upgrade and let me know what do you think about new version. Should be much more robust.

    Looks like the issue is if I am already authenticated to facebook I get the following error “Error: failed to get your email from Facebook!” I went to facebook and logout and I was able to get back into my website and then click on connect. version 1.1 gave me the same error.

    Nice. I just installed this plug-in today for my buddy press site. I was able to connect with my Facebook email and password and it even created a new user in the backend using my Facebook name. Only problem is the avatar didn’t sync with Facebook. It would be great if the Avatar (and other info like location and birthday) synced. Is this a theme related issue, or just not coded into the plug-in? Thanks for this great plug-in!

    Plugin Author valentinas

    (@valentinas)

    So far its very vanilla and will only get Name and Last name from FB. There are hooks to add more information if you are a programmer. If not – you can watch this plugin and update when new version is available. We will extend it for BuddyPress to include all that additional information. I think this will happen some time in Jan 2011.

    Seems to work here – except for an annoying thing – after a user logged in – the page went blank. This is due to wp_get_referer() returning false. Changed the redirect from assuming wp_get_referer() returns something to:

    if (wp_get_referer()) {
    	wp_redirect(wp_get_referer());
    } else {
    	wp_redirect( $_SERVER['REQUEST_URI'] );
    }

    That seemed to fix it for me.

    Plugin Author valentinas

    (@valentinas)

    Thanks, donatien, will implement that to next version!

    Good stuff. I tried to find a better function for fetching the current page, but the best candidate seemed to be get_permalink(), but that only works for posts. In a note named “Link to current page” on http://codex.wordpress.org/Function_Reference/get_permalink they use the same code, so it seems right.

    Another thing, please remove the style declaration in the widget and replace with a class or id for styling. The text-align: center; just about drove me nuts 🙂

    Plugin Author valentinas

    (@valentinas)

    Sorry for that 🙂 Will be removed in next tag.

    You mention grabbing it from SVN, is that public and something you can share? I have a version that seems to work great if you’re already logged in but fails if you’re not. If you’re not logged in it just refreshes the login form (in the popup window).

    Thanks!

    Plugin Author valentinas

    (@valentinas)

    Newest development version available at http://plugins.svn.wordpress.org/wp-facebook-connect/trunk/
    Seems more like fb issue. Look for any script errors.

    Thanks Valentinas, I updated just to be safe, but it seems to have been an issue with Safari’s Private Browsing refusing to reset/release/create cookies.

    Plugin Author valentinas

    (@valentinas)

    Just tested – works for me. To make it clear: cookies are required for FB connect to work (not only for this plugin, but for fb connect API in general). So if cookies are disabled facebook connect will not work.

    By the way, are you on Mac, Windows or Linux? Im on Windows, so things can be a little different on other OS.

Viewing 15 replies - 1 through 15 (of 75 total)
  • The topic ‘[Plugin: Facebook Connect] Bug’ is closed to new replies.