I successfully exported users but I cannot figure out the expected XML format to import users. I tried simply changing the <users_export> to <users_import> to bring a user back, but nothing seems to happen.
Edit: Getting a little farther. I see that I need to keep it as <users_export>. I hacked a little and discovered the users are reading into the $users array correctly, but nothing is getting inserted into the db.
It looks like users can be updated with the import, but how do you import new users?
I got the new users to successfully import by adding these 3 lines to \library\Waindigo\UserImpEx\Extend\XenForo\Model\User.php at line 183 of massImportUsers()
$dw->setPassword('randompassword', false, null, true); // apparently a password is needed???
$user['user_group_id']=2; // This is the "registered" groupid
Failed imports now produce a form to correct any errors and re-import.
Fixed bug that unable to import new users due to no password being present. A password field is now accepted, or if no field is set then no password is set (i.e. user is unable to login). Default user group and language are also set if user_group_id and language_id are not set.
The import new users isn't working for me. When I import a csv file, no one is added. I have tried all suggestions listed here.
I am able to export a user, make a username change and import it (using XML).
Help greatly appreciated!
It's not perfect for me, but it's working. Are you getting any error message, or just nothing happening? You have to make sure that your column headers match PERFECTLY so I find that it's best to export a sample record and then use those column headers exactly.