werle77
Forum Replies Created
-
Forum: Plugins
In reply to: [Code Snippets] eval()’d code on line 6That seems to have done the trick. I haven’t seen any updates in my error log, but I will keep monitoring that. Thanks.!
Forum: Plugins
In reply to: [Code Snippets] eval()’d code on line 6Ok, here is the snippet that is causing this error.
// Return ACF Number Fields Formatted with Commas on the Frontendadd_filter('acf/format_value/name=property_price', 'acf_number_comma', 20, 3);
add_filter('acf/format_value/name=property_sqft', 'acf_number_comma', 20, 3);
function acf_number_comma($value, $post_id, $field) {
$value = number_format($value);
return $value;
}I am not sure what needs updated here. I inherited this site so I am not 100% sure why the error?
@nsinelnikov I just emailed you a link to download the RCP UM Add-on. Let me know if you need anything else. Thank you.
@nsinelnikov I shared your email with Ellie. Hopefully this can get the ball rolling between the two of you.
In the meantime, can you have a look at what @missveronicatv has provided in this thread? Is there a way to override the RCP Javascript on that account page to accomplish what I am after?
I can give you access to a staging environment if that helps. I am in a real bind here until I get this fixed. I NEED a solution in place and working ASAP, no later than Friday 9/22/2023.
@nsinelnikov This is music to my ears! Thank you!
I have been working with Ellie Bidarigh at RCP. I don’t have a ticket #, but Ellie has been very responsive to this and I am sure you can reference the convo I have been having with her over the last month or so.
Looking forward to your response.
@missveronicatv I have reached out to RCP to see if they can supply new javascript code that will help.
@missveronicatv that did add target=”_blank” to the link, but it is not opening the links in a new tab? Any idea as to why?
<a href="#" title="Update payment method" target="_blank" class="rcp_sub_details_update_card"><button>Update payment method</button></a>
@missveronicatv this adds new buttons to the subscription tab. I need the existing buttons to work. TBH, if we can add target=”_blank” to the existing links that would work cause if you right click the buttons and open them in a new tab they work fine.
What do you need to know to do that?
Here is the copied code for the button HTML, I removed the links since this is public.
<tbody> <tr> <td class="cell" data-title="Membership" data-th="Membership"> Membership Title </td> <td class="cell" data-title="Status" data-th="Status"> Active </td> <td class="cell" data-title="Expiration/Renewal Date" data-th="Expiration/Renewal Date"> none </td> <td class="cell" data-title="Actions" data-th="Actions"> <a href="#" title="Update payment method" class="rcp_sub_details_update_card"><button>Update payment method</button></a><br><a href="#" title="Upgrade or change your membership" class="rcp_sub_details_change_membership"><button>Upgrade or change your membership</button></a> </td> </tr> </tbody>
@missveronicatv I just reactivated RCP on my staging site and the code you wrote works with RCP activated, adding in the new Test of Links tab on the Account page.
Is it possible to add this functionality to the buttons that RCP and their RCP UM add-on adds to the account page? The subscription tab?
@missveronicatv Yes, just tested. Snippet in functions.php, RCP deactivated, go to Profile > My Account, new tab “Test of Links” and the button links work accordingly.
@missveronicatv If this snippet does not work with RCP active, then I cannot use this snippet. RCP is the backbone of this website so it must be active.
@missveronicatv If I deactivate RCP, then the subscription tab on the account page is not there. RCP is required to be active.
@missveronicatv I added this to my functions.php file and the links still returned the same error.
@andrewshu Can I please open a support ticket and grant someone on your support team access to my staging site so you can help me trouble shoot this?
- This reply was modified 1 year, 6 months ago by werle77.
I would prefer opening a ticket so I can give you access to a staging site where you can trouble shoot. I don’t want to do that here.
The pages and issue in question are restricted so giving you a URL here doesn’t help.
@missveronicatv response from RCP’s support and developer.
Thank you for informing me. I’m sorry to hear you are still having this issue.
I have shared the Ultimate Member issue with our developer and this is his response:
?
“This is an issue on their end. UM does not recognize it. They capture every single click event on their pages, and they don’t handle correctly shortcode links”. ?With that, you may have to contact the UM plugin author to fix the issue with the?click
?event and ask them to let the links inside the tabs to work properly. They have to do this in the JS code.”Does this clarify anything? I am caught in the middle on this and need this resolved ASAP. I have a major event coming in one month and this can’t be happening with 100’s of members renewing/upgrading during this event.