Community Support Forums — WordPress® ( Users Helping Users ) — 2011-06-05T20:58:21-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=6446 2011-06-05T20:58:21-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6446&p=20116#p20116 <![CDATA[Re: password changes on import]]> This issue was corrected in the official release
of s2Member Pro v110605+ ( available now).
http://www.s2member.com/

Statistics: Posted by Jason Caldwell — June 5th, 2011, 8:58 pm


]]>
2011-05-18T03:29:22-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6446&p=15264#p15264 <![CDATA[Re: password changes on import]]> Thanks for reporting this important issue.
~ yes, this does appear to be a bug when running against the latest version of WordPress®.

I'm having this corrected in the development version ( to be released in a few days ).
Until then, you can use this patch file if you like. This file will patch an existing installation of s2Member Pro v1.5.8. Please unzip, and upload the attached file; let it overwrite your existing copy of:
/s2member-pro/includes/classes/imports-in.inc.php

Section changed:
Code:
$user_details = compact ("ID", "user_login", "user_pass", "first_name", "last_name", "display_name", "user_email", "user_url", "role", "user_registered");
    if (empty ($user_details["user_pass"])) /* If there was NO Password given. */
        unset ($user_details["user_pass"]); /* Unset the Password array element. */ 

Statistics: Posted by Jason Caldwell — May 18th, 2011, 3:29 am


]]>
2011-05-17T12:32:27-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6446&p=15172#p15172 <![CDATA[Re: password changes on import]]> Statistics: Posted by Cristián Lávaque — May 17th, 2011, 12:32 pm


]]>
2011-05-17T02:30:51-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6446&p=15156#p15156 <![CDATA[Re: password changes on import]]> Statistics: Posted by kentlii — May 17th, 2011, 2:30 am


]]>
2011-05-16T12:01:20-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6446&p=15095#p15095 <![CDATA[Re: password changes on import]]>
Jason Caldwell wrote:
Importing a new user with the password field empty will result in an auto-generated password. However, importing updates to an existing user ( i.e. when the ID field is included in the importation line ), this will result in the existing password, for the existing user, remaining unchanged. This is the intended functionality. This is also why the password is not included in the export file.


From what Jason explains, if you're just updating the user accounts including their IDs and leaving the password field empty, the password should not be changed.

Let me know if that helps.

Statistics: Posted by Cristián Lávaque — May 16th, 2011, 12:01 pm


]]>
2011-05-16T06:19:45-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6446&p=15084#p15084 <![CDATA[password changes on import]]> Is there any way we can avoid changing the password when importing the csv file?

Statistics: Posted by kentlii — May 16th, 2011, 6:19 am


]]>