dhauradou
Forum Replies Created
-
Forum: Plugins
In reply to: [Loco Translate] Not compatible with the latest WordPress versionHello,
It seems that since wordpress 6.5, translations (from Loco Translate) in shortcodes included in Elementor designs are not showing, do you use Elementor ? If yes, try to use problematic shortcode in a page without elementor to confirm the issue.Hello @andrewza
I am sorry but I don’t understand how to “filter on ‘pmpro_kses’ and return the original string”.
I used one of your gist https://gist.github.com/sc0ttkclark/7297d8e8a41a2ac2309af778364e86da, but it does not work:
add_filter( 'pmpro_kses', 'my_disable_pmpro_kses_for_email', 10, 3 ); function my_disable_pmpro_kses_for_email( $sanitized_string, $original_string, $context ) { // Only change if context is pmpro_email. if ( 'pmpro_email' !== $context ) { return $sanitized_string; } // Just return the original string and do not process it. return $original_string; }$sanitized_string and $original_string are already stripped.
Can you help me ?Thank you, have a great day !
- This reply was modified 4 years, 5 months ago by dhauradou.
I’m so sorry, you are totally right! Please excuse my tiredness. However when in the mycred’s strings, I can’t find it too. Should I have a total of 1 582 strings when synced ?
Thank you for your reply. Just saw it, I didn’t get an email for it. I use Loco translate, PMP is up to date and I synced the strings (1 593 strings now) unfortunately the requested string is not fetched into the fr_FR.po file. But can find it in the pot file you provided.
https://paste.pics/4ff809415dd7307b729c0b938bdc6107
I’m a bit lost! I have tried the 2 customs locations (system and the loco protected folder)
Thank you for your support
Forum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] Reactivate cookies programmatically@rogierlankhorst Thank for your fast reply, I’m happy with the filter, exactly what I needed.
Great plugin and great support.
Thank you.
Forum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] Reactivate cookies programmaticallyHello @jarnovos @rogierlankhorst,
Thank you both so much for your replies.
The filter works great, I do not see the floating banner when I log in. When logged in, on the cookie policy page generated by Complianz, I do not see the toggles for categorized cookies consent.
Does this mean that when logged-in the cookie notice is hidden and the last user consent is respected, or this means that the cookie notice is hidden and no cookie is blocked (cookie bloker is disabled I think) ?
If all cookies are blocked, this filter has the same action as cmplzAcceptAllCookies() in the JS side ?
Thank you for your time, have a great day!
@rezariazi @dealfiles, I’m searching for this desperately too !
Hello @wpexpertssupportteam,
I was about to open a ticket, thank you so much for your support.
Have a great day !
Thank you for your reply, the provided shortcode is working fine.
Kind regards
Hello @wpexpertssupportteam,
Thank you so much for your reply. If I understand correctly, I should write a new hook based on https://github.com/mycred/myCRED/blob/master/includes/hooks/mycred-hook-referrals.php
Then do a unset( $installed[‘myCRED_Hook_Affiliate’] ); to replace the official hook with my hook which will awards points before “do_action( ‘mycred_signup_referral’, $user_id, $IP, $new_user_id, $this );”
Is there a cleaner way to achieve this ?
Thank you for helping, best regards
Hello @wpexpertssupportteam,
Thank your reply. I understand the functionality is not available, but maybe you cound point me in the right direction to develop it. Maybe a hook in pmp or a hook in mycred referal, or a snippet example ?
That would be really helpfull !
Best regards