Skip to:
Content
Pages
Categories
Search
Top
Bottom

WordPress + bbPress Integration 101

Viewing 16 replies - 176 through 191 (of 191 total)
  • gerikg unfortunately i’m using wordpress not MU!

    We have progress, now I can login in wordpress and after that in bbpress and to be active logged in the two sites, but I’m not automaticaly in bbpress, when I login into wordpress :(

    daudev if you are NOT using WPMU then you shouldn’t have so many lines.

    delete what you pasted and follow these instructions

    6 Login to your wordpress dashboard. Go to Plugins->Add New-> search for “bbPress Integration” it should be the first one. Install it and activate.

    7 Go to Settings-> bbPress Integration. Enter the bbPress URL without the www. Your plugins URL leave blank. Click on Save Changes. On the bottom box you’ll see some text copy it. Most likely it will say “define( ‘COOKIEPATH’, ‘/’ );”

    There should be only ONE line in both files. Make sure you have the correct checkbox that says wordpress not wordpressmu

    Still the same, logged in the wordpress, not logged in the bbpress but can do it.

    only with define( ‘COOKIEPATH’, ‘/’ ); in the both files!

    But i look very carefully into the cookies.

    I found 2 differences!

    First for wordpress cookies

    login cookie is with name wordpress_logged_in_xxxxx and path /

    and other cookies are with path /wp-admin, wp-content/plugins, /forum/bb-admin /forum/bb-plugins

    and for the bbpress cookies are

    wordpress_xxxxxxx and path /

    and other cookies are with path

    website.com/wp-admin

    website.comwp-content/plugins

    website.com/forum/bb-admin

    website.com/forum/bb-plugins

    I think this is the problem, but I don’t knew how to fix it, to have path without the host in bbpress cookies…

    Do you want me to look at it? and did you clear your cache after you just have one line?

    I don’t need to clear the cache, just the cookies, but yes I did, i cleared both!

    It works when i login first in bbpress, then I’m logged in wordpress also, but first in wordpress and then in bbpress is not working!

    do you want me to look at it??? email me ftp and give me admin access.

    Cross-Domain Intergration

    I’ve not seen anything about messy cross-domain integrations, so I thought I’d share my method. I’m using WordPress 2.8.6 with BBPress 1.0.2. Your mileage may vary on other versions. I suspect this method is not valid for 2.5/0.9.

    The setup:

    – example.com/blog

    – example.com/forum

    – example.org/forum

    With shared user tables and database.

    The config AUTH_KEY/SECURE_AUTH_KEY/LOGGED_IN_KEY should be the same for all (remember to add BB_ to the forum config files). Within the BBPress admin intergation, have the same auth/secure/logged in values for all forums (remember it’s the value shown within the WordPress options screen, not the values in the config files).

    In this case cookiepath should be ‘/’ ($bb->cookiepath = ‘/’; // in bb-config and, define(‘COOKIEPATH’, ‘/’); // in wp-config). Set other $bb->style configurations as you wish.

    Basically, everything is the same. Except: The Cookie Domain must be explicitly set**. And not always set to the same value.

    In example.com/blog’s wp-config add: define(‘COOKIE_DOMAIN’,’.example.com’);

    In example.com/forum’s bb-config add: $bb->cookiedomain = ‘.example.com’;

    So far, so simple.

    Now, in theory, example.org/forum can be set with $bb->cookiedomain = ‘.example.com’; // But I’ve not tried. Paranoid browsers would surely reject this. Instinctively having the forum rely on something that might look like a security risk is bad.

    Instead, try adding this to example.org/forum’s bb-config: $bb->cookiedomain = ‘.example.org’; // Users will still need to log in separately when they switch domain, but all the other integration features seem to be fooled, with no adverse problems.

    I’d welcome any feedback on this method. I’m still not sure this is the best approach.

    ( ** Not setting the cookie domain appears to work, until the user switches between domains – example.com/blog doesn’t simply fail to find a cookie set by example.org/forum, it may fail a fresh blog login until cookies are cleared. I’m not sure exactly what’s happening, but it’s messy.)

    daudev, I messed up on step

    4 Open bb-config.php (in the bbpress folder) do the same thing here. With the SAME keys you put in the wordpress file put in the bb-config file around line # 41-45. ***You have to add BB_ to the front of the names. Example: BB_AUTH_KEY to all eight.*** Save. Keep the file open for now.

    im wondering how to recover the admin password, i lost it and im stuck,

    thanks guys, sorry for the off topic post, seems like you guys know how to get around bbpress


    Rich Pedley
    Member

    @rich-pedley

    would be far better to start a new thread.

    Hi guys! I have a curious with this plugin. When a unregisterd user leave a comment on my blog, the username will be transfered correctly to forum, and a voice will be created. But i can not see the content of the comment.

    But if i edit the comment on forum, i do see the content.

    Plz help!


    kevinjohngallagher
    Member

    @kevinjohngallagher

    would be far better to start a new thread.

    Please start a new thread!


    cm
    Member

    @ciobomario

    And for integrate bbpress with wordpress 3.0?


    kevinjohngallagher
    Member

    @kevinjohngallagher

    would be far better to start a new thread.

    Please start a new thread!

    PLEASE START A NEW THREAD.

    This one started in February 2009, It’s June 2010!!!

Viewing 16 replies - 176 through 191 (of 191 total)
  • The topic ‘WordPress + bbPress Integration 101’ is closed to new replies.
Skip to toolbar