• Resolved chucklehead

    (@chucklehead)


    Today I have a common database with separate prefix for one blog, and users table shared by both. It’s a nightmare to maintain, and if any user with high enough rights, hits “Upgrade WP” ever, the custom hacks in capabilities.php are blown away, and no one can access the blog. I hate having to edit wp-config.php and capabilities.php to support this because it’s hard to maintain.

    shared-users-reloaded looks like the solution, so I am testing it on two blogs setup like this: test1.domain.org and test2.domain.org. Each site is it’s own blog, with it’s own db. I assume from what I’ve read on the plugin page that that’s how I want this setup. It certainly is from my perspective, because a common db is what I want to get away from.

    I have installed and activated plugin on both blogs, but on the shared users page I see no way to share users from one blog or another blog. I think I don’t quite have the “Master Blog” concept down, but I would like to get this working.

    Are there some requirements in how the blogs access the db or how the domains are set up to make them see each other’s db? Right now it sure seems like a mystery to me how they would be able to see each other’s dbs.

    Any help would be greatly appreciated.

    Much obliged!

    http://wordpress.org/extend/plugins/shared-users-reloaded/

Viewing 5 replies - 1 through 5 (of 5 total)
  • agree with chucklehead. the installation does not mention any other configuration other than installing the plugin on both wordpress installations. i have the plugin installed and i am not sure what else i am supposed to do to make the 2 installations share users.

    the setting “share users from this blog” only shows the current blog in the dropdown. what am i missing?

    Thread Starter chucklehead

    (@chucklehead)

    Still the same for me, unfortunately. Contacted the author. No reply. Still hoping someone who’s either succeeded (like the first poster), or the author will return here and field the questions. Let me know if you get working. I’ll do the same!

    apologies, I’m actually having some issues with cross-domain security issues I’m dealing with on this plug-in. For some reason its having issues keeping authentication when logged in on 2 connected websites.

    Basically it goes like this though:
    1. Install 2 blogs into the same database with different prefixes.
    2. Install and activate the plugin into both blogs.
    3. Choose one blog to be the “master”. On this blog you do nothing, but realize its going to hold all your users.
    4. On the “child” blog where you want to share your users with the “master” blog, you go into the plugin’s options menu and “choose the master website” from the dropdown menu.

    Hopefully if your looking at your sites while following these guidelines it will be enough to get you going.

    Thread Starter chucklehead

    (@chucklehead)

    Thanks for the post. So we DO need to have a shared database. I’m somewhat relieved, because I was feeling like a fool for not understanding how they would connect to one another’s separate dbs, but this does mean some tweaking of the wp-config file to support the separate prefixes so you might want to take out the bit that says “This plugin requires NO MODIFICATION of your wp-config file.” Although technically you’re correct that the plugin doesn’t require it, that statement led me down the path of thinking this was a default WP install on both blogs (i.e. two different dbs), which is not the case here.

    Still, I’m ok w/this solution if it means I can update the core WP code and not lose the shared users. Today since I’ve modified capabilities.php I can’t upgrade WP w/o ensuring those changes make it through, which is ugly, so this will help greatly.

    Last thing… is it safe to assume that once I have the shared db set up, I’ll see the plugin’s options? Because there are none today. Under either Plugins, Users, Tools, or Settings, there is nothing that has the plugin options or a dropdown with the option you refer to above. I’m hoping that’s because I’m set up with separate dbs, though again, I can’t see how this would prevent me from seeing the plugin options, but there are truly none to be found (unless I’m just missing them somehow, over and over- which is possible!). The only thing I can find is the “shared users” area, which does not have anything for plugin options, just which db(blog) to share users from.

    Let me know if this doesn’t make sense, or if you have any questions about what I’ve written.

    Thanks again!

    I remember there is an options page. I don’t remember where i put it though. If I had to guess, it would be in the “users” section. I know for a fact that somewhere, there is an options panel cause that’s where all the user roles are set for each blog.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Shared Users Reloaded] Not able to share users… need some guidance on setup’ is closed to new replies.