Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: BuddyBar for bbPress


r-a-y
Keymaster

@r-a-y

Using a URL in the include_once doesn’t work, period.

Using a URL in the include_once does not give you deep integration.

Deactivate the BuddyBar in the bbPress admin area.

Remove all lines you put in bb-config.php.

Let’s start again… fresh!

First thing you want to do is deep integration between WPMU and bbPress, then you enable the plugin in bbPress.

Put the following in bb-config.php:

It should be something similar to this:

<php
if ( !defined( 'ABSPATH' ) & !defined( 'XMLRPC_REQUEST' )) {
define( 'WP_USE_THEMES', false );
include_once( 'YOURABSPATH_HERE/wp-blog-header.php' );
header( "HTTP/1.1 200 OK" );
header( "Status: 200 All rosy" );
}
the rest of bb-config here...

For YOURABSPATH_HERE… either use the path that John’s “abs.php” spits out or use

include_once($_SERVER['DOCUMENT_ROOT'].'/wp-blog-header.php');

Save bb-config.php.

Head on over to your bbPress forums.

Do you get any errors?

If everything is good, go to your bbPress admin area and enable the Buddybar plugin.

What happens?

Skip to toolbar