Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Problem with Facebook plugin

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Troubleshooting › Problem with Facebook plugin

  • This topic has 6 replies, 2 voices, and was last updated 12 years, 9 months ago by admin.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • July 26, 2012 at 3:00 pm #6996
    streidl
    Member

    Hello,

    I use WP eMember together with Buddypress and the facebook-plugin WP-FB AutoConnect. This plugin offers the opportunity to register and log in with your facebook account.

    Everything works fine except for one thing:

    When I log in by entering username and password (in the WP-FB AutoConnect Widget), I get logged into Buddypress and also into eMember. No problems there…

    But when I log in via the Facebook-Button of the plugin, I get logged into Buddypress but NOT into eMember.

    Any ideas what I can do?

    Thanks for your help,

    Streidl

    July 26, 2012 at 10:52 pm #47807
    admin
    Keymaster

    eMember doesn’t do any direct facebook login integration like BuddyPress does. eMember’s login operations are integrated with WordPress. If you get logged into WordPress thats when you will get logged in eMember too.

    So the question is, when you use this facebook button of this other plugin, do you get logged into WordPress as a WP User too?

    July 27, 2012 at 12:17 pm #47808
    streidl
    Member

    Ok, I figured out it is not a problem with logging in or not, or with the facebook plugin. When I log in, close the browser and then open the site again, I am logged out by wordpress, but the membership level inside of eMember is still active.

    Example:

    I create an empty site with

    [emember_protected scope=not_logged_in_users_only]

    You are not logged in

    [/emember_protected]

    [emember_protected for=2 do_not_show_restricted_msg=1]

    You are a Level 2 Member

    [/emember_protected]

    [emember_protected for=3 do_not_show_restricted_msg=1]

    You are a Level 3 Member

    [/emember_protected]

    When I visit this site the first time, I get “You are not logged in”. After I log in with a level 2 member, I get “You are a Level 2 Member”. So far so good.

    After closing and opening the browser again (new sessioin id), I am not logged into WordPress (or Buddypress) anymore – as it should be.

    But if I go to my testpage, I get “You are a Level 2 Member” again – as it shouldn’t be.

    What can I do?

    July 28, 2012 at 12:10 am #47809
    admin
    Keymaster

    Closing the browser doesn’t clear your session immediately. How long PHP session last is determined by your PHP setup (within a certain time you can close the browser as many times as you want without losing the session data). Please create a test member account (you will delete it later) and share the details so I can see the behavior. Please also post a link to the page in question.

    July 30, 2012 at 5:40 am #47810
    streidl
    Member

    Hello,

    I did some testing if it was due to some of the plugins or changes that I made, but WP and eMember keep being out of sync. I even setup a new WP installtion with emember, still the same. In the WP User Untegration Setting, all three options are checked.

    I tried the following steps:

    1. Login via WP (ok)

    -> I am also logged into eMember

    -> After Logout via WP admin bar I am also logged out of eMember

    2. Login via eMember widget (not ok)

    -> NOT logged into WP! (see comments area: “You must be logged in to add a comment”)

    3. Login via WP, close browser, open the site again (not ok)

    -> Not logged into WP (ok)

    -> Still logged into eMember (not ok)

    This tells me, that it cannot be a session time issue, otherwise I would also still be logged into WP, right? Plus I am still logged into emember after hours.

    To reproduce that, goto:

    http://topdogs.zsr-verlag.de/testsite/

    Username: testuser222

    pass: testuser2

    EDIT: I have no caching plugins installed

    July 30, 2012 at 5:55 am #47811
    streidl
    Member
    July 30, 2012 at 6:18 am #47812
    admin
    Keymaster

    This shouldn’t happen unless some other script is interfering. I have sent you an email to get access to the site so I can do some checking.

    When I went to your test site and tried to enter the username, it keeps resetting the value entered in the field as soon as I move the mouse pointer. Whats up with that? I used Google Chrome when checking it.

    Also, did you try using the “After Login Redirection” feature?

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ