-
- 44 Posts
Hello,
I need to add 100 users to a Revo site, which currently sit in an Evo site.
Is there a way to import them into Revo?
Or a way to mass-add them fresh?
I can’t find any addons. Could do a SQL upload, but not sure if that’s feasible.
Thanks
I would definitely do this as a mysqldump then import the records via MySQL. Be careful with the hashed passwords... not sure if the encryption algorithm changed (is it still md5 unsalted in Revo as it was in Evo?)
You cannot insert users via SQL anymore. You need to use the API so that the passwords are properly hashed. MODX 2.1 uses modPBKDF2 for new users.
You can write a script to take an export of your user data in some format, and use the API to read this data and create new modUser/modUserProfile instances from it.