Support » Networking WordPress » Sharing users across sites

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Custom Post Types, generally speaking.

    Thread Starter Bilberg

    (@bilberg)

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

    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.

    Thread Starter Bilberg

    (@bilberg)

    Thanks, Ill give that a whirl 🙂

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    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?

    Thread Starter Bilberg

    (@bilberg)

    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?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    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?

    Thread Starter Bilberg

    (@bilberg)

    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.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    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 🙂

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Sharing users across sites’ is closed to new replies.