I understand when I add a new user, record will be inserted to ENTITIES and USERS_ENTITY tables. When I update profile page, record will be inserted to METADATA and METASTRINGS tables. I just want to be sure. Do I need to insert any record to other tables else? Please help. Thanks.
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.
- hakeem777@hakeem777

hakeem777 - 0 likes
- Brett@brett.profitt

Brett - 0 likes
- crisdev@cristianmedeiros

crisdev - 0 likes
- Team Webgalli@webgalli

Team Webgalli - 0 likes
- crisdev@cristianmedeiros

crisdev - 0 likes
- Trajan@Trajan

Trajan - 0 likes
You must log in to post replies.I mean do I need to insert any record to other tables so that system integrity is still kept? Please help. Thanks.
It's best not to manipulate the database directly. If you want to add users programmatically, do it the right way:
To generate metadata, say:
And if I need to set the same widget to all profiles? There's a way to do it programmatically too? I mean, I have created a news plugin to be showed when the user login, and I want to set it to all users.
@Crisdev, use the default widgets plugin
Isn't it to new users only?
Yes the default widgets plugin won't work for existing users, only those who register after you've saved your default widgets settings.