Skip to:
Content
Pages
Categories
Search
Top
Bottom

Cookie pretzel – Logging in from WP locks out BB admin


  • andrewfelluss
    Member

    @andrewfelluss

    WP2.6/BBpress1a

    I think my cookies settings are all in a pretzel! (Or the admin roles are mis-mapped?)

    I’ve had a challenging time getting these integrated, but I can see the light at the end of the tunnel…

    If I log in as admin from WP, I can post at bb, but can’t access the backpages, nor can i logout.

    If I login from BBpress, everything works normally. I’m confused about the various settings for cookie paths, since both the blog and forum are in subfolders of the site, to allow for future expansion without having to move them again.

    http://www.epnyc.org

    http://www.epnyc.org/forum

    http://www.epnyc.org/blog

Viewing 2 replies - 1 through 2 (of 2 total)

  • John James Jacoby
    Keymaster

    @johnjamesjacoby

    We’re all experiencing the same issue.

    Integration appears to be a little broken still.

    If you need to use the WP functions in your bbPress, that will break it further by not allowing you to access your bbPress admin panel at all.

    The problem looks like the bb_map_meta_cap filter is ignored when the WordPress functions are loaded in place of the bbPress ones.

    Some users have been able to resolve this by using a .htaccess file to redirect to the bbPress login and register page whenever an attempt to register or login is made through WordPress. That is the best fix at the moment if you do not require access to the WP functions.

    If you do require that access, then you will need to wait until a fix comes out for the issue I mentioned above. That’s where I am. :(


    andrewfelluss
    Member

    @andrewfelluss

    Thanks for the update. I made a little headway now.. I put the following in the wp-config.php:

    define(‘COOKIE_DOMAIN’, ”);

    define(‘COOKIEPATH’, ”);

    Which I found from the WP Integration page in BB Press. Now the login/admin access works, but I have to login at each site separately.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.