- Posts: 7
Joomdle 1.0 Installation
[Solved] Users are not synced when added
- Sean
- Topic Author
- Offline
- New Member
-
Less
More
10 years 3 months ago - 10 years 3 months ago #1
by Sean
[Solved] Users are not synced when added was created by Sean
Joomla: 3.4.8
Joomdle: 1.0.4
Moodle: 3.0
Joomla settings
- No 3rd party user management component is installed
- Users are registered through a custom component which uses exactly same functions like register() from the default component com_users
- Joomla User Profile plugin is customized to have some fields like fname, lname, etc.
Joomdle settings
- System Check is showing all green checks
- Auto create Moodle users is on
- Additional data source: Joomla User profiles
- Mappings for some fields are set
Moodle settings
- All user fields are unlocked.
My problem is that no user data is synced except for the username when a new user is added on Joomla.
The user is created on Moodle side but it's just missing all fields except for the username. Even the email field is missing.
Then if I manually select the user and click 'Sync Moodle profiles', all the fields are synced in Moodle side.
Is there something I'm missing to automatically sync the fields when a new user is added?
Joomdle: 1.0.4
Moodle: 3.0
Joomla settings
- No 3rd party user management component is installed
- Users are registered through a custom component which uses exactly same functions like register() from the default component com_users
- Joomla User Profile plugin is customized to have some fields like fname, lname, etc.
Joomdle settings
- System Check is showing all green checks
- Auto create Moodle users is on
- Additional data source: Joomla User profiles
- Mappings for some fields are set
Moodle settings
- All user fields are unlocked.
My problem is that no user data is synced except for the username when a new user is added on Joomla.
The user is created on Moodle side but it's just missing all fields except for the username. Even the email field is missing.
Then if I manually select the user and click 'Sync Moodle profiles', all the fields are synced in Moodle side.
Is there something I'm missing to automatically sync the fields when a new user is added?
Last edit: 10 years 3 months ago by Antonio Durán.
The topic has been locked.
- Chris
-
- Offline
- Moderator
-
10 years 3 months ago #2
by Chris
Replied by Chris on topic Users are not synced when added
You will need to specify where the additional information is coming from. Eg. A 3rd party extension, which you are not using, or Joomla User Profiles.
Naturally, it would be best to try using the default Joomla components and then extend out using the user profile plugin, etc. to see where the problem is, assuming that it still does not work after you configure Joomdle with the additional user data information.
Naturally, it would be best to try using the default Joomla components and then extend out using the user profile plugin, etc. to see where the problem is, assuming that it still does not work after you configure Joomdle with the additional user data information.
The topic has been locked.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
10 years 3 months ago #3
by Antonio Durán
Replied by Antonio Durán on topic Users are not synced when added
As you have a custom process, problem could be that all data is not filled in user when user_created event is fired.
As it is a custom system, we cannot give you any real insight from here, though.
As it is a custom system, we cannot give you any real insight from here, though.
The topic has been locked.
- Sean
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 7
10 years 3 months ago #4
by Sean
Replied by Sean on topic Users are not synced when added
Thank you for the replies!
I used the default Joomla User Profile plugin, I just added a few more fields there.
I have also tested registering using the default Joomla User component (not the custom process) and still the same result, only the username is synced.
I used the default Joomla User Profile plugin, I just added a few more fields there.
I have also tested registering using the default Joomla User component (not the custom process) and still the same result, only the username is synced.
The topic has been locked.
- Chris
-
- Offline
- Moderator
-
10 years 3 months ago #5
by Chris
Replied by Chris on topic Users are not synced when added
Using the Joomla default registration, have you defined the additional data source? Have you mapped the fields?
The topic has been locked.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
10 years 3 months ago #6
by Antonio Durán
Replied by Antonio Durán on topic Users are not synced when added
I just realized you are running 1.0.4. Update to 1.0.5 on Joomla and Moodle sides.
The topic has been locked.
- Sean
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 7
10 years 3 months ago #7
by Sean
Replied by Sean on topic Users are not synced when added
Perfect! Upgrading to 1.0.5 solved everything!
Now I can see all fields are synced properly.
Thanks again!
Now I can see all fields are synced properly.
Thanks again!
The topic has been locked.