Joomla core custom fields deleted
- Tuan Pham Ngoc
- Offline
- Administrator
-
Less
More
3 years 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
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.
- David Fletcher
- Offline
- Premium Member
-
Less
More
- Posts: 95
- Thank you received: 1
3 years 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
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
- David Fletcher
- Offline
- Premium Member
-
Less
More
- Posts: 95
- Thank you received: 1
3 years 1 week 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
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.
- Tuan Pham Ngoc
- Offline
- Administrator
-
3 years 1 week 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:
Change it to:
Then it should address the issue
Regards,
Tuan
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:
Code:
if (!$rowField->hide_on_membership_renewal && (in_array($rowField->access, $viewLevels) || $this->app->isClient('administrator')))
{
continue;
}
Change it to:
Code:
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.
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.