I'm using Moodle 3.8.4+. I'm new in moodle and don't know how to update the user fields by code. I would like to develop a script that automatically updates the "ICQ Number" optional field. I've updated the icq field in the mdl_user table but the field doesn't change in the user profile. How is it possible to reflect the changing in the user profile?
" I've updated the icq field in the mdl_user table but the field doesn't change in the user profile. "
Much user data like this is cached. If you updated the field okay in the database, then it will probably not update immediately for the user. You may need to purge caches on the server and/or log out and in as the user to refresh the cache and/or purge the local cache on your browser in order to see the edited fields.
Much user data like this is cached. If you updated the field okay in the database, then it will probably not update immediately for the user. You may need to purge caches on the server and/or log out and in as the user to refresh the cache and/or purge the local cache on your browser in order to see the edited fields.
ឆ្លើយតបទៅកាន់ Alessio Niespolo
Re: Ri: Re: Ri: Re: Ri: Re: Updating user field
ដោយ Randy Thornton នៅ