Title: OOTB plugin problem
Last modified: April 26, 2023

---

# OOTB plugin problem

 *  Resolved [docmenios](https://wordpress.org/support/users/greggrig/)
 * (@greggrig)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/ootb-plugin-problem/)
 * Hello,
 * I installed your plugin and it works perfectly on blocking google maps, but I
   also have a plugin, named OOTB (Out of the Block: OpenStreetMap) which adds a
   custom Gutenberg block that displays an OpenStreetMap map. I am trying to get
   it to work there too, but all I see is blank. Is there any way I could fix it
   so that it displays a placeholder instead of being broken?
 * ![](https://prnt.sc/S2us5I6wD6gL)
 * Thanks in advance for your answer 🙂
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Footb-plugin-problem%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 11 replies - 1 through 11 (of 11 total)

 *  Thread Starter [docmenios](https://wordpress.org/support/users/greggrig/)
 * (@greggrig)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/ootb-plugin-problem/#post-16693454)
 * I also tried to custom block it via “Block Script, iframe or plugin” using its
   div class. It worked visually, but in the background, the requests are still 
   made to OpenStreetMap. I tried to block the leaflet.js that comes inside the 
   aforementioned plugin, it blocked OpenStreetMap but didn’t get enabled after 
   accepting (pressing “Agree” on the placeholder). I will try more to find the 
   correct script and come back. Until then thanks in advance and enjoy the rest
   of King’s Day 🙂
    -  This reply was modified 3 years, 1 month ago by [docmenios](https://wordpress.org/support/users/greggrig/).
    -  This reply was modified 3 years, 1 month ago by [docmenios](https://wordpress.org/support/users/greggrig/).
    -  This reply was modified 3 years, 1 month ago by [docmenios](https://wordpress.org/support/users/greggrig/).
      Reason: new info
 *  Plugin Author [Aert](https://wordpress.org/support/users/aahulsebos/)
 * (@aahulsebos)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/ootb-plugin-problem/#post-16693818)
 * Hi [@greggrig](https://wordpress.org/support/users/greggrig/),
 * I think we need an integration for the plugin. What you mentioned sounds like
   a dependency issue, which you can solve in the Script Center as well.
 * This is a guess; [https://snipboard.io/yPTWLj.jpg](https://snipboard.io/yPTWLj.jpg)
 * (To get the dependencies I just realised you need to save the integration with
   a save + reload, which is a save button on the block above, I’ll fix this soon.).
 * If it doesn’t work, let me know I’ll download the plugin and see if I can create
   an integration directly in the plugin.
 * regards Aert
 *  Thread Starter [docmenios](https://wordpress.org/support/users/greggrig/)
 * (@greggrig)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/ootb-plugin-problem/#post-16694869)
 * Hi, and thanks for the answer. Yeah, you are right in the way you added the dependencies.
   I did it like in the photo you shared, [here is the complete photo from my side](https://prnt.sc/P4aNbC6DGlKN),
   and it worked 🙂
 * I also informed the ootb support page about my case, and how it got solved.
 * Thank you 🙂
 * (Btw, the site is a live-stage, so I am gonna block access)
    -  This reply was modified 3 years, 1 month ago by [docmenios](https://wordpress.org/support/users/greggrig/).
    -  This reply was modified 3 years, 1 month ago by [docmenios](https://wordpress.org/support/users/greggrig/).
    -  This reply was modified 3 years, 1 month ago by [docmenios](https://wordpress.org/support/users/greggrig/).
 *  Thread Starter [docmenios](https://wordpress.org/support/users/greggrig/)
 * (@greggrig)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/ootb-plugin-problem/#post-16695242)
 * Hi again, I have a final question. I don’t have any cookie other than the one
   set when accepting the OSM. Is there any way to revoke consent per service instead
   of using the global one? The revoke button in [cmplz-revoke-link text=”Revoke
   your settings!”] is grayed out, and the only way to revoke is to press Deny on
   the manage cookie consent pop-up.
 * For now I added this:
 *     ```wp-block-code
       <button class="cmplz-btn cmplz-deny">Ανάκληση OpenStreetMap</button>
       ```
   
 * Since my only cookie is basically the one to remember what the user did with 
   the OSM, but sth more concrete would be welcome 🙂
 * Thank you
    -  This reply was modified 3 years, 1 month ago by [docmenios](https://wordpress.org/support/users/greggrig/).
    -  This reply was modified 3 years, 1 month ago by [docmenios](https://wordpress.org/support/users/greggrig/).
 *  Thread Starter [docmenios](https://wordpress.org/support/users/greggrig/)
 * (@greggrig)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/ootb-plugin-problem/#post-16695524)
 * Hi, i tried to solve it by using the code below (in my case I had to change it
   to the Gutenberg block I am using, but yeah), which seems to work. ~Let me know
   if this is the correct way to do it.~ No, this still unblocks everything, and
   not OSM specifically (I’m testing this with a google maps iframe). Also, apologies
   for replying again, but I can’t edit the previous one anymore.
 *     ```wp-block-code
       <button class="cmplz-btn cmplz-deny" data-service-name="OpenStreetMap">Revoke OpenStreetMap Use</button>
       ```
   
 * Thank you 🙂
    -  This reply was modified 3 years, 1 month ago by [docmenios](https://wordpress.org/support/users/greggrig/).
    -  This reply was modified 3 years, 1 month ago by [docmenios](https://wordpress.org/support/users/greggrig/).
    -  This reply was modified 3 years, 1 month ago by [docmenios](https://wordpress.org/support/users/greggrig/).
 *  Plugin Contributor [Jarno Vos](https://wordpress.org/support/users/jarnovos/)
 * (@jarnovos)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/ootb-plugin-problem/#post-16695673)
 * Hi [@greggrig](https://wordpress.org/support/users/greggrig/),
 * With Consent per Service enabled, clicking the “Accept” button in the OpenStreetMaps
   placeholder would only accept that service. Revoking per service can be done 
   on the Cookie Policy.
 * I can’t visit the attached website any more to see the behavior, so I’m not sure
   whether I fully understand what currently occurs.
 * Kind regards, Jarno
 *  Thread Starter [docmenios](https://wordpress.org/support/users/greggrig/)
 * (@greggrig)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/ootb-plugin-problem/#post-16695953)
 * Hi [@jarnovos](https://wordpress.org/support/users/jarnovos/),
 * I have added my openstreetmap as a custom integration (see discussion above) 
   because the default openstreetmap service (I have it unchecked) doesn’t work 
   on my website because of the plugin I use. I am using my own cookie policy since
   the cmplz_consented_services is the only cookie, and which is set after allowing
   my custom integration. I also let complianz create one (cookie policy) for me,
   but I didn’t see any mention of OSM there.
 * So, what I am asking is if there is a specific button class, or way to add the
   custom integration to the cookie policy (as seen in Installation guide -> Consent-
   > Services) or implementation which would allow me to specifically block/unblock
   my custom integration. With the current setting it also revokes access to a google
   maps iframe I use for testing.
 * (The website is again available now btw, and yes, consent per service is enabled:))
    -  This reply was modified 3 years, 1 month ago by [docmenios](https://wordpress.org/support/users/greggrig/).
    -  This reply was modified 3 years, 1 month ago by [docmenios](https://wordpress.org/support/users/greggrig/).
    -  This reply was modified 3 years, 1 month ago by [docmenios](https://wordpress.org/support/users/greggrig/).
    -  This reply was modified 3 years, 1 month ago by [docmenios](https://wordpress.org/support/users/greggrig/).
    -  This reply was modified 3 years, 1 month ago by [docmenios](https://wordpress.org/support/users/greggrig/).
 *  Thread Starter [docmenios](https://wordpress.org/support/users/greggrig/)
 * (@greggrig)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/ootb-plugin-problem/#post-16696353)
 * Ok, I played around a bit and I was able to get the Google maps to appear on 
   the Cookie Policy generated by Complianz (OSM too, but..). Toggling the button
   there indeed revoked the permission. So, my problem appears indeed to be that
   I can’t make the OpenStreetMap service to show up on my Cookie Policy because
   I am using a custom integration under script center. What would be better? Something
   custom to connect a custom created service on Cookie Policy with the custom script
   on Integrations tab or writing a mu which would allow the plugin I use to work
   with the default Complianz openstreetmap service?
    -  This reply was modified 3 years, 1 month ago by [docmenios](https://wordpress.org/support/users/greggrig/).
      Reason: new info
    -  This reply was modified 3 years, 1 month ago by [docmenios](https://wordpress.org/support/users/greggrig/).
 *  Thread Starter [docmenios](https://wordpress.org/support/users/greggrig/)
 * (@greggrig)
 * [3 years ago](https://wordpress.org/support/topic/ootb-plugin-problem/#post-16698342)
 * Hi [@jarnovos](https://wordpress.org/support/users/jarnovos/) && [@aahulsebos](https://wordpress.org/support/users/aahulsebos/),
 * Apparently I had messed up something, and I found one of your Documentation guides
   where you went over dependencies. I found the script creating the problem (ootb-
   openstreetmap.js), and I did a slight [change](https://prnt.sc/IbgXzVD31I_g),
   this time with OpenStreetMap enabled, which now made it work for me. Specifically,
   not load tiles until consent, and load map and tiles once button is pressed. 
   Only problem now is that it doesn’t show up in my cookie policy no matter what
   I do, but I guess I will wait a bit to see.
 *  Plugin Contributor [Jarno Vos](https://wordpress.org/support/users/jarnovos/)
 * (@jarnovos)
 * [3 years ago](https://wordpress.org/support/topic/ootb-plugin-problem/#post-16700378)
 * Hi [@greggrig](https://wordpress.org/support/users/greggrig/),
 * Thank you for sharing your solution, glad to hear you’ve already gotten the Map
   to work correctly after consent.
 * Regarding the service being displayed on your Cookie Policy, this isn’t dependent
   on whether it’s a custom or ‘default’ integration; but by whether this service
   sets cookies.
 * If no OpenStreetMap cookie(s) are being set as a result of using the service,
   and therefore none could be detected during the Cookie Scan, the OpenStreetMap
   service doesn’t appear on the Cookie Policy either.
 * Kind regards, Jarno
 *  Thread Starter [docmenios](https://wordpress.org/support/users/greggrig/)
 * (@greggrig)
 * [3 years ago](https://wordpress.org/support/topic/ootb-plugin-problem/#post-16700433)
 * Hi [@jarnovos](https://wordpress.org/support/users/jarnovos/),
 * Yeah, I saw that Google maps for instance sets a specific cookie while OpenStreetMap
   just “uses” consented_services to remember what the user chose, so, yeah, it 
   makes sense.
 * Thank you for your answer

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘OOTB plugin problem’ is closed to new replies.

 * ![](https://ps.w.org/complianz-gdpr/assets/icon-256x256.png?rev=2881064)
 * [Complianz - GDPR/CCPA Cookie Consent](https://wordpress.org/plugins/complianz-gdpr/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/complianz-gdpr/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/complianz-gdpr/)
 * [Active Topics](https://wordpress.org/support/plugin/complianz-gdpr/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/complianz-gdpr/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/complianz-gdpr/reviews/)

## Tags

 * [blank-page](https://wordpress.org/support/topic-tag/blank-page/)
 * [openstreetmap](https://wordpress.org/support/topic-tag/openstreetmap/)

 * 11 replies
 * 3 participants
 * Last reply from: [docmenios](https://wordpress.org/support/users/greggrig/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/ootb-plugin-problem/#post-16700433)
 * Status: resolved