Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • nsbp001
    Participant

    @nsbp001

    So you want to have multi-site, with multi-domains, i.e., you will have users on sites with different domains, all sharing the same database; but you want an Activity stream for just sites that use a particular domain.

    Off hand, one way is to make a home site for each domain, then make sure that site is Following all other sites that use that domain. Then that home site will have something like …/members/domainhomesite/activity/following.

    Maybe you don’t necessarily need a domainhomesite, just a user, say followdomainusers, whose purpose is to follow all users on the domain; then the Activity stream could be …/members/followdomainusers/activity/following.


    nsbp001
    Participant

    @nsbp001

    When this code is put into the theme’s functions.php file

    function multiple_bp_domain($domain) {

    return get_bloginfo( ‘url’ );

    }

    add_filter(‘bp_get_root_domain’, ‘multiple_bp_domain’);

    the result is that the siteURL replaces the main site URL


    nsbp001
    Participant

    @nsbp001

    I have 4 separate WP 3.5.1 and BP 1.6.4 installations. I have connected them via the CUSTOM_USER_TABLE CUSTOM_USER_META_TABLE’ lines in the wp-config.php file. I have also installed the WP Orphan plugin.

    When a person goes to one installation to register they will be given a user account and a blog site. When they go to one of the other installations they are there as a user but not having a site. In the admin listing of users, they are listed as a user in the ‘/’ (or admin) site, presumably as Subscriber role.

    If I wanted the user to have sites the other installations as well being users what would I have to do then? Would I change the role to ‘Editor’ in the Orphan plugin, or is there another database that I would have to share?


    nsbp001
    Participant

    @nsbp001

    In a BP installation (sitting on top Multisite WP) is there a difference in terms of Role between an extra user on a site, and user that has their own site?


    nsbp001
    Participant

    @nsbp001

    I could get neither the BP-Multi-network nor the Networks+ plugins to work. Maybe it was because I was also trying to use the WPMUDEV Multi-domain plugin as well. I needed the latter because I wanted to be able to make new users on the respective networks while preserving the URL branding of each network. And I was doing that using subdirectories instead of subdomains, since I wanted Facebook-like branding, i.e., networkdomainurl.org/username (a la facebook.com/username). Turns out the Multi-domain plugin does not work with subdirectories, and I could not get a good read on what it would take to make it work.

    So I hope it works that separate installations but editing wp-config.php such that they all share the same user and user meta database works.

    I hope a BP core or plugin developer will comment on what other dependencies would be necessary to make to achieve my objectives.


    nsbp001
    Participant

    @nsbp001

    Such an app would be very nice indeed.


    nsbp001
    Participant

    @nsbp001

    I think I may have found a solution to the multi-network problem that is pretty simple. It is to make multiple WP+BP installations but to use this trick,

    https://codex.wordpress.org/Editing_wp-config.php#Custom_User_and_Usermeta_Tables
    http://codegarage.com/blog/2009/04/using-a-custom-user-table-share-users-between-two-wordpress-installs/
    http://xentek.net/articles/528/implementing-the-wordpress-shared-users-table-trick/

    to share users. So you will have N installations but all using the same user database. Has anybody every tried this for BP?


    nsbp001
    Participant

    @nsbp001

    I am interested in this thread. I would like to have 3 BP networks with three separate brands and three separate URLs, but them all using the same database. That is, a user signed up in site3 can see, group with, friend, email, etc a user in site 1 seamlessly.

    So site1 would be subdomain.domain1.org and typing in that URL gets you to a page where you see a a theme and branding specific to domain1.org. Site2 would be domain2.org and likewise going to that site you would see a theme and branding specific to domain2.org, and likewise for site3.

    The independent branding is important, but the ability to have cross site networking is important as well.

    On solution I thought of is the following:

    Set up BP network with users subdomain.domain1.org/domain2 and subdomain.domain1.org/domain3. Then use the Domain Mapping plugin to map domain2.org to subdomain.domain1.org/domain2 and domain3.org to subdomain.domain2.org/domain3.

    Then I would want to continue to be able to make new users like domain2.org/names and domain3.org/names.

    Or is this all possible using the Multi-domains plugin?

Viewing 8 replies - 1 through 8 (of 8 total)
Skip to toolbar