PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Cross info with 2 or more S2Member installs

s2Member Plugin. A Membership plugin for WordPress®.

Cross info with 2 or more S2Member installs

Postby alargeau » April 15th, 2011, 3:36 am

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!
User avatar
alargeau
Experienced User
Experienced User
 
Posts: 31
Joined: November 15, 2010

Re: Cross info with 2 or more S2Member installs

Postby Cristián Lávaque » April 15th, 2011, 11:18 am

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

:)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Cross info with 2 or more S2Member installs

Postby alargeau » April 18th, 2011, 5:05 pm

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!
User avatar
alargeau
Experienced User
Experienced User
 
Posts: 31
Joined: November 15, 2010

Re: Cross info with 2 or more S2Member installs

Postby Cristián Lávaque » April 19th, 2011, 1:46 am

Great! Thanks for the update. :)

How did you do it then?
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Cross info with 2 or more S2Member installs

Postby alargeau » April 19th, 2011, 2:50 am

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...
User avatar
alargeau
Experienced User
Experienced User
 
Posts: 31
Joined: November 15, 2010

Re: Cross info with 2 or more S2Member installs

Postby Cristián Lávaque » April 19th, 2011, 3:13 am

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. :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Cross info with 2 or more S2Member installs

Postby alargeau » April 19th, 2011, 3:39 am

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.
User avatar
alargeau
Experienced User
Experienced User
 
Posts: 31
Joined: November 15, 2010

Re: Cross info with 2 or more S2Member installs

Postby Cristián Lávaque » April 19th, 2011, 12:24 pm

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.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Cross info with 2 or more S2Member installs

Postby alargeau » April 19th, 2011, 12:33 pm

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.
User avatar
alargeau
Experienced User
Experienced User
 
Posts: 31
Joined: November 15, 2010

Re: Cross info with 2 or more S2Member installs

Postby Cristián Lávaque » April 19th, 2011, 12:42 pm

Ah, got it. :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest

cron