I want to add new fields to mdl_user and use external database plugin to import data to those fields. I dont want to use "User Profile Fields" since those can not be imported from external database.
Can anyone plz help?
Thanks for the quick reply.
Hello Jeff,
I have done the following things:
Everything working fine. But the External Database plugin is unable to import data to those newly added fields, since in the External DB settings page there is no options to import newly added fields.
Can you please help me?
Hello Jeff, I figured the way out. Edited lib/authlib.php. Now External DB is importing all required fields.
Will contact you for further help.
Subhajit,
Not meaning to throw a spanner in the works, but if you upload a flatfile using uploaduser.php, you can import data into User Profile Fields - you just need to prefix the name of the field with "profile_field_" on the first line of your CSV file. I don't know if that helps in your situation but it might be easier than modifying mdl_user if it does.