bbPress

Simple, Fast, Elegant

bbPress support forums » Troubleshooting

WordPress integration: Logout problem

(8 posts)
  • Started 4 months ago by codeoncrack
  • Latest reply from Sonika
  • This topic is not resolved
  1. codeoncrack
    Member

    After integrating WordPress and bbPress, a single login works correctly, but logout does not work. When I click the logout link from bbPress or WordPress, it does not log me out of bbPress but does log me out of WordPress. Does anyone know why the bbPress logout would not be working?

    Posted 4 months ago #
  2. codeoncrack
    Member

    Actually, I found I can't login either. There was a cache problem with login. I will search more posts for ideas. If anyone has thoughts, please share.

    Posted 4 months ago #
  3. codeoncrack
    Member

    Another update...
    When trying to login to bbPress, it logs me into WordPress, but not bbPress. So, the bbPress login and out features are setting correctly the WordPress session info, but not the bbPress session info.

    Posted 4 months ago #
  4. Try this:
    http://www.kineda.com/how-to-integrate-wordpress-and-bbpress-in-3-simple-steps/

    Be sure your cookie settings match in your config files.

    Posted 4 months ago #
  5. wilcosky
    Member

    I am having similar issues. I have followed the steps from kineda.com, and it's not working for me personally. Well, everything is working. I have fully integrated my wordpress blog and bbpress forum. So, users can sign up and use one username and password for both, works great, BUT, first of all... sometimes I guess the cookie part isn't working, because I can log in at my wordpress blog, then go to my forum and I won't be logged in. But, when I first did the integration, it worked. I'd log in at one, then go to the other and already be logged in. So there is that issue, then I am also having an issue every now and then with logging out. If I log out from my bbpress it gives me some kind of header already sent error... But, again, that only happens periodically. So, my issues are odd and they don't happen all the time :)...

    I'm thinking that most of my issues have to do with the cookies. Has anyone discovered any hints or tips to make sure that my cookie code is correct? The cookie part of my code in my bb-config file looks like this:

    $bb->authcookie = 'wordpress_354420af36a7c3b4f6ad07a79c17612a';
    $bb->cookiedomain = '';
    $bb->cookiepath = '/';
    $bb->sitecookiepath = '';

    does all that look correct?

    Posted 3 months ago #
  6. I'm having problems, too, with logging out. When I click Log Out, it does nothing. But if I switch to my Profile, it gives me the Login Form on my Profile page. But if I go back to the Home page, it remembers my previous login. This happened with the original theme, and is still happening with a new theme. This happens whether I have a session logged in with my WordPress installation or not--it doesn't seem to be related. This is a serious problem. I can't launch a bbPress-based site with login/logout not working.

    Posted 3 months ago #
  7. mattbaehr
    Member

    I have a similar logout issue. My WP and BB are integrated. I can login at the WP site and go to the BB site without issue. I can then logout of the BB site, but when I jump back to WP, I am still logged in.

    Posted 2 months ago #
  8. Maybe it will be helpful for somebody:
    if you have a problem with bbpress logout after "wp & bbpress integration" -- delete cookies in your browser and try agan.
    It works for me (wp 2.5.1, bbpress 0.9.0.2)

    Posted 1 month ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.