Viewing 9 replies - 1 through 9 (of 9 total)
  • Yer… I cant log Out aither… wat’s up? Any known Fix?

    In my testing, I managed to logout once. But after that, all testing failed. Just like af3, I had to go to facebook to logout.

    I’m using WPMU2.9.1.1 and the latest trunk of BP.

    ei guys, the new version released just today fixed the problem.

    I use buddypress 1.2 and bp-fbconnect. The problem is that I can only logout from the backend but not from the frontpage.

    On the following page https://alvinzhang.info/?p=139 I found a way how this problem could be fixed. I tried it out but unfortunately without any change at all. I still can only logout from backend and not from frontpage.

    Another way to logout is to go to facebook and to logout there. When I’ve logged out from facebook I can also logout from the buddypress frontpage.

    Does anybody has an idea how I can fix that problem?

    Dailytalker – I have the exact same problem.

    The only thing I did differently was to install BuddyPress with subdomain. As subdomain.main.com for my central BuddyPress community. But I don’t think this should change anything. I’m using WPMU 2.9.1.1 with plugin 1.2.

    What’s worse is that in my case it loops the login process. The browser loops into logging in.

    Maybe it’s the cookie management or theme incompatibility issue.

    I have the same problem!

    I have seen that logout link in backend works (https://example.com/wp-login.php?action=logout&_wpnonce=defgsbc7a3b) while this on BP-connect in homepage doesn’t (https://example.com/wp-login.php?action=logout&redirect_to=http%3A%2F%2Fexample.com&_wpnonce=defgsbc7a3b).
    So the problem is “redirect_to…”: but how to eliminate it?

    How to change logout link of BP-connect? I have tried to modify some files in BP-connect plugin but without success.

    Thanks for help!

    same here …not logging out from the buddypress admin bar at the top

    also …. i’m hoping because one of the founders of buddypress andy developed this plugin that we are safe using it going forward and our facebook registrations will always be able to sign into buddypress the same way in years to come?

    I found (simple) solution: the error is in the SIDEBAR BUTTON LOGOUT, not in BP-Facebook connect plugin.
    You have to change logout link in the sidebar.php (wp-content/plugins/buddypress/bp-themes/bp-default/sidebar.php) and eliminate this part “&redirect_to=http%3A%2F%2Fexample.com&_wpnonce=defgsbc7a3b”.
    So It’s very simple to correct bug.
    In the orginal sidebar.php there is :

    <div id="sidebar-me">
    			<a href="<?php echo bp_loggedin_user_domain() ?>">
    				<?php bp_loggedin_user_avatar( 'type=thumb&width=40&height=40' ) ?>
    			</a>
    
    			<h4><?php bp_loggedinuser_link() ?></h4>
    			<a class="button logout" href="<?php echo wp_logout_url( bp_get_root_domain() ) ?>"><?php _e( 'Log Out', 'buddypress' ) ?></a>
    
    			<?php do_action( 'bp_sidebar_me' ) ?>
    		</div>

    So you have to change href value of

    <a class="button logout" href="<?php echo wp_logout_url( bp_get_root_domain() ) ?>"><?php _e( 'Log Out', 'buddypress' ) ?></a>.

    Unluckily I have not found a working general hook to generate automatically logout (working) link, but some time ago I have seen that this is a common error in WordPress.
    In the worst case you can put directly in the href the logout link taken from dashboard (it works and it doesn’t contain redirect option).

    Ok, the solution is very very simple: in wp-content/plugins/buddypress/bp-themes/bp-default/sidebar.php you have to change this “wp_logout_url( bp_get_root_domain() )” in “wp_logout_url()”

    For me working very well!
    Bye

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Plugin: BP-FBConnect] not logging out?’ is closed to new replies.