Skip to:
Content
Pages
Categories
Search
Top
Bottom

(sigh) integration cookie problem for all users except admin

  • @rebootnow

    Participant

    I have BP 1.0.2 and BBP 1.0.1 installed and integrated.

    Everything is fine as admin, but other users can’t post. It seems to work (no error messages) but no post appears. I checked the db and it isn’t there either.

    So I followed the trail and found that the problem is happening in “validate_auth_cookie()” in “class.wp-auth.php” (via “bb-auth()” in “bb-posts.php”).

    Specifically, the call to “get_user()” around line 77 is returning false, exiting at line 288 in “class.wp-users.php” .

    Does this ring any bells? As far as I know I have everything set up correctly with the integration. This is reinforced by the fact that the admin user is working fine.

    Some other details:

    – I have flushed cookies and tried this on multiple browsers

    – I have all the secret keys defined on both sides

    – I have “define(‘WP_AUTH_COOKIE_VERSION’, 1);” in bb-config.php

    – I am using deep integration, but get the same result without it

    – I get the same result with the standard bbPress theme

    Of course, I’ve searched this forum and the bbPress forum for clues.

Viewing 26 replies (of 26 total)
  • @korhanekinci

    Participant

    ok, I had one member with user name “Korhan”, I guess I did this by mistake in the forum profile edit area and could not somehow change it back to “korhan”. So I went inside the database and changed it manually. Posting works now.

    I also changed all profile links in forums to buddypress /member/username way, so that there are no 2 places where users play with their profiles but just one and that should be buddypress profile pages.

    I know this is going off topic, but here is what I did so that others can use it. I use the looks-like-buddypress theme for my forums:

    I changed the logged-in.php file:

    <div id="logout-link">
    <?php bp_loggedinuser_avatar_thumbnail( 20, 20 ) ?> &nbsp;
    <?php bp_loggedinuser_link() ?>
    <?php bb_admin_link( 'before= / ' );?>
    / <?php bb_logout_link(); ?>
    </div>

    Also added the css

    #logout-link {
    float: right;
    }

    #logout-link img {
    vertical-align: middle;
    }

    This way the looks are the same as bp

    I also changed the sign-up page link to bp’s. I replaced the sign-up button in login-form.php with this:

    <input type="button" name="signup-submit" id="signup-submit" value="<?php _e( 'Sign Up', 'buddypress' ) ?>" onclick="location.href='<?php echo bp_signup_page() ?>'" />

Viewing 26 replies (of 26 total)
  • The topic ‘(sigh) integration cookie problem for all users except admin’ is closed to new replies.
Skip to toolbar