Update email on Membership when subscriber update his CB profile

  • Lionel Charrier
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
6 years 5 months ago - 6 years 5 months ago #119594 by Lionel Charrier
When a subscriber updates his email address in his CB profile, this email address is not updated in his active membership profil of record.
Therefore Membership Pro sends subscription reminder to a wrong or no longer existing email Address.

Can you add a plug-in and parameter to stipulate which CB field shall be reported in the membership profil ?

Kind Regards
Last edit: 6 years 5 months ago by Lionel Charrier.

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

More
6 years 5 months ago #119607 by Tuan Pham Ngoc
Hi Lionel

Could you please try to make small modification to the code:

1. Open the file plugins/system/membershippro/membershippro.php

2. Find this line of code:
Code:
if (!empty($config->synchronize_email) && ($option == 'com_users' || $config->synchronize_data === '0'))

3. Change it to:
Code:
if (!empty($config->synchronize_email) && ($option == 'com_users' || $option == 'com_comprofiler' || $config->synchronize_data === '0'))

(I don't have CB installed here, could you please help checking and make sure com_comprofiler is correct name of CB component, if not, please correct it)

Then check it again and let us know if it works. If it does, we will update the download package with the change

Tuan
The following user(s) said Thank You: Lionel Charrier

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

  • Lionel Charrier
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
6 years 5 months ago #119623 by Lionel Charrier
Hi Tuan
This is just working fine. Many thanks

Lionel

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