[buddypress-trac] [BuddyPress] #2456: Wordpress 3.0 – Run Buddypress on Secondary Blog

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Tue Nov 23 23:52:06 UTC 2010

#2456: Wordpress 3.0 – Run Buddypress on Secondary Blog
 Reporter:  vantucker  |       Owner:     
     Type:  defect     |      Status:  new
 Priority:  major      |   Milestone:  1.3
Component:  Core       |     Version:     
 Keywords:             |  

Comment(by boonebgorges):

 Just had another look, and the problem is this (at least in the trunk).
 The latest trunk uses WP pages to display top-level components. Those
 pages are specific to the blog where you initially installed BuddyPress.
 If you install BP and then switch your BP_ROOT_BLOG, BP will recognize
 that it is already installed (thus skipping the setup process, as it will
 recognize the site option bp-db-version), but it won't actually work
 because the association between BP components and WP pages will not have
 been established yet.

 I think that the solution is probably to do a better job at checking that
 BP is properly installed. Instead of the current
 if ( get_site_option( 'bp-db-version' ) < constant( 'BP_DB_VERSION' ) ),
 BP should also check to see whether BP_ROOT_BLOG has an option bp-pages,
 and if not, then it should load the setup routine.

 I will try to figure out a patch for this, but in the meantime here's my
 suggestion. Access your wp_sitemeta table and delete the option bp-db-
 version. That will force BuddyPress to reinstall its WP pages on your new
 BP_ROOT_BLOG (without deleting any of your existing data).

Ticket URL: <http://trac.buddypress.org/ticket/2456#comment:5>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list