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.
- earthling@earthling

earthling - 0 likes
- zy@zzyy2003

zy - 0 likes
- Team Webgalli@webgalli

Team Webgalli - 0 likes
- caragadatacenter@caragadatacenter

caragadatacenter - 0 likes
- caragadatacenter@caragadatacenter

caragadatacenter - 0 likes
- Brett@brett.profitt

Brett - 0 likes
- zy@zzyy2003

zy - 0 likes
You must log in to post replies.hi there,
i don't really understand the question. $guid is a PHP variable and can be used like this:
Otherwise, we need more information. What do you exactly want to achieve?
Thank your answer.
I want to finish a plugin, it is probably like this:
Expand the user in registered receive, when for example IDCODE information, fill in
And will this add information in the user's the $guid,To add to the purpose of the database, I this way of thinking in the right?
You need to extend the registration page with for entering the IDCode and then you need to create a plugin hook to check in to the registration action and get the value of the required field and save it on the user as a metadata.
hi i also tried to achieve this problem but no luck. the action/register.php , views/default/forms/register.php, engine/lib/users.php,users_settings.php
take note ive also inserted additional column in the table elgg entity user but still the custom field in the registration doesnt save in the database.
@caragadatacenter - First, read this: http://docs.elgg.org/wiki/Should_I_edit_the_database_manually%3F, especially the 2nd point. You should not add custom fields to any tables in Elgg. One of many reasons is because Elgg core won't know about the new fields, so will never save any information to them.
Also, do not edit core files. You need to pull your changes out into plugins so you can upgrade easily.
I think I got it , think you very much!