Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: how disable buddypress header menus from main site in wordpress network mode?


doctorproctor
Participant

@doctorproctor

Okay, now I do think my secondary blog installation is not working, as when I implemented the above via bp-custom.php, the admin bar was removed from *both* my main blog (where I don’t want it) and secondary blog (where I do want it).

I’m looking at the instructions for BP secondary blog installation, and the grammar of step 1 is a bit perplexing:

“In order to run Buddypress on a secondary blog, you should create a second blog and modify BuddyPress’ internal settings to set your new blog as the BP root blog. Next [what do they mean by “Next” here? I see what follows as the same instruction], define the ‘root’ blog you would like BuddyPress to reside at by adding the code snippet below to wp-config.php [this part is simple].”

The code I added to wp-config.php following instructions for WP network (multisite) and BP secondary blog is:

`define(‘WP_DEBUG’, false);
define(‘WP_ALLOW_MULTISITE’, true);
define( ‘MULTISITE’, true );
define( ‘SUBDOMAIN_INSTALL’, false );
$base = ‘[mysite]/’;
define( ‘DOMAIN_CURRENT_SITE’, ‘[myhost]’ );
define( ‘PATH_CURRENT_SITE’, ‘[mypath]’ );
define( ‘SITE_ID_CURRENT_SITE’, 1 );
define( ‘BLOG_ID_CURRENT_SITE’, 1 );

define ( ‘BP_ROOT_BLOG’, 2 );`

Where info in [] above has been replaced by literals in my case. The secondary blog is definitely #2; is there something else I’ve missed that (a) results in BP acting like a network plugin (vs. one restricted to the secondary blog) and (b) removes *all* admin bars from both blogs?

Thanks, all.

Skip to toolbar