WordPress.org

Ready to get started?Download WordPress

Forums

CSV User Import
CSV User Import - How to add first password? (6 posts)

  1. ingenuity
    Member
    Posted 3 years ago #

    I activated CSV User Import plugin. It tells me:
    The CSV file should be in the following format:
    firstname, lastname, username, password (plain text), email address

    These are new users (members of a Yoga teachers association). I will get the .csv by exporting the teachers data from a Filemaker Pro database. The teachers won't know their passwords to start. What is a good way to give them all an initial temporary password that they will be able to change later? Once they are identified as subscribers, they will have access to members-only pages.

    I plan to have directory of users manually replaced by the wp-admin on a monthly basis.

    TIA.

    http://wordpress.org/extend/plugins/csv-user-import/

  2. Andy Dunn
    Member
    Plugin Author

    Posted 3 years ago #

    Hi there,

    The best thing would be to set the password within your CSV file using something like Excel, then export that as .csv before importing with the script.

    The other option (if you're familiar with PHP) would be to hardcode the password within the importation script, and it will get saved for each user.

    If you're stuck I can do that for you, just let me know.

    Thanks,

    Andy

  3. ingenuity
    Member
    Posted 3 years ago #

    Andy, Thank for the reply. Up until now, members have had a very simple password and all used the same password (I know, that is lousy security). As I would prefer to not hard code PHP, I think we could insert a field into the FMP database, put that password in each record, export from FMP to XLS, rename it as .csv, import that using your plugin--and then encourage the members to change their passwords to something more secure using WordPress. If there is a better approach, I would welcome your guidance. Thank you.

  4. Andy Dunn
    Member
    Plugin Author

    Posted 3 years ago #

    Aside from modifying the PHP script itself, I think what you're suggesting is the next best alternative.

    Andy

  5. ingenuity
    Member
    Posted 3 years ago #

    Andy, I've encountered a problem with the plugin. Hope you can please tell me what I may have done to cause it. I had had 705 Subscribers in my WP database (along with 5 admins and 1 editor). After backing up the database (for safekeeping), I delete all subscribers, leaving 6 users. Then I set up a test .csv that had first name, last name, user name, email address. It took a very long time to import the short list of just 10 users, but it said it was successful. But no subscribers were added to the user list.

    One thing that concerned me: The WordPress User screen displays:
    username, name, email, role.

    How do first name and last name fields get combined into the name field?

    FYI, since our members were accustomed to using their email addresses for their IDs and only one universal (non-customized) password, we added the field in the csv for the user name to match the email address and the field for the password to contain the universal password.

    Would having had separate fields for firstname and lastname have caused the users to not be properly imported?

    Thanks for your help!

  6. Andy Dunn
    Member
    Plugin Author

    Posted 3 years ago #

    Hi there,

    Have replied to your email now.

    Regards,

    Andy

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic