Hello,
I get this notice when WP_DEBUG is true.
Can you fix this? Thanks!
Notice: Undefined variable: siteurl in /…/wp-content/plugins/cookie-control/cookiecontrol.php on line 98
]]>It would appear that a recent update to CC (around October 6th) changed the Google Analytics code so you have to paste the whole script in instead of just the UAXXXXXX-X number. This has broken analytics on my 40+ sites which use CC and is a very bad thing to do.
I liked Civic’s code but this has made me very, very cross. Surely the developers must have guessed that this would cause havoc. People rely on code changes not breaking things.
]]>I can see similar issues listed, but no obvious resolution.
On loading my site in Chrome, I see the text of the cookie control dialog box displayed on the page briefly before disappearing. While this isn’t a show stopper, it looks a bit amateurish for a professionally designed site.
Any thoughts on how I can address this (and don’t suggest not using Chrome – ;-)).
]]>As title stated, here is a quick fix for anyone who encounters a SSL issue with Google Analytics, goto plugin file, open cookiecontrol.php, make the following edit to ccAddAnalytics():
function ccAddAnalytics() {
/*
* Note: Commented out for no SSL support
*/
//jQuery.getScript("https://www.google-analytics.com/ga.js", function() {
/*
* Note: Rewrite for non-SSL and SSL support
*/
jQuery.getScript(('https:' == document.location.protocol ? 'https://ssl' : 'https://www') + '.google-analytics.com/ga.js', function() {
var GATracker = _gat._createTracker('<?php echo $cookiecontrol_settings['gakey']; ?>');
GATracker._trackPageview();
});
}
]]>
Hi,
I’m having a theme & cookie consent plugin function conflict. I have both the function name, custom_admin_styles() in the theme I’m using and within in the plugin itself.
Would it be possible to rename the function in the next update or is there a solution to fix the conflict besides renaming the function directly in the plugin file?
(Note: renaming the function in the plugin file does work which I preferred not to go this route)
Thanks.
]]>Are you aware there seems to be a ‘undefined error’.
I have come across this when doing a webpage speed check and it appears on the waterfall.
For now I have deactivated the plugin.
Regards
Dean
]]>Hello,
First of all, sorry if this is a stupid question, but this comes from a person with no experience in coding…
I have downloaded the plugin, installed and activated with the API key collected on your website. The screen in which the key is provided tells me to follow 5 steps. This is what I did and the questions I have about them:
– Step 2: downloaded the code and created a file saved as cookieControl-6.2.min. Then uploaded this file via ftp to the folder named js inside the plugin’s folder.
– Step 3:
3.1) I don’t know how to implement this step. I guess I have to replace the PATH_TO_COOKIE_CONTROL with js (as this is the folder in which I placed the file created in step 2), so the first line would be something like this: <script src=”/js/cookieControl-6.2.min.js” type=”text/javascript”></script>
Is this right?
3.2) And the most important thing: where am I supposed to include this code? It says: You may wish to create an include, embed it directly in your pages, or add it to an existing “footer” include for your site. It’s entirely up to you. Either way, the code needs to be within the <body> tag of your page. So, can I include it into the functions.php of the child theme I am using?
– Step 4: It says: Apply Cookie Control events to your cookie-dropping scripts. This will ensure that they won’t drop cookies unless a user has opted in. At this point I have no idea about the meaning of this paragraph… How do I make this?
I would appreciate very much if someone could help me, I am completely lost with this!
Thank you ??
]]>Hi after upgrading wp. Your plugin no longer appears on each web page, but appears instead inside the pop-up eccommerce client ordering window only. very odd.
any suggestions welcomed – tried reinstalling to no avail.
Using photocrati theme 4.7.3
Thanks
]]>Hiya,
Thanks for updating the plugin and making the front-end texts translatable.
I found a number of errors in my error log and things breaking in the plugin. Please accept the following fixes.
File: cookiecontrol.php
Find line 93:
wp_register_style( 'style.css', $siteurl.'/wp-content/plugins/cookie-control/css/style.css', null, '1.0', 'screen' );
Replace with:
wp_register_style( 'ccc_style', plugins_url( 'css/style.css', dirname( __FILE__ ) ), null, '1.0', 'screen' );
Find line 132:
<input type="text" name="cookiecontrol_settings[apiKey]" id="cookiecontrol_settings[apiKey]" value="<?php echo $options['apiKey'] ?>" size="50" />
Replace with:
<input type="text" name="cookiecontrol_settings[apiKey]" id="cookiecontrol_settings[apiKey]" value="<?php if( isset( $options['apiKey'] ) ) { echo $options['apiKey']; } ?>" size="50" />
Find line 140-143:
<input type="radio" class="first" name="cookiecontrol_settings[product]" id="cookiecontrol_settings[product]" value="PROD_FREE" <?php checked('PROD_FREE', $options['product']); ?> />Free
<input type="radio" name="cookiecontrol_settings[product]" id="cookiecontrol_settings[product]" value="PROD_PAID" <?php checked('PROD_PAID', $options['product']); ?> />Single Domain
<input type="radio" name="cookiecontrol_settings[product]" id="cookiecontrol_settings[product]" value="PROD_PAID_MULTISITE" <?php checked('PROD_PAID_MULTISITE', $options['product']); ?> />Multi Domain
<input type="radio" name="cookiecontrol_settings[product]" id="cookiecontrol_settings[product]" value="PROD_PAID_CUSTOM" <?php checked('PROD_PAID_CUSTOM', $options['product']); ?> />Custom
Replace with:
<input type="radio" class="first" name="cookiecontrol_settings[product]" id="cookiecontrol_settings[product]" value="PROD_FREE" <?php ( isset( $options['product'] ) ? checked('PROD_FREE', $options['product']) : '' ); ?> />Free
<input type="radio" name="cookiecontrol_settings[product]" id="cookiecontrol_settings[product]" value="PROD_PAID" <?php ( isset( $options['product'] ) ? checked('PROD_PAID', $options['product']) : '' ); ?> />Single Domain
<input type="radio" name="cookiecontrol_settings[product]" id="cookiecontrol_settings[product]" value="PROD_PAID_MULTISITE" <?php ( isset( $options['product'] ) ? checked('PROD_PAID_MULTISITE', $options['product']) : '' ); ?> />Multi Domain
<input type="radio" name="cookiecontrol_settings[product]" id="cookiecontrol_settings[product]" value="PROD_PAID_CUSTOM" <?php ( isset( $options['product'] ) ? checked('PROD_PAID_CUSTOM', $options['product']) : '' ); ?> />Custom
Find line 466:
wp_enqueue_script('cookiecontrol', WP_CONTENT_URL.'/plugins/cookie-control/js/cookieControl-6.1.min.js', array('jquery'), '', false);
Replace with:
wp_enqueue_script('cookiecontrol', plugins_url( 'js/cookieControl-6.1.min.js', dirname( __FILE__ ) ), array('jquery'), '', false);
If you would be willing to put the plugin code on GitHub or a similar version control website, I’ll gladly send you some pull requests with these and other fixes.
Hope this helps!
Smile,
Juliette
Cookie control v2.1 seems to have failed for me after upgrading to 3.7 onwards of WordPress.
All worked well up untill then but now the control appears, then when it is acknowledged it disappears and can’t be seen anywhere – I have it set for the bottom left of screen.
Any ideas? Our site is https://www.kdpes.co.uk
Thanks for a great plugin by the way!
Roger B
]]>Hi,
I have a licence API but can’t find where to remove the text/button ‘About this tool’.
Can you please help!
]]>Hi Guys
Installed the Cookie control plugin – configured it got my API from civic but can’t get it to show or work can anyone help.
URL of site is https://www.hasslefreefinance.co.uk
Thanks
Tim
]]>Hi
Our cookie pop up has stopped working, I have configured the backend and added an api key but it still didn’t show?
Thanks
Kat
]]>Hi,
I’d like to report 2 small fixes which IMHO should be necessary:
1) you can only set LEFT or RIGHT as position; setting bottom, for instance, results in a Javascript error on page load;
2) it would be great if we could also translate the “read more about our privacy policy” string.
Thanks very much,
Marco
Hi, I updated the plugin yesterday and it stopped working.
I already obtained an API key, but nothing changed.
The website url is: https://www.birreriasummano.it.
Is there anything I can do? Is it a bug, or a misconfiguration of mine?
Thank you very much for this plugin,
Marco
Hi everybody,
I upgraded to the latest version 1.21, but now the Cookie Control isn’t showing. I see in the source of the page that it is loaded, but nothing happens. I do have the api key.
I tried it on another site of mine too, but the same happens. Nothing there.
What is the matter?
This is my site: https://www.secretsistersblog.com/
Just update to Version 2.1 and my entire Admin area color scheme changed to orange/yellowy color affecting some widgets, links and active themes/plugins.
It seems like CSS intended for the new settings page is applied across the Admin area instead of only just the page it was intended for.
]]>I downgrade to version 1.5 and work fine.
Links on my dashborad are orange and the plugin not work.
I wait to version 2.2
Thanks
“Privacy Policy” and “Read more” is not translatable..
you should make this translatable, either in plugin settings (best solution !) or via the way WordPress & other plugins handle this (.po/.mo)…
]]>My Website is https://www.ubeca.co.uk/?page=ads . After loading page it’s get a blank page automatic.
I was tried to de-active my plugins and i found that when i de-active https://www.ads-software.com/plugins/cookie-control/ this plugins My website running ok.
What is the problem and how can a solve that???
]]>Hello!
Translation isn’t working, Ewout made a change in the plugin for support it, but only translate a little part.
Any help would be appreciated, by Ewout too ??
Best.
]]>The plugin works on all browsers but on Chrome it is intermittent, sometimes I see lots of text load for milli seconds before page loads then when page loads no cookie warning. Tried clearing browser settings, re installing plugin but problem remains
]]>How to do that guests also have seen this message?
and how to do that the message will automatically was showing?
Hi,
For next update, I suggest some options for configure link to ‘Privacy Page’; rel=”nofollow”, target=”_blank”, etc.
]]>Hi,
Could you add id="eu_cookie_notify"
on the element that contains everything, so browser plug-ins could discreetly inform the user about cookies by displaying small icon instead?
Regards,
Pawe?
Is it possible to block the cookies that the Disqus comment tool places?
]]>Hey guys, I love this plugin and have it working fine on 3 of my websites. However on one site, as soon as its activated it crashes.
I have disabled all plugins one by one (bar easy columns), but if the cookie control is activated then the load flickers and then blank screen. I cannot replicate it on any of my other sites, yet i’m using the same plugins
Any ideas – site address is integra@[email protected] (remove the @)
At the mo the plugin isnt activated as I need to keep the site live. but I can switch it on and let people see for short periods
]]>We have a website setup with multisite to manage multiple languages. After installing the plugin through the network dashboard and configuring the plugin it just doesn’t work. It does not show.
Anybody else experience this and could possibly help?
]]>I’v got the follwing problem after installing cookie control on my website
https://www.madebyluth-webdesign.nl
It does not want to show and in the source-code is mentioned:
<script type=”text/javascript” src=”https://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js”></script>
I have also installed SEO by Yoast and Google Analytics.
My wp-theme is Apex
Maybe someone has a solution?
For this moment I have to deactivate the plugin otherwise my site is not visable.
]]>Both plugins I like and are easy to work with yet they don’t work together. Installing the two together means that FlexyTalk (FT) seems to override the Cookie Control (CC) button. I assume one is high jacking the JS of the other but I cannot find it. To make things slightly more complicated the behavior varies in different browsers.
This page (https://fernleafconsulting.co.uk/FLWP/live-chat/) has a custom template and should be the only one where FT is visable. But you will see CC icon is removed from other pages. [note: This is true in Safari but in Chrome the CC icon disappears and reappears depending on the state of FT]
]]>