jecat01
Forum Replies Created
-
Forum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] Cookie blocker not working in pop-upsHi,
Sorry for the late reply, I only tested it today.
Yes, it works perfectly. Thanks a lot!Johannes
Forum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] Cookie blocker not working in pop-upsThanks, but that only outputs
Uncaught ReferenceError: cmplzAcceptAllCookies is not defined
, on my site as well as on a fresh installation with not much more than Complianz enabled. Does it require any specific settings to load this JavaScript?Forum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] Cookie blocker not working in pop-upsHello @rogierlankhorst,
This click doesn’t seem to fire. It seems I can revoke any consent and show the cookie banner again using:
$('.cc-revoke').click();
It fires the click and then reloads the page. But both.cc-dismiss
and.cc-allow
don’t fire that way. I tested it with two browsers with a default theme and all plug-ins disabled except Complianz. Using the console, I always get the same results: calling the revoke button’s click event brings back the cookie banner, but calling any of the consent button’s click events doesn’t do anything. However, clicking one of these buttons with the mouse works as expected.Screenshot: https://www.dropbox.com/s/ns084et5x3i2jsn/complianz-not-fired.png?dl=0
Regards,
JohannesForum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] Cookie blocker not working in pop-upsHello @rogierlankhorst and @jarnovos,
One more question: How is the consent triggered? My workaround above displays the cookie banner again, but clicking that button should actually accept cookies right away. How can I trigger this?
Thanks,
JohannesForum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] Cookie blocker not working in pop-upsSorry, I only saw your reply after posting mine. Thanks for your investigation. It works as a quick fix, but I’ll give other popup tools a try as you suggested.
Thanks,
JohannesForum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] Cookie blocker not working in pop-upsHello again,
As a workaround, I added my own click action to this button via jQuery now. This way, when clicking on the button within a popup, the popup is now closed and the cookie banner is displayed:
var cmplzConsent = 0 <= document.cookie.indexOf('complianz_consent_status=allow'); jQuery(document).ready(function() { jQuery('.w-popup-box .cmplz-blocked-content-container .cmplz-blocked-content-notice').click(function() { console.log('Toni: "click"'); if (!cmplzConsent) { jQuery('.w-popup-closer, .cc-revoke').click(); } }); })
It works now, however I would still be interested in why the original click action is not passed on to buttons within popups.
Regards,
JohannesForum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] Cookie blocker not working in pop-upsHello @rogierlankhorst,
I don’t understand how CSS could possibly disable clicks, but if you let me know what you think about in detail, I can surely try to adjust the pop-up with custom CSS overrides.
I asked the theme authors, but they don’t see the problem on their end. This was their response:
We don’t block clicks in popups you can check it yourself by sending contact form data after deactivating Complianz plugin. So I think that this issue related to the Complianz, not Impreza. I recommend asking the author of the plugin to investigate the issue better.
Regards,
JohannesForum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] Cookie blocker not working in pop-upsHello @jarnovos,
I used the theme Impreza and its built-in WPBakery popup element:
https://themeforest.net/item/impreza-retina-responsive-wordpress-theme/6434280It’s reproducible on a clean and minimalistic install:
https://impreza-gmpwx01.themetest.net/
(I quickly created this via a time-limited test drive on themetest.net)Is it up to the Theme creators then?
Thanks,
JohannesHi Patrick,
Thanks for updating me on this, and I’ll keep my eyes open for any updates as usual.
Best regards
JohannesHello Jonathan,
Thank you for checking.
The affected website is running the “Impreza” theme which recommends Smush for image optimization. The theme itself offers additional image sizes though. You can try it on their time-limited test drive: https://themetest.net/impreza/
In my test screenshot above, I only had WPBakery enabled, and the Theme’s own plug-in. Smush was disabled / enabled for the upload as described. All other plug-ins were disabled.
Find my test image files here:
https://drive.google.com/drive/folders/18Z2Ta6cCp0af-TeEDa8l9ytFHjkmvFsf?usp=sharingI was in touch with Impreza’s support team too, but they replied that the bug also occurs when using the Twenty Nineteen theme and that I therefore should check with you.
Best,
JohannesForum: Plugins
In reply to: [Increase Maximum Upload File Size] Latest update Version 2.0.3Yes, it works, thanks!
Forum: Plugins
In reply to: [Increase Maximum Upload File Size] Latest update Version 2.0.3Yes, same problem here. I think it’s because the PHP file (including the plugin header) exists twice, there’s one with dashes and one with underscores, where the latter one just references the first one.
As a workaround, you can delete the file with underscores, i.e. the “upload_max_file_size.php” and then reload your “Installed Plugins” page in the backend in order for WordPress to detect the change. (As always, keep a backup of your page before messing around in the files on your server.)
Forum: Plugins
In reply to: [WPBakery Page Builder Addons by Livemesh] Post Carousel and V2.5Sorry for not posting back, I forgot. The update worked perfectly, thank you very much again!
Forum: Plugins
In reply to: [WPBakery Page Builder Addons by Livemesh] Post Carousel and V2.5Cool, thanks! Going to test it tomorrow.
Forum: Plugins
In reply to: [WPBakery Page Builder Addons by Livemesh] Post Carousel and V2.5Link update:
https://web.archive.org/web/20181015075702/https://impreza-agx2368.themetest.net/posts-carousel-demo-page/(it was a time-limited testing page, therefore I’ve archived it)