Joomdle 1.0 Installation

Username requirements in Moodle and Joomla

  • Wynand Louw
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
7 years 3 months ago #1 by Wynand Louw
Username requirements in Moodle and Joomla was created by Wynand Louw
Hi
Joomla username requirements was Minimum 4 Upper or lowercase letter and or numbers.

Moodle requirements is lower case letters only.

In Joomdle with sync the users in moodle and Joomla are now seperated. User from Joomla were created in Moodle but with different usernames for example:
joomla UN: Usename8
MoodleUN: username

How do I merge these two profiles for registered users? Do I just change the Joomla usernames to correspond with moodle in Joomla Backend?

See file attached

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

More
7 years 3 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic Username requirements in Moodle and Joomla
Hi.

> How do I merge these two profiles for registered users? Do I just change the Joomla usernames to correspond with moodle in Joomla Backend?

Yes, that should fix the issue.

We recommend to use the Joomdle User check plugin so that users cannot register with uppercase in usernames. You can find it here:
www.joomdle.com/download/category/27-plugins-additional

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

  • Wynand Louw
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
7 years 3 months ago #3 by Wynand Louw
Replied by Wynand Louw on topic Username requirements in Moodle and Joomla
Thanks Antonio. I use the Easy Profile, so I presume that this plugin will then just run the verification. How will this be influence by Events Booking?

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

More
7 years 3 months ago #4 by Antonio Durán
Replied by Antonio Durán on topic Username requirements in Moodle and Joomla
> I use the Easy Profile, so I presume that this plugin will then just run the verification

I don't think I have tested the User Check plugin with Easy profile registration... you can test and let us know if you notice any issues.

> How will this be influence by Events Booking?

Not sure what you mean. Events Booking won't do the registration, right? In that case, it would not be related.

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

  • Wynand Louw
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
7 years 3 months ago #5 by Wynand Louw
Replied by Wynand Louw on topic Username requirements in Moodle and Joomla
Thanks Antonio.

Will let you know if their is any issues. No Evevts booking will not do the registration. Do registration on through easy frofile on Joomla and only mapp the fields that is needed in Moodle.

Do you perhaps know which field in Moodle save the avitar / photo? I know it has nothing to do with Joomdle.

Regards

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

More
7 years 3 months ago #6 by Antonio Durán
Replied by Antonio Durán on topic Username requirements in Moodle and Joomla
> Do you perhaps know which field in Moodle save the avitar / photo? I know it has nothing to do with Joomdle.

There is not really an field with the avatar. Moodle stores avatars in file system, in moodledata folder.
Code to get it would be:
Code:
$id = $user->id; $usercontext = context_user::instance($id); $context_id = $usercontext->id; if ($user->picture) $u['pic_url'] = $CFG->wwwroot."/pluginfile.php/$context_id/user/icon/f1";

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

  • Wynand Louw
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
7 years 3 months ago #7 by Wynand Louw
Replied by Wynand Louw on topic Username requirements in Moodle and Joomla
Thanks Antonio

They see their profile anyway only on Joomdle.

Do not think it is that important.

Regards

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

More
7 years 3 months ago #8 by Antonio Durán
Replied by Antonio Durán on topic Username requirements in Moodle and Joomla
Joomdle should sync Easyprofile avatar to Moodle, without needing to configure any specific mappings.

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