I need to insert the user accounts directly in the database, I have the data in an Excel spreadsheet, I enter just the name, username and password.
Does anyone have any idea if this is possible, enter the data directly in the table users_entity?
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- danielwells@danielwells
danielwells - 0 likes
- Kevin Jardine@kevin
Kevin Jardine - 0 likes
- tiago@tiago
tiago - 0 likes
- Jaakko Naakka@naakka
Jaakko Naakka - 0 likes
You must log in to post replies.You could write a plugin (if it doesn't already exist) that iterates through your CSV (easily exported from exel) passing the data into the register_user() method.
As Daniel says, use the Elgg api. You can't just insert into one table and expect that to work.
does anyone know if there is any plugin that does that?
There is a plugin called Upload Users (http://community.elgg.org/pg/plugins/naakka/read/384770/upload-users). Unfortunately, I haven't had time to test that on Elgg 1.7 or upgrade it for some time. But we used it succesfully in Elgg 1.5.