Additional custom fields in Joomla not syncing with Moodle

  • D Barnhart
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 10 months ago #1 by D Barnhart
I am running Joomla 3.0 with Moodle 2.4 and Joomdle 09.

My question has been asked before but I am having a hard time finding the solution that helps me. I have additional custom fields in the Joomla registration through an extension called Ajax Register. I have the same additional fields in Moodle. When a user creates an account in Joomla, the account is also created in Moodle but only the user's name is synced with Moodle. Not the the other fields. In the Joomdle control panel in Joomla, I know the Mappings section is where you can link the fields together but I cannot even see the additional fields that are part of the user registration in Joomla in order to link them to the Moodle fields.

What am I missing? Thank you for your help.

Please Log in or Create an account to join the conversation.

More
12 years 9 months ago #2 by Antonio Durán
Joomdle does not integrate with Ajax register extension, so fields don't show in mappings.
We would need to make integration, like we do with Jomsocial or Community Builder.

Please Log in or Create an account to join the conversation.

  • D Barnhart
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 9 months ago #3 by D Barnhart
Thank you for your reply. I have now installed the Hikashop extension and now have all of my user registration fields mapped to Moodle. However, the fields still are not syncing from Joomla to Moodle. For each new registration I need to manually sync the Moodle profiles from the Joomdle User section for each user. Shouldn't this sync occur automatically? If so, any suggestions as to why they are not syncing automatically?

Thank you again for your help.

Please Log in or Create an account to join the conversation.

More
12 years 9 months ago #4 by Chris
Yes the fields should map automatically. You have selected Hikashop as the additional data source in Joomdle? You have mapped the fields? Are you users being registered in Moodle? Are your purchases being set to completed?

Please Log in or Create an account to join the conversation.

  • D Barnhart
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 9 months ago #5 by D Barnhart
I have set Hikashop as the additional data source in Joomdle. I have mapped all of the fields. My users are being registered in Moodle but only Name and Email fields are being synced. All other fields are not. I am only using Hikashop for the user fields to be mapped and synced with Moodle. I am not using Hikashop for product purchasing. My users first pay through Paypal for their membership, then they are redirected from Paypal to the Hikashop user registration page to register.

Does the Joomdle syncing through Hikashop as the additional data source only work when using Hikashop product purchasing?

Please Log in or Create an account to join the conversation.

More
12 years 9 months ago #6 by Antonio Durán
Not exactly.

What happens is that Hikashop triggers the "user saved" event before filling the additional information in the database, so only Joomla fields are present when syncing to Moodle.
On normal usage, a purchase is made, and user is enroled into the course. We use this moment to force a profile sync, which now fetch all the additional data.

Please Log in or Create an account to join the conversation.

  • D Barnhart
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 8 months ago #7 by D Barnhart
I set up Hikashop to purchase the Membership. Once the purchase is complete using Hikashop and their Paypal plugin, the user is directed back to the site to register (I have the member pay first then register with their information). After registration the user logs in and enrolls in the course from a menu item in Joomla that is set up to show the Moodle course list. They enroll into the course from this menu item and are then directed to the Moodle site.

So now purchase is made with Hikashop, the user registers, logs in and enrolls themselves into the course. Just so I am understanding from what you are saying, it is at this moment when the user enrolls themselves into the course that Joomdle forces a profile sync and fetches all of the additional data?

Still with it set up this way, the user profile fields are not syncing. I still need to manually do it from the Joomdle User section. Any other suggestions as to why this isn't working? Any ideas on what I should change to make this work?

Thank you for your help!

Please Log in or Create an account to join the conversation.

More
12 years 8 months ago #8 by Antonio Durán
To confirm that it is working as intented do:
- register in hikahop
- Go to joomla backend -> Users. Edit the user and save it without any mods.
- Check Moodle user to see if additional fields are mapped

Please Log in or Create an account to join the conversation.

  • D Barnhart
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 8 months ago #9 by D Barnhart
Yes that works. I registered a user in Hikashop. Went to the Joomla backend, opened up that individual user account, and saved. All fields mapped in Moodle :) Now how do I get it to map through Hikashop registration without doing that?

Please Log in or Create an account to join the conversation.

More
12 years 8 months ago #10 by Antonio Durán
Well, then everyhing is working as expected.
When a user buys a course, pays (the order changes to Confirmed) and he is enroled, the same call also makes the profile update.
But you say you are not using the shop to enrol users, so info is not updated.

Please Log in or Create an account to join the conversation.