Skip to:
Content
Pages
Categories
Search
Top
Bottom

Installing Buddypress Multi-network

  • @pswanson22

    Participant

    I am managing a few different school-related websites at http://sites.unishanoi.org. One of them is a site called Tech Connect that is at http://tech.unishanoi.org. I would like to have Buddypress installed and focused around that particular sub-site. When I installed Buddypress, all of the login and profile pages were based on the main site, not the sub-site. It seemed like the way to fix this was through Buddypress Multi-network (even though I don’t anticipate more than one network). I installed the multi-network plugin, enabled the buddypress multi-blog setting in my wp-config.php file, but now I get error messages.

    The Multi-network plugin site said that when you install the plugin you have to re-activate Buddypress on the plugin page. Right now, there is no option to do that. In addition, if I go to the Settings>Buddypress>Pages page, I get this error: “You do not have sufficient permissions to access this page.” This comes when I am logged in as a super-admin for my multi-site.

    Do I need to be using the multi-network plugin? Is there another way to focus all the buddypress activity on the subsite? If not, how do I deal with this permissions error?

    Thanks in advance for your help!

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

    Participant

    @pswanson22
    https://codex.buddypress.org/getting-started/customizing/changing-internal-configuration-settings/ has the following:

    Set which blog ID BuddyPress will run on:
    define ( ‘BP_ROOT_BLOG’, $blog_id );

    Where $blog_id is the actual blog id number…

    @pswanson22

    Participant

    I just created a file called bp-custom.php with the following code:

    <?php
    // Buddypress hacks and mods will go here

    define ( ‘BP_ROOT_BLOG’, 2);
    ?>

    I am sure that 2 is the correct number for my Tech Connect subsite. However, as far as I can see, Buddypress is still installing in the main blog. I still see the Buddypress option under settings on the main blog, and I don’t see any real options on the subsite. What am I doing wrong?

    I thought that i may need to re-install Buddypress, so I deactivated, deleted it, and then reinstalled it. No luck. Anyone have any ideas?

    Many thanks!

    @pswanson22

    Participant

    I take it back! Although the Setting bit is still on the network settings, the pages themselves are on the sub-site. Yay!

    @pswanson22

    Participant

    Aces – thanks for your help on this. Now I have a new problem, though – lots of redirect loops.

    Whenever I go to my main network dashboard, Settings>Buddypress>Pages, all of the pages there give me redirect loop errors. I’ve managed to get around it a little bit by using plugins rather than the actual Buddypress pages, but this seems like a bad solution in the long term. I’m also using the Domain Mapping plugin, so that my site at http://sites.unishanoi.org/tech redirect to http://tech.unishanoi.org.

    Any help I could get with this would be greatly appreciated!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Installing Buddypress Multi-network’ is closed to new replies.
Skip to toolbar