username=email-address not updated

  • Eric de Waal
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 10 months ago #125956 by Eric de Waal
username=email-address not updated was created by Eric de Waal
Hello,

I use the setting username=email-address. More modern and easier to remember. Works well when adding a new user.
The only problem is that when a user updates his/her profile and changes the email address, the username remains the old email address.
The same happens when I edit the user on the back-end with Subscriber Manager: Subscribers.
This is very confusing for customers, they still have to use the old email address to log in!
Also, in Acymailing, the email address is not updated.

Could this please be corrected?

hanks,

Eric

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

More
4 years 10 months ago #125960 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic username=email-address not updated
Hi Eric

Are you using latest version of Membership Pro? I just looked at the code and see that if you use email as username, when user change his email from user profile page, his username should be updated with that email, too

Tuan

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

  • Eric de Waal
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 10 months ago #125963 by Eric de Waal
Replied by Eric de Waal on topic username=email-address not updated
Hi Tuan,

I use version 2.17.2 which is up-to-date according to the dashboard.

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

More
4 years 10 months ago #125964 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic username=email-address not updated
That's strange to me. In this case, please submit a support ticket sending us:

1. Super admin account of the site
2. Send us a subscriber account
3. Link to profile page (to change email)

We are going to check to see why updating email does not update username and get it corrected (we can only update Joomla user account username only, not something in ACYMailing)

Tuan

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

  • Eric de Waal
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 10 months ago - 4 years 10 months ago #125965 by Eric de Waal
Replied by Eric de Waal on topic username=email-address not updated
just found out that username and email address both have to be updated by the user on the profile edit, then it works. I suggest when username=email-address is used, only display 1 field and silently update the other.
Acymailing is NOT updated from the profile
Last edit: 4 years 10 months ago by Eric de Waal.

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

  • Eric de Waal
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 10 months ago #125966 by Eric de Waal
Replied by Eric de Waal on topic username=email-address not updated
and on the backend, username cannot be edited by the administrator, only email, and username is NOT being updated.
Also Acymailing is NOT updated.

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

More
4 years 10 months ago #125967 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic username=email-address not updated
If you use email as username, I would suggest not allow editing username. Just access to Users -> Manage -> click on Options button in the toolbar, set Change Username parameter to No

Again for ACYMailing username, we don't handle the change from within Membership Pro

Membership Pro uses Joomla API for saving the username, email... changes, so the change to ACYMailing, if needed, should be handled by ACYMailing itself, not Membership Pro

Tuan

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

  • Eric de Waal
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 10 months ago #125968 by Eric de Waal
Replied by Eric de Waal on topic username=email-address not updated
unfortunately blocking usernames when username=email-address is not a good idea, specifically in this case.
If my subscribers (medical professionals) change jobs thier email addresses change as they use their business emails.
What about my suggestion "when username=email-address is used, only display 1 field and silently update the other"?
The Acymailing thing is less important.

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

More
4 years 10 months ago #125969 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic username=email-address not updated
If you block changing username, username will be displayed as none-editable text. And if user changes his email address, it will change his username automatically

That should work well

Tuan

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

  • Eric de Waal
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 10 months ago - 4 years 10 months ago #125970 by Eric de Waal
Replied by Eric de Waal on topic username=email-address not updated
Ah, that what I was looking for!
I now set "Change Username" in the Joomla settings to No. And then indeed the username is updated when the email address changes.
Even the Acymailing email address gets updates. Great!

But ... only from the frontend when a user updates it himself.
Not when I edit from the backend (Subscriber Manager: Subscribers)!
Last edit: 4 years 10 months ago by Eric de Waal.
The following user(s) said Thank You: Alan Henness

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