WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Import Users from CSV] How Do you add additional User Meta fields

[Resolved] [Plugin: Import Users from CSV] How Do you add additional User Meta fields

Viewing 7 replies - 1 through 7 (of 7 total)
  • thedeeper
    Member

    @thedeeper

    I am not sure if it’s called meta fields, but it’s additional columns of user information.

    Some of my columns are different than your example.
    I use “Full Name” instead of “First name” & “Last Name”, I also have ‘Newsletter”, “Address”, etc…

    Thank you in adavance!

    Plugin Author Ulrich Sossou
    Member

    @sorich87

    You can use the User Meta plugin to add the fields. http://wordpress.org/extend/plugins/user-meta/

    thedeeper
    Member

    @thedeeper

    Ulrich, Thank you for the link.

    I installed User Meta Plugin and add all the meta fields that matches my existing CSV file’s column names.

    My CSV column names are:
    Submitted, Full_Name, phone, user_email, How-Did-You-Hear, Message, Newsletter, Submitted_From

    My User Meta Plugin’s Meta names are (same as above):
    Submitted, Full_Name, phone, user_email, How-Did-You-Hear, Message, Newsletter, Submitted_From

    Then I use your plugin to upload the CSV file, it gives me the “No user was successfully imported” error msg. Am I missing something?

    Thank you in advance!

    Plugin Author Ulrich Sossou
    Member

    @sorich87

    You need to add the user_login column.

    I would also recommand using lowercase letters and underscore only for the meta_key.
    E.g.: how_did_you_hear instead of How-Did-You-Hear.

    thedeeper
    Member

    @thedeeper

    Thank you. it worked!
    Thank you for the awesome job!

    Plugin Author Ulrich Sossou
    Member

    @sorich87

    You are welcome

    thisjustin
    Member

    @thisjustin

    A small piece of advice for others: the free version of the User Meta plugin has very little functionality. If you were like me, and looking to create editable metadata fields for users in the backend, and then use the awesome importer that Ulrich has written, his plugin + Register Plus Redux is a great combination.

    To be clear, the User Meta plugin does everything it says, it will create those metadata fields in the database, which you can then use as fields for importing users, but, as far as I can tell (please correct me if I am wrong), you are not able to view or edit them from the admin without the User Meta pro version.

    Also, Register Plus Redux was recently taken down due to a security hole found in its code, so User Meta Pro might be the only way to go for now.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] [Plugin: Import Users from CSV] How Do you add additional User Meta fields’ is closed to new replies.