How To / General

New users redirected to the Moodle edit profile page

  • pcomelearning
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 7 months ago #1 by pcomelearning
We have run into the known issue of users being redirected to the Moodle edit profile page if they fail to enter both their first and last names separated by one space in the name field on the registration form.

We had locked down profile editing on the Moodle side because we didn't want users making changes to usernames or passwords or email addresses on that side that would not be reflected on the Joomla side. I am unsure whether that is a valid concern or not. However, it prevents course access for users who failed to properly enter their full name on the Joomla side registration form.

One of the comments in one of the Joomdle forums on this issue made me think that maybe we could pull the separate first and last name data from those fields in the billing info part of our registration form rather than pulling it from the Joomla name field.

If we can't resolve this the way I suggested, our only option in the short run will probably be to restore profile editing privileges on the Moodle side of the system. Again, I am not sure if this would cause us a problem. However, it would be a smaller problem that our users not being able to access their courses immediately after purchase and then having to wait for a reply to a support ticket.

Thanks.

Todd

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

More
9 years 7 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic New users redirected to the Moodle edit profile page
Hi Todd.

How are your users registering? If you are using Hikashop, you should be able to map first and lastname fields to Moodle.

If you are using normal Joomla for registration, you can use Joomdle user check plugin, and enable the option to require a space in Name field, so user will get and error when they try to register using only one word in name field.

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

  • pcomelearning
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 7 months ago #3 by pcomelearning
Replied by pcomelearning on topic New users redirected to the Moodle edit profile page
Checked the plugin setting but could only see this option:
Allow extended characters in usernames

Is the option to require a space in the name field located somewhere else?

Thank you for all your great support!

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

  • pcomelearning
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 7 months ago #4 by pcomelearning
Replied by pcomelearning on topic New users redirected to the Moodle edit profile page
Hi Antonio

It turns out that our hikashop first and last name fields are mapped to the Moodle profile first and last name fields, and the fields are being synced upon completion of registration. We restored the authenticated user permission to allow user to edit their own profile and locked all profile fields except last name, which is left unlocked if empty.

A new user still ended up getting stuck on the edit profile page until they clicked the update profile button. No required fields were empty on the Moodle side. However, the timezone field was marked invalid. We were able to update the page without changing anything, even the invalid timezone, and that allowed the user to move forward.

So, now in addition to getting past the edit profile screen, we need to get the timezone setting in the registration form to sync correctly to the Moodle profile.

Todd

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

  • pcomelearning
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 7 months ago #5 by pcomelearning
Replied by pcomelearning on topic New users redirected to the Moodle edit profile page
I must be using an old version.

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

More
9 years 7 months ago #6 by Antonio Durán
Replied by Antonio Durán on topic New users redirected to the Moodle edit profile page
Yes, you need to use latest version of the plugin to have the name option.

As for timezone: if you don't map it, it should use default one set in Moodle. I have never seen anyone having problems with this. I don't think I ever saw anyone mapping that field either.

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

  • pcomelearning
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 7 months ago #7 by pcomelearning
Replied by pcomelearning on topic New users redirected to the Moodle edit profile page
The default timezone is set in Moodle (see screenshot).
Attachments:

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

More
9 years 7 months ago #8 by Antonio Durán
Replied by Antonio Durán on topic New users redirected to the Moodle edit profile page
Then I don't know what's happening.
Double-check that you are not mapping the timezone field in Joomdle mappings.

Also, check Moolde database, user table, to see what value is being saved when user registers.

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

  • pcomelearning
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 7 months ago #9 by pcomelearning
Replied by pcomelearning on topic New users redirected to the Moodle edit profile page
Thanks for the advice. I will check the value that is saved in the table and see what's up.

Do you have any experience or advice for seeing a blank page on login? I'm going to check the log files and reboot the server to see if that fixes it. But even with error checking turned on Joomla does not generate an error, which makes me think there is an issue with Apache. The Moodle side is working fine.

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

  • pcomelearning
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 7 months ago #10 by pcomelearning
Replied by pcomelearning on topic New users redirected to the Moodle edit profile page
I found the error:
Whoops \ Exception \ ErrorException (E_ERROR)
Call to undefined function curl_init()

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