Skip to:

Cookie problem: when logged in WP logs out in BB, when logged in BB logs out of WP – help!

  • Hello

    I recently updated my wordpress installation with a new theme; for the occasion plus some SEO reasons I moved the bbpress forum from forum.domain .com to – the moving went ok and I have the website working fine (i’ve replaced all entries in the database relative to the forum position change – now the forum is in a subfolder of the wordpress installation, which is in the root)

    except for one problem:

    if a user is logged in in BBPress, it automatically logs out of WordPress; and viceversa: if a user logs in WordPress, it’s automatically logged out of BBpress – This is very annoying and confusing

    also because in this new theme I developed for BB/WP, I’ve placed a link to register/login in both wordpress and bbpress pages; when the user logs in, it should display “Hello, Username!” – When the user logs out or is unregistered, displays another message plus links to register or log in – therefore it’s confusing for users because they are logged in BBpress but from the WordPress page they are told they’re logged out (in fact they are)

    I’m making all users registering from BBPress – however sometimes they might want to comment the WordPress blog posts

    the integration is working otherwise fine, because I’ve also the BB/WP synchronization plugin installed (blog posts are republished in the forums and forum discussion replies appear correctly in the blog post comment thread)

    the only issue is cookies – how to solve this?

    thank you very much

Viewing 3 replies - 1 through 3 (of 3 total)
  • oh by the way, the blog/forum is – and the forum – it’s a website about Malaysia, Kuala Lumpur, etc – it’s in Italian

    but I think you can get an idea – also look at the top right header, that’s were users are supposed to do the login – login and registration links always point to bb-login / bb-register page s

    i’m using WP 2.9.1 and BB 1.0.2 – I’ve done the deep integration, syncing everything… it appears everything working very fine, except for the cookie / login problem…

    I solved my problem by reading this forum post:

    actually it’s not necessary to set the blog and the forum without the “www”

    it worked for me having the blog and the forum specified starting with www.

    I’ve spent hours working on this… the solution was to rename the keys and salt cookies hashes with the BB_ prefix – something that wasn’t too clear thing to do!

    I have to say this, BBPress is awesome for theming (and that’s why I love it) but sucks at many forum features that should be built (or deactivable if someone wants a very light forum) and most importantly sucks at integration with WordPress… which really does not make sense to me since it’s been around for… how long…? 2 years?

    I’ve read about people debating if BBPress should become a stand alone application or a core plugin for WordPress… I’m a wordpress user and here’s my feedback: please, please, please make this a wordpress plugin ASAP; If I just want a lightweight forum there are dozens over there to chose; what I need as a wordpress user is something robust to create a community in my blog and integrate any possible function I already have in bbpress

    I love the work done so far with bbpress and I love the application (otherwise I wouldn’t be here!) and it’s a shame that this project feels so abandoned

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.