• Resolved Valex2013

    (@valex2013)


    Hi there. Great plugin, nice work!

    Unfortunately the plugin connects to “ajax.googleapis.com” in the background. Therefore it is in conflict with GDPR regulations in the European Union.

    Do you intend to change that? If not, can you tell us how to prevent that connection in order to not being in conflict with GDPR regulation when using the plugin?

    Best regards from Germany.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Aurovrata Venet

    (@aurovrata)

    Hi there. Great plugin, nice work!

    thank you.

    Unfortunately the plugin connects to “ajax.googleapis.com” in the background.

    if you use jquery-ui functionality (tabs/collapsible sections/toggles sections). The js scripts are loaded from WP core (your server), however the css styles are loaded from a js CDN repo. This is common practice, more reliable.

    If you need to block this, you have 2 options, dequeue the offending stylesheets and either,

    1. Custom style your tabs/toggles/collapsible section which you are using in your form, (only minimal rules are actually being used from the stylesheets.
    2. Include those stylesheets in your theme folder and load them instead.

    There are 3 stylesheets being loaded using the following handles,

    1. cf7-jquery-ui – themes/smoothness/jquery-ui.min.css
    2. cf7-jquery-ui-theme – themes/smoothness/jquery-ui.theme.min.css
    3. cf7-jquery-ui-structure – themes/smoothness/jquery-ui.structure.min.css

    To dequeue (or enqueue) these stylesheets, use the action fired at the end of the enqueue process,

    add_action('smart_grid_enqueue_scripts', 'gdrpr_fix',10,1);
    
    function gdrpr_fix($cf7_key){
      if('my-form'===$cf7_key){//check this is the right form (if need be).
         wp_dequeue_style('cf7-jquery-ui');
         wp_dequeue_style('cf7-jquery-ui-theme');
         wp_dequeue_style('cf7-jquery-ui-structure');
         // possibly enqueue your own here...
      }
    }

    NB: v5 (in the pipeline) of this plugin will do away with jquery-ui altogether.

    Thread Starter Valex2013

    (@valex2013)

    Thank you, nice support!

    Best regards.

    Plugin Author Aurovrata Venet

    (@aurovrata)

    Do leave a review when you have a moment to spare.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘GDPR Issue’ is closed to new replies.