Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1152897

    Hi,

    I’ve placed the GoogleMaps element and want to hide it if the user doesn’t accept to showing it. So, I’d like to Handel it with the Borlabs Cookie plugin, which has a content blocker. Unfortunately, this plugin sin’t able to block the GoogleMaps content builded with a Theme Builder, such as ALB in Enfold.

    They suggest to use a shortcode even the content (Maps in this case) isn’t blocken through the plugin.

    [borlabs-cookie id="googlemaps" type="content-blocker"]...blockiere das...[/borlabs-cookie]

    Does anybody has an idea where I can insert this and it is working? I’ve already tried several locations. But nothing helped me…

    Thanks a lot in advance. Yours, Thomas

    #1153409

    Hey Thomas,

    Unfortunately, we’re not able to troubleshoot third-party plugins. You would need a freelancer to look into this issue for you.

    Best regards,
    Jordan Shannon

    #1153426

    Hi Jordan,

    yes, I’ve mentioned thought. I found a solution an an other way that fixed my problem.

    Yours, Thomas

    #1153465

    maybe instead you can describe what you did. It might help others to solve the same problem.

    #1153494

    Hi,

    It would be great if you could share your solution here @venolab :-)

    Best regards,
    Rikard

    #1153536

    What you always can do is not to use the google maps ALB Element – but the codeblock element and embed the iframe given from Google Maps ( there is an embed button on share the map )
    The only thing to change there is the width to 100% and the wanted height !
    Then insert to the codeblock element your borlabs short code and the iframe inbetween:

    [borlabs-cookie id="googlemaps" type="content-blocker"]<iframe src="https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d2524.0265485697782!2d7.0528674!3d50.7565414!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x47bf1e2abeab2637%3A0x2a80c2a108fded35!2sLudwig-Schopp-Stra%C3%9Fe%2027%2C%2053117%20Bonn!5e0!3m2!1sde!2sde!4v1572797232411!5m2!1sde!2sde" width="100%" height="600" frameborder="0" style="border:0;" allowfullscreen=""></iframe>[/borlabs-cookie]

    #1153568

    Hi,

    sorry for the late reply – it was a busy day.

    Thanks @Guenni007 for this solution. I didn’t thought that easy way ;).

    What is my current solution: The Borlabs Cookie plugin isn’t able to block the GoogleMaps content inside the ALB element. Then I tried it with the plugin WP Google Maps from Codecabin. But that also doesn’t work aside the BorlabsCookie (citation: “That won’t work with that ruined JavaScript.”). They recommend the use of the following plugin: WP Google Map.

    Than you have to do some work inside Borlabs Cookie. Just watch their tutorial (in German): https://de.borlabs.io/kb/script-blocker-video/ After doing this, I additional installed the following plugin to allow nested shortcodes: https://de.wordpress.org/plugins/nested-shortcodes/

    And now everything Works very fine and in complete accordance to the DSGVO resp. GDPR. When you select “accept all cookies/content”, the maps will be shown immediately. When you don’t want to allow external content, the maps are blocked and there is a placeholder. However, when you want to reload the maps, you have the possibility to select and enable it.

    I’m happy, that now everything works fine. That costs me some hours of brood and trial and error.

    Yours, Thomas

    #1153614

    Hi Thomas,

    Thanks for sharing your experience, it’s much appreciated.

    Best regards,
    Rikard

    #1159628

    Hello Venolab, thank you for the solution!
    Could you solve the problem that the script is called from https://maps.google.com/maps/api/js ……?
    If i set up a content blocker, the map won’t show after unblocking by cookie-box.

    You can test your site here to check connections: https://tools.pingdom.com/

    • This reply was modified 5 years ago by madsonic.
    #1159872

    Hi @madsonic,

    yes, it worked at my site. And this very well. I did the recommended steps shown in the video.

    But now things changed concerning my site and GDPR. I’ve talked with a good friend, who is a professional concerning data protection (esp. regarding german laws). So, he is the opinion, that – for now! – you don’t need a content blocker (regarding google maps) absolutely necessary. It’s sufficient to refer to the loading content (GM) in your data protection site. This is possible due to the different opinions of the data protection commissioners (country level). A discrete law, which regulates this topic isn’t available yet.

    On the other site: He told me, that the descriptions in my cookie box weren’t really good. So, you have to explain, what are really necessary cookies (really explain what they’re for), which external content is really blocked (so, you have to explain GM, YT and so on). The aim is to really inform the customer – not in a technical way rather in a clear, vivid way – so that he is available to give his informed consent.

    Conclusions for my site: I’ve deleted the borlabs cookie plugin. The content (GM) is loading and I explicit point that at my data protection site. That’s it.

    PS: I also banned external things like google analytics, google fonts etc.

    #1161785

    Hi,


    @venolab
    : Thank you for the info!

    Best regards,
    Ismael

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.