WordPress.org

Forums

Sharing users across sites (10 posts)

  1. Bilberg
    Member
    Posted 1 year ago #

    Hi,

    I was looking to share users across sites, and WP codex says "If you plan on creating sites that are strongly interconnected, that share data, or share users, then a multisite network might not be the best solution.".

    So my question is, what is the best solution?

  2. Custom Post Types, generally speaking.

  3. Bilberg
    Member
    Posted 1 year ago #

    That helped me in absolutely no way. So what do I do if I want to share users?

  4. tjmarsh (Arvixe)
    Member
    Posted 1 year ago #

    You can create a centralized place as the main site with buddypress and any user that is registered can hop site to site without re registering :)

    Dunno if that helps.

  5. Bilberg
    Member
    Posted 1 year ago #

    Thanks, Ill give that a whirl :)

  6. Share users ... how? If everyone's a user on your site, they they're all on the site.

    You're not really telling us what YOU want to do, so it's hard to give you specific advice. What's your actual end goal here?

  7. Bilberg
    Member
    Posted 1 year ago #

    Sorry for the misunderstanding, I was refering to sharing users across sites, that by putting the sites in plural it would give it away.

    Let me elaborate:

    I have two sites: x.y.dk and y.dk, with two separate WordPress installations, and I only want them to share users nothing else.

    So what is the best solution to share one user database on two wordpress installations?

  8. Ah. In that case, that is exactly what Multisite does :)

    And I see why you were confused. We don't actually consider that sharing users, but more drawing from the same possible user base.

    To explain:

    * I add Joe, Jane, and Vince to my network.
    * Joe and Jane are on site y.dk - Jane is an Editor and Joe is an admin
    * Jane and Vince are on x.y.dk - Jane is an Admin and Vince is an Editor

    The user permissions between sites are separate, which is what we mean by 'not shared'. Each site can use the same users, but they have to be added per-site.

    Does that make more sense?

  9. Bilberg
    Member
    Posted 1 year ago #

    That helped a lot, thank you.

    I have managed to find a way to share users but nothing else. Just has one issue, user roles are not shared across sites.

  10. Well... Yes.

    The user permissions between sites are separate, which is what we mean by 'not shared'. Each site can use the same users, but they have to be added per-site.

    That's what that meant :)

    Multisite is this: Multiple separate sites.

    You share a user base, a plugin base, and a theme base. That is, you can draw from the same bases for all sites. How each site configures those combinations is up to them :)

Topic Closed

This topic has been closed to new replies.

About this Topic