WordPress.org

Ready to get started?Download WordPress

Forums

Simple Facebook Connect with Theme My Login (10 posts)

  1. circular one
    Member
    Posted 3 years ago #

    Hi, i'm using Simple Facebook Connect V 0.21 and Theme My Login V 6.02. I have the connect button showing up fine on the login page and when I login using a facebook account a new user is registered in WordPress but the screen just refreshes. It seems to be getting redirected back to the login form 2 or more times and doesn't show me as being logged.

    http://www.audiofleet.com/wordpress/?page_id=6?redirect_to=http://www.audiofleet.com/wordpress/?page_id=6?redirect_to=http://www.audiofleet.com/wordpress/?page_id=6?redirect_to=http://www.audiofleet.com/wordpress/?page_id=6

    Can anyone help, i'm going round in circles like the redirects!

  2. circular one
    Member
    Posted 3 years ago #

    Just realised that facebook avatars are not showing up in comments either. Using the default twentyten theme. Any ideas?

  3. Samuel Wood (Otto)
    Tech Ninja
    Posted 3 years ago #

    Logged in users don't show FB avatars by default. It's assumed that a logged in user will have a proper gravatar.

    There is some code in SFC-Login that is at the bottom, commented out. Uncomment it and it will enable FB avatars for logged in users, overriding their gravatars.

    As for the redirect, if you have Login working on some custom page, then SFC-Login probably won't work with it. It expects you to be going through the normal wp-login page, otherwise it can't recognize who you are. ALL logins must pass through wp-login.

  4. riffard
    Member
    Posted 3 years ago #

    Login is on the site admin login page. There is both the WP-login AND the [connect with facebook] button. Only the WP-login works. The problem, I've encountered is that if I login with my WP-login credentials, when I go back and attempt to post a comment, it doesn't do so with the facebook avatar. I have to logout, then connect with fb, comment using my facebook credentials and then it shows that I commented with facebook, along with the avatar. Otherwise, I get the empty place holder silhouette.

  5. Jeff Farthing
    Member
    Posted 3 years ago #

    The redirect issue may have been caused by TML. The newest version correctly removes the "redirect_to" variable from the "redirect_to" variable. LOL.

  6. Andy Beard
    Member
    Posted 3 years ago #

    TML 6.0.3 still blocks things and I also tried the latest alpha dev build.

    The connection is made with Facebook, but the redirect afterwards doesn't happen, thus a user account is not created and they don't get logged in.

    It only seems to be an issue if you want accounts created automatically with SFC_REGISTER_TRANSPARENT set to true.

  7. circular one
    Member
    Posted 3 years ago #

    Thanks for the replies. I spent a lot of time trying to get simple facebook connect to work, as well as various other facebook connect plugins.
    The only one that worked for me straight away with theme my login is WP-FB-AutoConnect. Also using Twit Connect with no problems alongside it.

  8. Andy Beard
    Member
    Posted 3 years ago #

    I did look at that plugin briefly but I like the idea of passwords being sent by email also working correctly.

  9. rubblemasta
    Member
    Posted 3 years ago #

    Similar issues to OP here, I'm using TML 6.0.4 and SFC 0.21 - clicking "Connect with Facebook" on login page reloads the login page.

    If I'm already logged into Facebook, reloads straight away.
    If I'm not logged into Facebook it pops up the Facebook login modal but submitting that just reloads the login page as well.

    It's the only essential feature I have left with this arrangement. My requirements are similar to Andy Beard's - I don't want to use AutoConnect.

    Any help appreciated!

  10. Samuel Wood (Otto)
    Tech Ninja
    Posted 3 years ago #

    It attempts to reload because it is assuming that you're on the wp-login.php page, which would then log you in. I can't make it work with plugins that do things in non-standard ways.

Topic Closed

This topic has been closed to new replies.

About this Topic