Can anyone tell me where in the code that it creates the local profile from a remote hub? It's really deficient. It doesn't bring over all the settings.
So user creates account on moodle A - jumps to Moodle B --> local profile to B is created based on profile in A, but description doesn't come over and forum tracking doesn't come over. I need to fix this, so any info would be greatly appreciated.
Hi Lori - in my current CVS checkout of Moodle HEAD, it's line 297 of auth/mnet/auth.php
if (! insert_record('user', addslashes_object($remoteuser))) {
error(get_string('databaseerror', 'mnet'));
}
In lines 97 - 116 of the same file, you can see where the information is prepared by the originating host.
if (! insert_record('user', addslashes_object($remoteuser))) {
error(get_string('databaseerror', 'mnet'));
}
In lines 97 - 116 of the same file, you can see where the information is prepared by the originating host.
I will look again, but the object of the $remoteuser has bad info in it, and I've traced it back to some xmlrpc calls... that's where I get lost. I will check again.
I found it in the moodlelib.php in get_complete_user_data function
It had description being set to true.
Thanks for pointing me in the right direction.
It had description being set to true.
Thanks for pointing me in the right direction.