Why did you put bbPress into the wp-plugins folder? It’s not a WordPress plugin.
Seems as if I have the same problem as doyle640. Integrated the Alpha with WP 2.6.2 and after adding “require_once(‘../wp-blog-header.php’);” to bb-config.php I can’t access the bbP Admin section anymore. the “Reply” and “New Topic” area is gone as well, Profile can’t be edited etc. The title under my Admin name (“Key Master” by default) will also change to Invalid.
The loading error for the admin section is indeed a 500 error. At first I figured it might be related to some class conflicts within the WP and bbP CSS structure but fiddling with that didn’t help either.
Now it seems more likely that the User Account looses all of it’s user privileges in bbP once it’s integrated with WP for some reason.
Narrowing down on the problem, I’m now able to log in even with the integration code added (by using the exact same setting for WordPress address and Blog address as used in General Settings), however the account is extremely limited in use.
It’s basically the same issue described by user doyle640 here (https://bbpress.org/forums/topic/wordpress-and-bbpress-integration-101/page/3), the Admin screen is unaccessable (blank page) as well as the Profile edit options, even the form to add a new topic is completely missing.
This is true for the Admin account as well as any user account.
Once the line “require_once(‘../wp-blog-header.php’);” is deleted from bb-config.php, everything is accessable as usual.
The login synchronization now works both ways as it should though.
> Is this the reason why bbPress 0.9.0.2 shouldn’t be
> intergrated with WordPress 2.6 and I need to try bbPress
> 1.0 Alpha instead?
Yes. bbPress 0.9.0.2 and WordPress 2.6.* are not cookie-compatible.
https://bbpress.org/forums/topic/wordpress-and-bbpress-integration-101#post-17409
Hi there.
I just installed bbPress 0.9.0.2 and integrated it with my WP 2.6.2.
I also added WordPress functions via require_once in bb-config.php so I can utilize my blog’s header and footer for the forum.
Now everything looks the way I want it, but I just can’t login to a bbPress account anymore (direct login via bbPress interface). When I enter wrong login data, it takes me to the failed login screen as expected. When I enter the right login data it will just return me to a blank login form.
Is this the reason why bbPress 0.9.0.2 shouldn’t be intergrated with WordPress 2.6 and I need to try bbPress 1.0 Alpha instead?
Or should I still be able to login via the bbPress interface, just not synchronized via WP, and the problem is located elsewhere?
Thanks a bunch
Lars
If the browser is blank when you load a page, it’s probably due to a 500 error. Do you have access to error logs to see what’s causing that error? I have not hear of that before when including WordPress in bbPress.
Does anyone know why the admin section is displaying blank when the wordpress functions are included in bbpress?
@ck:
based on my recollections, as i’m on a road trip and can’t readily pull up the code, WP2.6 (maybe older, too, i don’t know), in the midst of their new cookies, has an action hook that can be tapped at cookie-creation to make an additional cookie for bbPress to read (in my instance, bbPress is in /forums/ so the new cookie is restricted to that path). the function that destroys the cookies at logout doesn’t have an action hook, so it has to be overridden (it’s pluggable). on the bbPress end, it’s virtually identical–use an action hook at login to create the various cookies that WP expects, override the pluggable cookie-destroying function.
there’s also some work in syncing up all the various secrets.
it’s worth noting that the cookie that’s now restricted to wp-admin/ in WP2.6.x is the same cookie that was unrestricted in path previously, so the mechanics of the cookie contents and whatnot aren’t any different, just the path restrictions.
that works, however, i can no longer access the admin section, it only loads as blank, any ideas why? thanks for your help with this.
the rest of the functions work on the main pages of the forum.
To use the WordPress functions get_sidebar and get_header, you need to include WordPress inside bbPress:
https://bbpress.org/documentation/integration-with-wordpress/#func
This might help as well:
http://www.adityanaik.com/integratepress-part-i/
I successfully integrated bbpress alpha with the latest wordpress. The install is pretty flawless.
Now, I want to pull in the header and sidebar from wordpress. Does anyone have any tips for me on how to do this?
You need to log in on the front page of your forum, as keymaster, and then next to your name, after you log in, will be a link to admin. Click that, and you’re in. If logging in does not show the admin link, then the user you are logged in as is not the keymaster.
Do not try to access the bb-admin/index.php directly. It doesn’t work like WordPress.
logout and use bbPress login not wordpress.
“.mysite.com” should cover all subdomains.
Techincally .www.mysite.com is a subdomain.
I don’t know why it didn’t work for you
unless perhaps it was already “.www.mysite.com” on the WP side. They have to match.
thank u very much, Chris.
I thought you integrated themes with them.
anyway, it would be great of you if you could offer it for dummies. 
It’s an elegant theme.
Got integration working under WP 2.5.1 and bbpress 0.9.0.2
I’d just like to make an observation regarding integration instructions for power users –
Instruction part 8 says: Copy all these items into the bottom of wp-config.php and edit as required:
$wp->cookiedomain = ‘.your-domain-name.com’;
define(COOKIE_DOMAIN,’.your-domain-name.com’);
// note the leading DOT – this is important
// we list both for WordPress legacy compatibility
Originally, I took this to mean:
$wp->cookiedomain = ‘.mysite.com’;
define(COOKIE_DOMAIN,’.mysite.com’);
It wasn’t working. However, once I changed it to:
$wp->cookiedomain = ‘.www.mysite.com’;
define(COOKIE_DOMAIN,’.www.mysite.com’);
and in bb-config.php:
$bb->cookiedomain = ‘.www.mysite.com’;
(adding the www part) It works perfectly fine now.
Hope this helps.
Can add bbPress poll into wordpress like Bbpress Latest Discussion and embed wordpress post?
I experimented for awhile with making a plugin that would make 2.6 work with the 2.5 cookies using a pluggable replacement but the task proved overwhelming. Then I tried making a replacement pluggable for bbPress to make it work with 2.6 cookies and that was just as insane too.
Unless your mods are concentrated into one file I wouldn’t recommend tampering with the core.
I don’t get the rush to WP 2.6 It’s getting terribly bloated.
I miss 2.0 – feature rich yet still lightweight.
Though I hesitate to say this out loud, it is possible to integrate bbPress 0.9.0.2 with WordPress 2.6.x (I have a site running the two and logins to one part work in the other, cookies are properly set and cleaned up, etc.), BUT it requires plugins to both bbPress and WordPress (or, alternately, modification of core code) and I’d venture to guess that it might substantially weaken the cookie security introduced in WP2.6. If anyone is desperately interested, I can share details, but it’s messy.
Also, why are you loading bb-load.php into WordPress? Do you need to use bbPress functions inside WordPress?
To me this sounds like you are way off on the wrong track. I’ve never heard of anything like this before. I use a static front page for WordPress and have never had this problem.
Did you install bbpress and wordpress into separate folders? Is bbPress in a subfolder of WordPress?
Did you create an .htaccess for bbPress and are you using permalinks?
Is this relevant at all?
https://bbpress.org/forums/topic/bbpress-wordpress-mu-or-not-leads-to-404-errors-but-pages-still-load#post-13156
Not trying to distract you from the work you’re doing, but I’ve never heard of anyone going off in that direction before for a problem like this.
So I have confirmed that this happens even if I set both bbpress and wordpress to the default themes, so it is definitely not something in the themes I’ve customized.
I really wish I could find the code where wp is determining the post ID of the home/front page as I suspect that is the best place to start trying to tackle this.
I’ve set up dozens of bbpress forums, but this has got me stumped. This is a fresh install, with NO WordPress integration.
The install appears to work fine, but afterwards I cannot access the admin pages (it just redirects to the homepage). I AM a keymaster (I can see this from editing my profile). I do NOT have any .htaccess files anywhere.
I have tried everything I can think of – deleting bb-config.php, dropping all the tables, re-uploading all the files, even deleting the subdomain and database from the server and re-creating it.
This is BBPress 0.9.0.2, on Apache 2.2.9 (Linux) and PHP 5.2.6
It’s not available AFAIK. I was trying to search the forums here for the last time it was discussed but I can’t find it. It was a custom theme they had done by Happy Cog, I think.
https://bbpress.org/forums/topic/new-wordpressorg-forum-theme
hi,
I would really like to use the WordPress Forums <http://wordpress.org/support/> theme at my bbPress forums. Is there anywhere I can download it?