Skip to:
Content
Pages
Categories
Search
Top
Bottom

Blank site after installing Buddypress in WordPress 3

  • @retroriff

    Member

    Hi,

    I’d like to keep my main blog (site 1) and installing Buddypress in another blog (site 2) with an URL such as http://example.com/comunidad/

    “Site 1” should use my customized theme, while “Site 2” should work with “Buddypress default” theme. However once I’ve installed Buddypress, “Site 1” gets blank. If I copy the Buddypress default theme’s folders (Activity, groups, etc) inside my customized theme, “Site 1” works, but instead of showing its own content, I get the Buddypress activity.

    ¿What should I do in order to avoid “Site 1” to be blank, but without rendering the Buddypress activity?

    Thank you very much.

Viewing 11 replies - 1 through 11 (of 11 total)
  • @mercime

    Participant

    Unless otherwise specified, BP will install in main site when you activate it. In order for BP to work in subsite, you have to add the following to your wp-config.php file
    define ( ‘BP_ROOT_BLOG’, $blog_id );

    so if you want to install BP in site2, then do this
    define ( ‘BP_ROOT_BLOG’, 2 );

    @retroriff

    Member

    No, It doesn’t work. I also tried to create a bp-custom.php plugin following these instructions:

    https://codex.buddypress.org/how-to-guides/install-buddypress-on-a-secondary-blog/

    Any other suggestion?

    Thanks

    @djpaul

    Keymaster

    If it doesn’t work per mercime’s post, report it as a bug on https://trac.buddypress.org/ using your user login from this site please.

    @noizeburger

    Participant

    @Retroriff:

    it works: if you just copy and pasted the line “define ( ‘BP_ROOT_BLOG’, 2 );” just take a look at the ‘ ‘, they need to be changed (cause if you type them in here, they will be changed – for this reason i can’t post it the right way here).

    Understand?

    @fabloool

    Participant

    There is a preblem with wordpress 3 … every BuddyPress pages show the members list page… so I can’t view and update my profile..

    Any suggestion?

    @cnorris23

    Participant

    @LOOOL
    This is a thread about getting a blank site in WP 3. You don’t have a blank site, and in fact, you seem to have a completely different issue. Please start a new topic instead of hijacking @Retroriff‘s.

    @fabloool

    Participant

    @cnorris23

    sorry… but I have this problem when I install buddypress in multiple sites like “site 2” with define ( ‘BP_ROOT_BLOG’, 2 ); in the wp_config.php file.
    I have a different promlem in the same case of @Retroriff

    @cnorris23

    Participant

    @fabloool

    I do apologize. You didn’t present this as being at all related. Let me see if I understand what you are saying, as you have yet to clearly define your problem. Are you saying that when you add something like define( ‘BP_ROOT_BLOG’, 2 ); to your wp-config.php/bp-custom.php all BP pages show the members list?

    @retroriff

    Member

    @noizeburger Hi, I already changed the quotes before answering here. It is not working to me even with the right quotes. Thanks.

    @mercime

    Participant

    @retroriff – in your second post, you mentioned you followed the BP codex where you placed define bp site via “Specifically, you can do this by creating a file called “bp-custom.php” in your “/wp-content/plugins/” directory (if you haven’t already).”

    I would suggest that you delete the code you placed in bp-custom.php and add the code in wp-config.php per my post (ref: https://codex.buddypress.org/how-to-guides/changing-internal-configuration-settings/) – it works.

    @retroriff

    Member

    I removed bp-config.php and added the code into wp-config.php but the blank index still remains.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Blank site after installing Buddypress in WordPress 3’ is closed to new replies.
Skip to toolbar