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™

Import/Export.... What about passwords?

s2Member Plugin. A Membership plugin for WordPress®.

Import/Export.... What about passwords?

Postby Shogun2 » October 21st, 2011, 9:23 am

I need to move to a new instance of wordpress and I am completely confused as to the password situation upon importing users.

In the options panel it says

"Please note. Export files do NOT contain Passwords. Passwords are stored by WordPress® with one-way encryption. In other words, it's not possible for s2Member to include them in the export file. However, this does NOT create a problem, because when/if you re-import existing Users/Members with the Password field empty, s2Member will simply keep the existing Password that is already on file. For further information, please read all Import instructions, regarding Passwords."

This is not really useful as I will not have existing members in the new instance of wordpress.

What happens when I upload users with no password?
User avatar
Shogun2
Registered User
Registered User
 
Posts: 7
Joined: April 26, 2011

Re: Import/Export.... What about passwords?

Postby Shogun2 » October 22nd, 2011, 4:25 pm

So?
User avatar
Shogun2
Registered User
Registered User
 
Posts: 7
Joined: April 26, 2011

Re: Import/Export.... What about passwords?

Postby Eduan » October 22nd, 2011, 4:44 pm

Now officially accepting Professional s2Member installations along with Bruce C (a.k.a. Ace).

If you're interested in a Professional s2Member Installation, or a Custom Coding Job, you can send your request here.
User avatar
Eduan
Experienced User
Experienced User
 
Posts: 1154
Joined: August 27, 2011
Location: Taxco de Alarcón, Guerrero, México.

Re: Import/Export.... What about passwords?

Postby Shogun2 » October 22nd, 2011, 7:09 pm

Sorry for not explaing myself fully but I do not need to know how to transfer passwords. Worse comes to worse I will do an SQL dump and move my users. I just want to know what happens if I upload users with no password? Does s2member prompt them to create a new password or something?
User avatar
Shogun2
Registered User
Registered User
 
Posts: 7
Joined: April 26, 2011

Re: Import/Export.... What about passwords?

Postby Eduan » October 23rd, 2011, 8:07 am

I researched and here's the explanation:
The passwords will not be exported/imported, so if users try to access their account with that password it will not be valid.
so what you have to do is when you export/import immediately send them an email telling them to reset their password (like the "I forgot my password" link).

Hope this answers your question. :)
P.S. Remember to report back. ;)
Now officially accepting Professional s2Member installations along with Bruce C (a.k.a. Ace).

If you're interested in a Professional s2Member Installation, or a Custom Coding Job, you can send your request here.
User avatar
Eduan
Experienced User
Experienced User
 
Posts: 1154
Joined: August 27, 2011
Location: Taxco de Alarcón, Guerrero, México.

Re: Import/Export.... What about passwords?

Postby Jason Caldwell » October 23rd, 2011, 11:35 am

Thanks for the excellent question.
Shogun2 wrote:Sorry for not explaing myself fully but I do not need to know how to transfer passwords. Worse comes to worse I will do an SQL dump and move my users. I just want to know what happens if I upload users with no password? Does s2member prompt them to create a new password or something?
If you are uploading NEW Users/Members, and you leave the Password field empty, s2Member will auto-generate a password for their account. If you are uploading updates to existing Users/Members ( i.e. you include the ID field in your CSV file ); but you leave the Password field empty, s2Member will not make any changes to the existing Password which is already on-file.

If you fill the ID field, the Import routine will update an account matching the ID you specify ( so long as the account ID does NOT belong to an Administrator, this is for security ). When importing new Users/Members, you can leave the ID field empty; don't remove it, just leave it empty ( i.e. "" ). Example: "","Username","First Name","Last Name","Display Name","Email"

If you fill the Password field, the Password that you specify ( in plain text ) will be used. Otherwise, a Password will be auto-generated by s2Member. The Password field can also be used with an ID update ( to update/change the current Password ) - so long as the ID field is also filled, and it matches an account already in the system. If you fill the ID field to update an existing account, and the leave the Password field empty; the existing Password, for the account matching the ID you specify, will remain unchanged.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Import/Export.... What about passwords?

Postby Shogun2 » October 23rd, 2011, 4:56 pm

Will the auto generated password be emailed to them?
User avatar
Shogun2
Registered User
Registered User
 
Posts: 7
Joined: April 26, 2011

Re: Import/Export.... What about passwords?

Postby Eduan » October 23rd, 2011, 5:07 pm

I think you can do one of two things:
1. If the users click the "I forgot my password" link, then Yes.
2. But if they don't you will have to configure so that it sends a new password to every user. I would do this right from the start, so that users don't run into problems, I'd tell them in the email that for security reasons they were given a new password or something like that.

I recommend the second method.

Hope this helps. :)
Now officially accepting Professional s2Member installations along with Bruce C (a.k.a. Ace).

If you're interested in a Professional s2Member Installation, or a Custom Coding Job, you can send your request here.
User avatar
Eduan
Experienced User
Experienced User
 
Posts: 1154
Joined: August 27, 2011
Location: Taxco de Alarcón, Guerrero, México.

Re: Import/Export.... What about passwords?

Postby Jason Caldwell » October 23rd, 2011, 7:44 pm

Right. s2Member does NOT send any emails during importation, under any circumstance. This is something that you can handle by sending Users an email yourself, giving them a link that points to the password recovery section of your site. Or, if you prefer to assign specific pre-generated passwords, you could do that too, and then email all Users their password. In either case though, the sending of emails is not something that current versions of s2Member deal with.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA


Return to s2Member Plugin

Who is online

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

cron