Page 1 of 1

Cross info with 2 or more S2Member installs

PostPosted: April 15th, 2011, 3:36 am
by alargeau
Hello everyone,

I've got a very tough question for you guys. I'm running a non-profit organization and we set up one website per language (so one WordPress install on each website) and we've got S2Member installed on each of them, and everything works just fine. By the way, we didn't install WordPress MU because we're using plugins which are not compatible with the MU version.
Now, we're going to launch another very large website that will be available to all members, but we need to cross the information so that users can login to the new website. The websites in English, French, Spanish (etc) are all using the same database but our new website has its own database because it needs a big one. What we'd like to do is offer our members an access to this new website without registering again. So I guess we need to tell the S2Member plugin installed on this new website to get the info from the other database, right? Do you know a way to do that and is it even possible?

Thanks a lot!

Re: Cross info with 2 or more S2Member installs

PostPosted: April 15th, 2011, 11:18 am
by Cristián Lávaque
s2Member deals mostly with content access, but accounts are really handled by WordPress itself, as far as I understand.

So, I suggest you search for solutions that others already created to share database columns between different WordPress installations. There must be someone out there that already has.

http://www.google.com/search?q=wordpress+share+users
http://www.google.com/search?q=wordpress+share+tables

:)

Re: Cross info with 2 or more S2Member installs

PostPosted: April 18th, 2011, 5:05 pm
by alargeau
Hi,

Sorry for the delay but I've been very busy. So, I just wanted to say thanks because I tested your solution and it worked just fine!!
So thanks a lot again!

Re: Cross info with 2 or more S2Member installs

PostPosted: April 19th, 2011, 1:46 am
by Cristián Lávaque
Great! Thanks for the update. :)

How did you do it then?

Re: Cross info with 2 or more S2Member installs

PostPosted: April 19th, 2011, 2:50 am
by alargeau
Well, actually I had to move the websites to a single huge database (at first I wanted to use different databases but it seems WordPress won't work on multiple databases), and then I installed the plugin in all the websites and the plugin is quite easy to understand. But I must say it's very easy to accidentaly remove the admin access so backup everything first! I managed to share users between the two main websites and users can have access to both websites with a single account. Now, I'm trying to figure out how to share users with more than two websites and that is more complicated...

Re: Cross info with 2 or more S2Member installs

PostPosted: April 19th, 2011, 3:13 am
by Cristián Lávaque
alargeau wrote:then I installed the plugin in all the websites and the plugin is quite easy to understand.


s2Member or another plugin you used for this?

alargeau wrote:But I must say it's very easy to accidentaly remove the admin access


Because of the plugin or messing with the database?

alargeau wrote:Now, I'm trying to figure out how to share users with more than two websites and that is more complicated...


I'm sure you'll manage. :)

Re: Cross info with 2 or more S2Member installs

PostPosted: April 19th, 2011, 3:39 am
by alargeau
Well, S2Member is installed on all my websites since it's possible to register on any of them but the shared users plugin has to be installed on each website and that is the plugin I was talking about in the first sentence you quoted. Actualy, you were right at first, S2Member has almost nothing to do with users since it does not deal with them.
Regarding the issue that lets you accidentaly remove admin access, it's definitely a problem with the plugin, even though they clearly mention it. Actually, there's no how-to and no instruction guide (instructions are very basic and they only mention things that you would have guessed anyway). So, you're quite alone with the plugin and that's the big downside about it. That's also why I don't really know how to share users between more than two websites.

Re: Cross info with 2 or more S2Member installs

PostPosted: April 19th, 2011, 12:24 pm
by Cristián Lávaque
I understand. Thanks for the explanation.

So you're using this one? https://wordpress.org/extend/plugins/shared-users/

I also found this other one https://wordpress.org/extend/plugins/sh ... -reloaded/ It's more recent and maybe easier to use.

Re: Cross info with 2 or more S2Member installs

PostPosted: April 19th, 2011, 12:33 pm
by alargeau
I'm using the second one, the Shared Users Reloaded plugin and I honestly don't know if people are still working on it. It's still compatible with WordPress 3.1.1 though, I mean I had no issues.

Re: Cross info with 2 or more S2Member installs

PostPosted: April 19th, 2011, 12:42 pm
by Cristián Lávaque
Ah, got it. :)