Imports data from CSV but meta handling is messy
-
This plugin uses a lot of code that I cannot write myself, and therefore I must give credit to the developers. It does import users from CSV and auto-generates passwords (an EXTREMELY nice feature!), but the handling of meta data is very messy.
The plugin does not check to see if a metadata field exists already; if it is not one of the stock profile fields, it is created within a plugin-prefixed array in the options table. This means that unless one wants the field created at the time of user import, this plugin is useless for updating metadata. (The option to handle empty fields in the CSV– update existing to empty or leave alone–gave me hope that it was updating existing metadata, but this is not the case.)
UPDATE: The plugin does seem to update both the existing field and the extra ‘acui_columns’ field with the metadata. When the plugin is deactivated, it will delete the extra acui_columns array containing the added fields, but the data remained in the fields added to the usermeta table. Still, it should be noted that I had to get rid of the plugin in order for it to clean up a mess that it made. (If I didn’t already have the extra metadata fields in the usermeta table, I’m guessing that all of the imported metadata would have been lost.)
- The topic ‘Imports data from CSV but meta handling is messy’ is closed to new replies.