Joomla core custom fields deleted

More
3 months 2 weeks ago #153339 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Joomla core custom fields deleted
Hi David

I just checked the code again and don't see how this will happens. Could you please make a screenshot of the custom field settings (which is having this issue) so that I can follow your setup, try to re-procedure the issue on my local computer and fix it?

If I can re-procedure the issue myself, I will be able to check and get it sorted

Tuan

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

More
3 months 2 weeks ago #153355 by David Fletcher
Replied by David Fletcher on topic Joomla core custom fields deleted
Tuan
Here are a pair of similar fileds, not with Access set to Registered, and the other set to Special.
On renewal the data in the first is retained but not for the second
David
Attachments:

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

More
3 months 4 days ago #153543 by David Fletcher
Replied by David Fletcher on topic Joomla core custom fields deleted
Tuan
I now see that this is leading to other issues.
When renewing via the member profile and the PayPal portal, data in fields not on the application form are deleted. This issue has been around for a long time.
Please assist.
Can I turn off the posibility of renewal via PayPal without blocking PayPal payment for new sign ups?
David

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

More
3 months 4 days ago #153547 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Joomla core custom fields deleted
Hi David

You can use this workaround :

1. Edit these fields, set Hide On Membership Renewal to Yes

2. Then data for field which has Access Level set to Registered should be copied

3. For field with access level set to Special, since you want to enter data yourself, I don't know if it is a good to copy the value from original subscription to new subscription. If you want to have it works like that, you will need to customize the code:

- Open the file plugins/system/membershippro/membershippro.php
- Find this line of code:
if (!$rowField->hide_on_membership_renewal && (in_array($rowField->access, $viewLevels) || $this->app->isClient('administrator')))
{
	continue;
}

Change it to:
if (!$rowField->hide_on_membership_renewal)
{
	continue;
}

Then it should address the issue

Regards,

Tuan

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