I’m importing users from another system on a multisite network.
The problem is that even if S2 member is said as not sharing users, it’s impossible for me to add the same user on two sites of the network. I’ve also tried to delete one user on a site to solve the problem but it is still marked as registred when i’m trying to import it on another site..
How can I fix the problem ?
Thanks in advance for your help.
It’s possible to import new Users into a Child Blog where they do NOT exist yet (i.e. they’re not part of that Child Blog yet). In order to accomplish this, you MUST leave the “ID” column empty, telling s2Member to create a new User, and not update an existing User. I know this is confusing on a Network, because the User does exist, but they may NOT exist on a given Child Blog yet, so you will need to treat it as such (e.g. a new User).
How this is handled by s2Member’s importation routine…
If the User’s email address/username already exists on the Network elsewhere, s2Member will automatically detect this, and simply ADD the existing User to the Child Blog you’re working from (i.e. the Child Blog where you’re doing the importation). Just be sure to leave the “ID” column empty for this User in your import file.
Thanks for your inquiry. ~ We appreciate your patience :-)
@ Joycellyn Akuffo
I’m sorry, but this is not possible with s2Member, or with WordPress alone that I’m aware of. Each Child Blog has Users that “belong” to that Child Blog. So while the database of Users is shared across all Child Blogs, each Child Blog has it’s own users associated with it, or not.
That being said, s2Member does support API Functions like current_user_can_for_blog(), so you might take a look here in the s2Member Codex to see if you can use one of these API Functions to your advantage.
It works! Many thanks for your help.
I still have a problem with importing users: after uploading users, I did not see all information about my clients in WordPress® -> Users. No trace of Address, zip code,..
Do you know what happened?
Can you please show me an example of your import file? Maybe just one line or two. So I can see how you’re importing those custom Registration/Profile Fields. Also, please list the Registration/Profile Field IDs that you’re mapping that data to within s2Member.
See also: Dashboard -› s2Member® -› General Options -› Registration/Profile Fields
See also: Dashboard -› s2Member® -› Import/Export -› User/Member Importation
@ Joycellyn Akuffo
Oh thanks! I really wish I could. My schedule right now is crazy and I’m unable to accept any new projects at this time. If you will post a project for this on Elance.com though, I will point some of my developer friends to it for you. Please post a link to your Elance.com project here in the forum if you like :-)
Great! It’s been forwarded to some friends of mine for review. If they are interested, they will response to your project request. NOTE: I would also post this at Elance.com, if possible; many developers that I know prefer to work from there :-)
Viewing 9 replies - 1 through 9 (of 9 total)
This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.