Skip to:
Content
Pages
Categories
Search
Top
Bottom

Blank site after installing Buddypress in WordPress 3

  • 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
    Keymaster

    @mercime

    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 );

    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

    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

    @noizeburger

    @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?


    fab
    Participant

    @fabloool

    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?


    Brandon Allen
    Participant

    @cnorris23

    @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.


    fab
    Participant

    @fabloool

    @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


    Brandon Allen
    Participant

    @cnorris23

    @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?

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


    @mercime
    Keymaster

    @mercime

    @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.

    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