Tips & Tricks

Please do NOT use this section of the forum to request help if Joomdle does not work for you in some particular way. Your post will be deleted.

Bulk upload joomdle users in Moodle

  • adamtong
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
14 years 1 month ago #1 by adamtong
Bulk upload joomdle users in Moodle was created by adamtong
Hi, in my school, i need to bulk upload students in Moodle and enroll in classes. I found that I cannot bulk upload users by "Joomdle" authentication. If bulk upload by "manual account", I need to go to Joomla to synch the users to joomla and it will make the password changed with email notification. However, my students do not have real email in uploading in moodle.

if we can bulk upload users in moodle directly by Joomdle authentication, it will be very convenient.

Thank you so much

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

More
14 years 1 month ago #2 by Antonio Durán
Replied by Antonio Durán on topic Re: Bulk upload joomdle users in Moodle
Hi.

As far as I know, you can. Have you tried adding the "auth" field to the CSV file?

You will get warnings on the process, but it will work as expected, I think.

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

  • adamtong
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
14 years 1 month ago #3 by adamtong
Replied by adamtong on topic Re: Bulk upload joomdle users in Moodle
Hi, Thank you for your kind reply. I have tried to use "auth" field in CSV file in upload users. Although it works and adds the users in Joomla and as "joomdle users", the password does not work and the new users cannot login.

Seems it is different from single add user by Joomdle auth.

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

More
14 years 1 month ago #4 by Antonio Durán
Replied by Antonio Durán on topic Re: Bulk upload joomdle users in Moodle
Hi again.

I read past conversations, and found that the person doing bulk uploads was indeed using LDAP for Joomla logins, so the password set in Joomla/Moodle was never checked. That is why it worked for him and not for you.

Now, for your problem: I did some debugging, and to me this seems like a Moodle incorrect/inconsistent behaviour:
- When user_created event is called from single user creation, password is sent to event handler in clear
- When it is called from bulk upload, password reach the event handler already crypted

I just posted to Moodle forum, to see if I can get some info:
moodle.org/mod/forum/discuss.php?d=197506

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

  • adamtong
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
14 years 1 month ago #5 by adamtong
Replied by adamtong on topic Re: Bulk upload joomdle users in Moodle
Thank you so much. I am looking forward to it.

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

More
14 years 1 month ago #6 by sac
Replied by sac on topic Re: Bulk upload joomdle users in Moodle
I'm using jomsocial, jomsocial profile types and jomsocial user import export plugins/components.
I was successful in uploading my students (using jomsocial user import export plugin) through joomla then I mapped the profile fields to moodle's and I uploaded a csv file with auth field set to 'joomdle' in moodle. hope this helps.

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

More
14 years 1 month ago #7 by Chris
Replied by Chris on topic Re: Bulk upload joomdle users in Moodle
Thanks for the tip sac. Will move this thread to Tips & Tricks

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

  • adamtong
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
14 years 1 month ago #8 by adamtong
Replied by adamtong on topic Re: Bulk upload joomdle users in Moodle
Hi, thank you for your help. Actually, I use this way before. But the school admin feel it is very inconvenient to do so and he always question me why an "integrated" system need to upload users' info twice?

That's why i hope I can have a more simple way to upload users.

Actually, the current way I do it is to use Jfusion for SSO and Joomdle for data integration. As by Jfusion, the bulk user upload in Moodle by manual account auth, the users will be also in Joomla. But if Joomdle can also upload bulk users as the same as Jfusion, I don't need to use Jfusion at all.

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