Site icon Krum Cheshmedjiev

How to use the s2Member Pro export/import function

The s2Member user export/import function is powerful, but using it smoothly on the first attempt requires some preparation. The following procedure is the approach I found most reliable. Note that it requires s2Member Pro.

 

Exporting user data

Export Step 1:

In the WordPress Dashboard, in the left-hand navigation bar:

  • Click on s2Member (Pro), then

  • Click on Import/Export

Export Step 2:

you should click the link "click here to enable the Advanced Import/Export Tools" to set tools to Advanced mode. Should see it like this:

This is one time setup, you may skip if you see it is in Advanced mode already.

Export Step 3:

Export Step 4:

Export Step 5:

Export done

Now you can do need changes on user's data, or can save the file as backup etc.

 

 

Importing user data

Import Step 1:

Import Step 2:

This step may not be need at all, but I am not sure. New rows in Apple's OS are different than Window's OS, yet different that Unix ones (site runs in Unix environment, usually). I think browsers must set this automatically, but as I had problems years ago, I prefer to do this manually. Well, may try to skip that step (if you are brave enough), if something goes wrong you still can go back, do it later and repeat importing.

Import Step 3:

This is because we have limitation "max 1000 rows" in Importer. Longer files may, or may not go well, because need time to process them may hit "time out" limit in the browser. So 1000 rows are safe number. If your line is slow, or your server is slow, and you cannot import 1000 users, you can reduce this number.

Import Step 4:

you should click the link "click here to enable the Advanced Import/Export Tools" to set tools to Advanced mode. Should see it like this:

This is one time setup, you may skip if you see it is in Advanced mode already.

Import Step 5:

Done

 

Limitations with s2M export/import:

  1. don't update admins (good for security though)
  2. don't export passwords
  3. don't understand "s2member_level0" (needs "subscriber") as role
  4. Excel reformats dates
  5. don't import usernames
  6. must use "advanced i/e mode"
  7. don't import new users at all, if you put them between existing users. Needs at least an ID in "wp_users" table (not bad, as may be missing info, and good for security too). To import new users you must create a CSV file without "ID" column.
  8. Import procedure don't delete missing (not imported) users

 

Final words

Well, that's all the "magic". Ask any questions.

Note, that functions at s2Member can be changed and this guide cannot be accurate at some point. In this case please tell me, so I can correct it.

Disclaimer: I am not affiliated by s2Member's team, all the info I show here is "learned by hard way" as usual user (working as support to my client, and helping them to do this). It works (at the time I write this), but this is not the official manual.

Exit mobile version