bbPress

Simple, Fast, Elegant

bbPress support forums » Installation

yet more login/cookie wp<->bb problems

(2 posts)
  • Started 1 year ago by _ck_
  • Latest reply from _ck_
  • This topic is resolved
  1. Hi, sorry I've read and read and tinkered and tinkered without luck.

    BB does not see the WP logged in cookie for some reason.

    wordpress is in /news/
    bbpress is in /forum/

    I am using a plugin on wordpress to change the cookie path to "/" and firefox shows the cookie is indeed set to the "/"
    the domain is set to "example.com" without the "."

    right now I've got in config.php set as
    $bb->usercookie = 'wordpressuser';
    $bb->passcookie = 'wordpresspass';
    $bb->cookiedomain = 'example.com';
    $bb->cookiepath = '/';

    So what little detail have I missed?

    Thanks for any help!

    Posted 1 year ago #
  2. Aha!

    I thought the hash value was unique for each user.
    Apparently it's unique for each blog.

    so
    $bb->usercookie = 'wordpressuser_full.hash.number";
    $bb->passcookie = 'wordpresspass_full.hash.number";

    Did the trick in config.php

    Since WP 2.1+ uses the hash number, probably should update the instructions around the site. Thanks again!

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.