- Posts: 7
Social Extensions Integration
Community builder and Joomla profile sync issue
- Irfan
- Topic Author
- Offline
- New Member
-
Less
More
11 years 11 months ago #1
by Irfan
Community builder and Joomla profile sync issue was created by Irfan
I am using Community builder for profile.There is a problem when I add user to moodle from backend.When I click "Add users to Moodle" it does not sync profile data.Also firstname and lastname field goes blank.I have done the mapping and also set community builder as additional source.
I have made some changes but not sure if this is a correct way to do this.I have added get_userinfo method inside auth_plugin_joomdle class in auth/joomdle/auth.php file
Could you please confirm if I can do this?
Thanks,
I have made some changes but not sure if this is a correct way to do this.I have added get_userinfo method inside auth_plugin_joomdle class in auth/joomdle/auth.php file
Code:
function get_userinfo($username) {
$juser_info = $this->call_method ("getUserInfo", $username,'');
return $juser_info;
}
Could you please confirm if I can do this?
Thanks,
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
11 years 11 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic Community builder and Joomla profile sync issue
After "Add users to Moodle" you will need to "Sync Joomla profiles" to transfer all profile info using additional data source.
Please Log in or Create an account to join the conversation.