Skip to:
Content
Pages
Categories
Search
Top
Bottom

Buddypress on a sub-blog

  • I got a base install of wordpress mu on http://www.example.com and I’ve installed BuddyPress. I want the BuddyPress part to run on a sub-blog /community. I’ve set up the blog (ID 2) and install the BuddyPress theme on it. But the members and groups page only works from http://www.example.com/members. I want members and groups, etc, to run from http://www.example.com/community/members (or /groups).

    In the /wp-content/plugins/buddypress/bp-core.php I found this option:

    /* Define on which blog ID BuddyPress should run */

    if ( !defined( ‘BP_ROOT_BLOG’ ) )

    define( ‘BP_ROOT_BLOG’, 1 );

    If I change to define( ‘BP_ROOT_BLOG’, 2 ); then http://www.example.com/community/groups seems to work, but http://www.example.com/community/members cause a redirect loop error.

    Any idea how I can run BuddyPress on a sub-blog, not as the root blog?

    I’m using BuddyPress 1.0.1 but had the same problem on 1.0. Using WordPress MU 2.7.1 as base.

    Thanks so much for any help that anyone can offer!

Viewing 4 replies - 1 through 4 (of 4 total)
  • @burtadsit

    Participant

    Is your wpmu installed using sub-directories? I can’t tell from your message if the ‘community’ directory is just a sub-dir you’ve installed wpmu in or is it a blog domain?

    The redirect loop issue was seen in the first release of 1.0.1. Try downloading and installing 1.0.1 again.

    Thanks for your reply. I did install using sub-directories for blogs rather than sub-domains. The root of the blog is the top level of the domain (blog ID 1). so I’ve installed the blog in http://www.example.com. I’ve created a sub-blog from the wp-admin dashboard called “community” (Blog ID 2).

    Then I edited bp-core.php to set BP_Root_blog to Blog ID 2. That’s when I get the redirect error with “members”.

    I got the problem with 1.0 and I installed BP 1.0.1 yesterday so I guess it’s the latest. but I’ll try again.

    @burtadsit

    Participant

    If it’s only with members then that sounds like a bug. Can you post this in trac please?

    https://trac.buddypress.org/newticket same credentials as here.

    @burtadsit

    Participant

    Don’t bother posting in trac. Somebody already did.

    https://trac.buddypress.org/ticket/775

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Buddypress on a sub-blog’ is closed to new replies.
Skip to toolbar