iansamz
Forum Replies Created
-
Thank you for the info. Im trying to import users in buddyboss using a profile field of type date ie DOB. I cant get same to work. How do I work on this?
I wanted to add users with their IDs from another database and noticed that the plugin does not allow a user to import users with a specific ID.
I was able to achieve this by first importing the csv with their IDs via mysql terminal using the script below
LOAD DATA INFILE "~/Downloads/members-import.csv" INTO TABLE wp_users COLUMNS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"' LINES TERMINATED BY '\n' IGNORE 1 LINES (ID, user_login, user_pass, user_nicename, user_email, user_status, display_name);Afterwards I imported the users remaining data using the plugin which saved me a lot of time.
I hope this might help someone else in the future.
I wanted to add that I found a method of importing user with the specific IDs before hand through phpmyadmin in the wp_users table.
Then using this plugin to import the meta having specified the user ID under the a column named source_user_id. This would allow the plugin to update the user rather than trying to create one.Thanks your for plugin
- This reply was modified 5 years, 1 month ago by iansamz.
Deleting the buddypress plugin was bringing a conflict with buddyboss. After deleting the plugin the error disappeared.
Had not read the docs.
Its simply here
https://wordpress.org/plugins/import-users-from-csv-with-meta/#id%20column