Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] How? Multiple BuddyPress sites with some shared users

  • Avatar of cereus
    cereus
    Participant

    @cereus

    First: Big thanks to the developers and the community that make this software available.

    Running: WordPress 3.4.1, BuddyPress 1.6.1, Apache/2.2.22 (Ubuntu), fresh install

    Desired setup: I am at an institute with 5 groups. Some users are shared between the groups. I have made virtual hosts so each group has a separate domain (with separate directories) and there is one domain for the institute. I would like to have a private BuddyPress installation for the entire institute. Then I would also like to have private BuddyPress installations for each group of which members are selected from the institute membership.

    What I have managed so far:
    - Separate WordPress installations for each group.
    - These installations share the same database, but are distinguished by having different prefixes for the tables.
    - All share the same user table (like in this example: http://www.steelfrog.com/share-user-database-tables-between-two-wordpress-installations/)
    - Enable multisites on all the different installations of WordPress
    - I have successful division of users, if you aren’t a user on one site, you can’t login and edit.

    BuddyPress installations then show all users, not just users of the specific site.

    And now I have reached the end of my technical expertise. I suspect the next step would be to find out how BuddyPress determines users (use everyone in the user table?), and filter it so that only users of the site are displayed. And how do I determine if they are users of the site?

    Then to make the separate sites private, I would use something like http://wordpress.org/extend/plugins/buddypress-private-community/ for privacy, which as I can tell checks if the user is logged in. This is not sufficient, I need to check if the user is logged in, and also an accepted member of the site.

    I don’t really know what to do next and if it is a 2 hour job or a 2 month one (or longer…)

    Another approach I had previously tried (and failed with) was:
    - Install WordPress and enable multisite
    - Install Networks for WordPress
    - Create the different networks
    - Install BuddyPress multinetwork plugin
    - Install BuddyPress and activate on each subnetwork

    At this point each BuddyPress install added all current sites from all networks and all users from all existing networks. And I couldn’t get privacy to work at all.

    So if anyone has any knowledge or experience to add I would greatly appreciate the help. And maybe with my notes, someone else might get further than me because I’ve seen many people are interested in similar setups.

    Thanks,
    cereus

Viewing 11 replies - 1 through 11 (of 11 total)
  • Avatar of mrm222
    mrm222
    Participant

    @mrm222

    I have the same problem, i keep trying to find a solution

    Avatar of mrm222
    mrm222
    Participant

    @mrm222

    Again the same problem, i installed the word press, activated the bp multi network and buddypress, but an user loggin to his network automatically is logged y all the other networks, any idea about what is happening?

    Avatar of rickkumar
    rickkumar
    Participant

    @rickkumar

    Have you tried this plugin:

    http://buddydev.com/plugins/buddypress-multi-network/

    I hope I am posting a relevant answer because I am a newbie when it comes to BP knowledge.

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @mrm222 @rickkumar just to clarify

    BP Multi Network plugin = multiple instances of BP within multisite installation with different groups, activities, etc. but with shared users across the network.
    http://wordpress.org/extend/plugins/bp-multi-network/

    BuddyPress Multi Network plugin = multiple instances of BP within multisite installation with different groups, activities, etc and different users per subsite. (can be shared users but you’d have to code it yourself or hire a developer to do so)

    http://buddydev.com/plugins/buddypress-multi-network/

    Avatar of mrm222
    mrm222
    Participant

    @mrm222

    Thats the plugin i´m using (http://buddydev.com/plugins/buddypress-multi-network/), but shared the users for all the networks, any idea?.

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    You would have to hire a developer to make brajesh’s plugin into a shared user base since separate tables are created for each instance of BP in the multisite installation. Or, you could opt to install http://buddydev.com/plugins/join-blog-widget/ so logged in users can join in other subsites within that multisite installation.

    Avatar of rickkumar
    rickkumar
    Participant

    @rickkumar

    @mercime

    I was thinking exactly the opposite. Thanks for clarifying the differences between both the plugins.
    I want to have different domains with different sites/groups/activities/forums etc but I want to share the users among all the different networks i.e. once a user signs up, then he/she should be able to login and use any of the BP network site in the entire network.

    So I basically need http://wordpress.org/extend/plugins/bp-multi-network/

    I just checked the plugin page and it says: Segregate your BP networks in a multi-network WP install.


    Requires BuddyPress 1.5 or greater.

    This plugin segregates BuddyPress social networks in a multi network WordPress install so that each WP network has a different social network. The user base is still shared across the WP install.

    Multiple WP networks can be created with either:

    WP Multi Network
    Networks+



    Q: Does this mean I need to install “WP Multi Network” along with “BP-Multi-Network” plugin?
    If yes, which one first and which one 2nd to install?

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    Well, I did mention in my previous post that http://wordpress.org/extend/plugins/bp-multi-network/ had shared users. I have not used that plugin before so I recommend that you read
    - http://wpmututorials.com/news/new-features/multiple-buddypress-social-networks/ and
    - http://wordpress.org/extend/plugins/bp-multi-network/installation/

    You’ve created one network when you went multisite. With the plugin above, there’s one instance of BuddyPress per network. Therefore, if you want more BP instances, you have to create a commensurate number of networks with WP Multi Network or Networks+. At this point, I would venture that you should have a dedicated server to service all networks with respective BuddyPress instances.

    This is way more advanced and complicated than Brajesh’s plugin where you only need one network (multisite) install and each subsite has a separate BP instance. Therefore I would suggest that you get the premium Networks+ to avail of experienced support which I think you’d need.

    Avatar of rickkumar
    rickkumar
    Participant

    @rickkumar

    @mercime

    Thank you for posting the links…..good helpful info for me to learn and understand what are all the differences. I will get the networks+ plugin.

    After reading thru all info, this is what I plan to use for our network of BP networks:

    * X2 theme from themekraft
    * http://wordpress.org/extend/plugins/bp-multi-network/
    * http://wpebooks.com/networks/

    I plan to host the sites on WPEngine using their ‘professional plan’ that allows multisite hosting with up to 10 WP installs. Hopefully that should be good to start up because there won’t be much traffic in the first few months.

    Thank you again!

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    Great. Marking this as resolved.

    Avatar of tsinclair1982
    tsinclair1982
    Participant

    @tsinclair1982

    So, Can I get some clarification from a friendly user.

    I want to have multiple BP networks, all exclusive to each other and private.
    I want to allow for members to be able to ask to ‘join’ any network and if permission is receive.. he or she is in, without the need to fill out a form..

    Is this possible?

Viewing 11 replies - 1 through 11 (of 11 total)

You must be logged in to reply to this topic.