Skip to:
Content
Pages
Categories
Search
Top
Bottom

Deep Integration, No Cookies?


  • Ryan
    Member

    @daobydesign

    Hi, I’m using WP2.8 and bbP1.0.2. I’m looking to have access to WordPress’ functions, but do not need any cross-user abilities, so don’t need to wrestle with getting the cookies to jive or the user tables to sync.

    Is this possible?

    Currently I have:

    if ( !defined( 'ABSPATH' ) ) {
    include_once( '/pathtowp/wp-blog-header.php' );
    }

    Where, obviously, ‘pathtowp’ is the proper path.

    This work great and I have full access to WP’s functions for loading sidebars, categories, etc. However there seems to be something strange going on with the login.

    If I am logged in before I enable the line above in my config file, everything is fine. If I am logged out, enable the above line and then try to log in, I get no joy. The page simply reloads as if I had never logged in (no password error or anything like that — just again displays the login box).

    I am **guessing** this has something to do with some sort of conflict between bbPress’ login, and the login for WordPress? Maybe something goofy is happening with authentication? But I really don’t know.

    If anyone has experienced this and could offer their advice, it would be much appreciated.

You must be logged in to reply to this topic.