[Plugin: Import Users from CSV] How Do you add additional User Meta fields
-
Hi, Thank you for the awesome plugin! Great job!
I want to add additional User Meta Fields, so I can import a CSV that has additional User Meta fields.
1. How do you do that?
2. Where/What File do you add the code to?Thank you sooo much!
-
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!
You can use the User Meta plugin to add the fields. http://ww.wp.xz.cn/extend/plugins/user-meta/
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_FromMy User Meta Plugin’s Meta names are (same as above):
Submitted, Full_Name, phone, user_email, How-Did-You-Hear, Message, Newsletter, Submitted_FromThen 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!
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.Thank you. it worked!
Thank you for the awesome job!You are welcome
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.
The topic ‘[Plugin: Import Users from CSV] How Do you add additional User Meta fields’ is closed to new replies.