threemind
Forum Replies Created
-
Risolto con [gcmi-comune-375_comu_desc]
Forum: Plugins
In reply to: [Mailchimp for WooCommerce] opt-in marketing and sync issuesHi @khungate,
thanks for reply!As specified in my thread, issues occurred
with plugin release 2.7.3 and also 2.7.4.Now updated to new 2.7.5 and I still have to test, surely as specified in your changelog, have fix admin subscription status checkbox flow and the user’s GDPR consents previous expressed are show correctly.
Before opening this thread I also wrote to Mailchimp support and I pointed out that the “Visible, checked by default” option is useful for showing already registered users their subscription status or preferences but since the setup is also applied to users who are registering on the site, this option is not GDPR.
Personally think it should be checked if the user is logged in (therefore already registered) and show then previous choice with checkbox cheked or if logged out show checkbox uncheked.
Forum: Plugins
In reply to: [Mailchimp for WooCommerce] opt-in marketing and sync issuesFor point 1. I’ve now seen that opt-in settings only apply to Mailchimp signup forms, so form integrations and API opt-in are unaffected.
So they don’t work with your plugin, correct?Forum: Plugins
In reply to: [Widgets for Reviews & Recommendations] Arrow and Rotation iPad mini issueHello,
try to reload home page or clean cache,
I tried to differentiate the views between desktop and tablet but now it’s a single view, I still attach screenshootsForum: Plugins
In reply to: [Widgets for Reviews & Recommendations] Arrow and Rotation iPad mini issueForum: Plugins
In reply to: [WooCommerce PayPal Checkout Payment Gateway] Security token issueHi there @treibalen,
I have already contacted in the first instance the plugin developers, plugin included in the WP theme developed by the same developers of privacy plugin, they suggested me before identifying the conflict with plugins, at the same time I wrote to you about the issue, which I repeat only occurs when user is public and not logged on.
The php script that saves user privacy preferences, if the user is logged in, we save consent to user meta, also when it’s public it should save the consents off and on in a cookie.
Which setup of your plugin WooCommerce PayPal Checkout Payment Gateway could not allow the cookie to be saved for reasons (if I understood correctly) token security?
This is the php code for public user and user logged in,
if anyone can help understand what’s wrong:/** * Update the user allowed types of consent. * If the user is logged in, we also save consent to user meta. */ public function update_privacy_preferences() { if ( ! isset( $_POST[ 'update-privacy-preferences-nonce' ] ) || ! wp_verify_nonce( sanitize_key( $_POST[ 'update-privacy-preferences-nonce' ] ), 'uncode-privacy-update_privacy_preferences' ) ) { wp_die( esc_html__( 'We could not verify the the security token. Please try again.', 'uncode-privacy' ) ); } $consents_default_on_list = array_map( 'sanitize_text_field', (array) $_POST[ 'consents_default_on_list' ] ); $consents = array_map( 'sanitize_text_field', (array) $_POST[ 'user_consents' ] ); $consents_to_save = array(); // First save all consents that are on by default to off (if unchecked) foreach ( $consents_default_on_list as $consents_on ) { if ( ! in_array( $consents_on, $consents ) ) { $consents_to_save[] = $consents_on . '-off'; } } // Then save the other consents foreach ( $consents as $consent_id ) { if ( in_array( $consent_id, $consents_default_on_list ) ) { $consents_to_save[] = $consent_id . '-on'; } else { $consents_to_save[] = $consent_id; } } $consents_as_json = json_encode( $consents_to_save ); setcookie( "uncode_privacy[consent_types]", $consents_as_json, time() + YEAR_IN_SECONDS, "/" ); if ( is_user_logged_in() ) { $user = wp_get_current_user(); if ( ! empty( $consents_to_save ) ) { delete_user_meta( $user->ID, 'uncode_privacy_consents' ); foreach ( $consents_to_save as $consent ) { $consent = sanitize_text_field( wp_unslash( $consent ) ); add_user_meta( $user->ID, 'uncode_privacy_consents', $consent ); } } } wp_safe_redirect( esc_url_raw( wp_get_referer() ) ); exit; } } endif;
Thanks in advance for support.
Forum: Plugins
In reply to: [GDPR] Error : We could not verify the security tokenI’ve the same html message: ‘We could not verify the security token. Please try again’ generated from other GDPR plugin, and show when a pubic user (not logged), save the privacy preferences.
I’ve deleted the Cache plugin but by disabling all plugins and reactivating them one by one, I discovered that in my case the problem is conflit with:
WooCommerce PayPal Checkout Payment Gateway’ plugin.Ok grazie!
Forum: Plugins
In reply to: [Edge Suite] edgePreload.js not foundI’ve only experiences with Adobe Edge Animate CC 2015:
‘Properties’ window > edit ‘Preloader’ option and insert Preloader Clip-Art what do you prefer (e.g. preloader4)
File > Publish Settings > Publish Target
Activate this option flag:
Publish preload DOM as a separate file
Host runtime files on Adobe CDNIf you entered preload image, you’ll find it (e.g. preloader4.gif) in the images folder and yourprojectname_edgePreload.js. in the root of project.
Exporting Animated Deployment Package as instructions of the plug-in, will no longer appear the message:
‘Can not find file … edgePreload.js main JS edge’https://blogs.adobe.com/edge/2014/10/06/the-new-edge-animate-is-here/
Forum: Plugins
In reply to: [Edge Suite] Edge Animation Greensock.js WPProblem solved, just a wrong js files position.
Now Animation works ‘perfectly’, I’ve to solve two problems of browser compatibility and conflict js.
1 – conflict with FlexSlider plugin that generates this error:
TypeError: jQuery (...). ImagesLoaded is not a function
and that in Chrome and Safari does not allow a slider to go to full-width.
2 – Only in Chrome, while the split between then 1st and 2nd image, shows (just for a bit) the backface of the 1st image.
Thank you in advance to who can help me.
Forum: Plugins
In reply to: [Edge Suite] edgePreload.js not foundHi,
Sorry for the question that may seem stupid.
But you have inserted the preloader clip-art in preloader-stage?If you have, you should find the preloader clip-art in the folder /images and file projectname_edgePreload.js. in the publish/web folder.
Forum: Plugins
In reply to: [Polylang] Translate text or html string inside a jquery fileYes, indeed as it was conceived, the theme have limits of use for multilingual website.
It had never happened before with other themes, but when I realized it was too late, I had already worked a lot in the customization.Anyway, back to the text can not be translated: is in the file main.js
in particular, the text of the name of the button ‘Load More’ (which I translated string in the file front-page.php) when clicked, change name and displays html text ‘Loading Posts …’
This text changing is run by jquery code and do not understand how I can translate it.
I’ve tried using a php code embedded in the main.js file but it does not work.Thank you in advance for suggestions.
ByeForum: Plugins
In reply to: [Polylang] Translate text or html string inside a jquery fileHi Chouby,
thanks for reply.I’m not a theme developer, for a client I’ve buy Studiofolio, very fine theme but developers did not provide i18n support for the internalisation.
With several changes to the code I was able to add the second menu and make it multilingual site.As wrote, I’ve translated many strings of the wp theme using pll__ or pll_e in php files, but not being able to translate button text and button html text that using javascript function, any suggestions?
Forum: Plugins
In reply to: [Polylang] Display registered custom string in an page template of my themeHi Chrysti,
thanks for the confirmation.in fact
pll__ echo (‘Show All’);
it works.My problem is that they are not expert in php I can not edit the code while keeping the class and other attributes.
The original code of the template of my page is:
echo '<li class="pull-right active"> <a href="#" class="hvr" data-filter="*"> Show All </ a> </ li>';
I tried to change it to:
echo pll__('<li class="pull-right active"> <a href="#" class="hvr" data-filter="*"> Show All </ a> </ li>');
but it does not work.
Thank you in advance for any suggestions.
Forum: Plugins
In reply to: Polylang doesn't work with Studiofolio themeI would have solved, in this way, at least as regards the portfolio.
I hope that the setting of the plugin that I run the portfolio, do not adversely affect the operation of the plugin with other pages or options.Polylang settings:
Options ON
Portfolio Items ON
Portfolio Category ONAll other synchronization options OFF
Create versions in the second language only with + button, do not use plugin that clones post or page: this applies to ‘page portfolio’, ‘portfolio items’ and ‘category portfolio’.