We have managed to embed the COOKIE CONSENT system developed by http://www.wolf-software.com, into this "DEMO" site: http://carpclobber.com
Several minor edits, but not too difficult. Though we are TESTING this for any unseen glitches.
We have managed to embed the COOKIE CONSENT system developed by http://www.wolf-software.com, into this "DEMO" site: http://carpclobber.com
Several minor edits, but not too difficult. Though we are TESTING this for any unseen glitches.
Did my post help you fix something? You can show your gratitude by buying the the dev team coffee.
Looks good.
Have you tested it with other languages (that have accents)? I often find they get mangled.
Steve
"Totally Zenned" my a*se!
The whole thing is run by a JS file, into which you write appropriate text strings, so I don't see a problem with other languages.
Just load the LIB folder into the root of the server, then add the header code into your template's html_header.php... and away you go.
The header script calls in jquery from google, so if you are running mods calling in jquery (either from Google or elsewhere), then be sure to place the header script into html_header AFTER jquery is called, and to delete the embedded reference to jquery in the bit of script.
One part I am NOT sure on, is:
SEE: http://jconsent.dev.wolf-software.com/How do I read the cookie ??
In order to be able to delivery consent that uses non essential cookies you need to be able to check if consent has been given!
if ((isset($_COOKIE['wsjconsent_consent'])) && ($_COOKIE['wsjconsent_consent'] == true)) {
//We are allowed to present the feature that requires cookies
// Your code for feature here
} else {
//We are not allowed to present the feature that requires cookies
// Tell the user that they are getting a less-than-perfect experience?
}
Did my post help you fix something? You can show your gratitude by buying the the dev team coffee.
My initial reaction was that it looked like a security warning and might scare people off. But presumably people in the EU will become used to these.
But what about the US, where most of our orders originate? Don't need that scaring people off just yet. Anyway to have it set for EU visitors only? Just a wish.
sph
www.prommart.com
This code has a GeoLocation element. It will display ONLY to visitors in the EU. The GeoLocation can be toggled to "true/false", and apparently does not work behind SSL (yet). Wolf is asking for contributions to help fund a SSL-ready version.
But as core ZC is not SSL on the index page, it should not be a problem.
Did my post help you fix something? You can show your gratitude by buying the the dev team coffee.
Hi,
here http://www.zen-cart.com/showthread.p...icting-cookies
schoolboy posted the system by http://www.wolf-software.com, detailed over here http://jconsent.dev.wolf-software.com/
I tried the two following
# 1:
I put the lib folder in the root, and added this
to templates/MY_TEMPLATE/common/html_header.php right at the end just before </head>Code:<link href="/lib/jconsent/jconsent-default.css" rel="stylesheet" type="text/css" /> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> <script src="/lib/jconsent/jconsent-1.0.1.js"></script> <script type="text/javascript"> $(document).ready( function () { $.ws.jconsent({ displaySettingsSelector: '.displayCookieSettings' }); }); </script>
# 2:
I renamed the following files jconsent-1.0.3.js and jconsent-1.0.3.min.js into
jscript_t_jconsent-1.0.3.js and jscript_t_jconsent-1.0.3.min.js
and put them in templates/MY_TEMPLATE/jscript folder
renamed the jconsent-default.css into style_jconsent-default.css and put it in the templates/MY_TEMPLATE/css folder
In case #1 the slider I have in the header doesn't display, and in case #2 the slider does display, but in both cases the consent script won't display.
What am I doing wrong?
I have a slider in the header using jquery, and the files are in the templates/MY_TEMPLATE/jscript folder.
Site is amberprecious dot com
Thank you
Hello
I've searched the forum to see if this has been answered and I can't find it anywhere.
I've installed Jconsent, a plugin from jconsent.dev.wolf-software.com/ in the hopes it will provide a solution to the EU cookie law issue. I use Google Analytics, AddThis, a little icon to Twitter and YouTube videos onsite and am presuming all or most of these use non-essential cookies?
The bit I'm confused about it how to read the cookie, the quotes below are taken from the webpage in the link provided.
In order to be able to delivery consent that uses non essential cookies you need to be able to check if consent has been given!I'm at a loss as to where to put this, would it go with the code where, for example
PHP
if ((isset($_COOKIE['wsjconsent_consent'])) && ($_COOKIE['wsjconsent_consent'] == true)) {
//We are allowed to present the feature that requires cookies
// Your code for feature here
} else {
//We are not allowed to present the feature that requires cookies
// Tell the user that they are getting a less-than-perfect experience?
}
the AddThis code is and is there an example of the code to put in available?
I think this is a question that will crop up from time time in the future which is
why I started a new thread.
I don't mind paying a reasonable price for the solution, just let me know if that's how it will be
before Europe starts having to cart wheelbarrows full of cash about just to buy a loaf of bread ;)
"reading the cookies" is hardly the correct term.
*You* don't actually "read" the cookies at all.
Instead, you simply would not push to the user any code that sets or uses cookies to perform the functions you would normally ask it to do.
So, your "AddThis" or GA code would go in the section you quoted asie: all the echoing of <script> crap goes in that section. If what you're putting there isn't PHP code then you'll need to end and restart the PHP interpretation with appropriate ?> and <?php statements.// Your code for feature here
And if you wish to add a message saying "less than optimal experience" in the other section, you can do that too.
Thus it would become:The site from which you got the code you quoted has some examples for doing those sorts of things.PHP Code:<?php
if ((isset($_COOKIE['wsjconsent_consent'])) && ($_COOKIE['wsjconsent_consent'] == true)) {
//We are allowed to present the feature that requires cookies
// Your code for feature here
?>
<script junk for addThis crap and Google Analytics crap here>
<?php
} else {
//We are not allowed to present the feature that requires cookies
// Tell the user that they are getting a less-than-perfect experience?
?>
<your custom html or javascript code to display said message here>
<?php
}
?>
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donations always welcome: www.zen-cart.com/donate
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Hi,
I had opened a thread which was merged in the following thread, sorry to repost, but it seems the post is not of interest in the thread.
here http://www.zen-cart.com/showthread.p...icting-cookies
schoolboy posted the system by http://www.wolf-software.com, detailed over here http://jconsent.dev.wolf-software.com/
I tried the two following
# 1:
I put the lib folder in the root, and added this
to templates/MY_TEMPLATE/common/html_header.php right at the end just before </head>Code:<link href="/lib/jconsent/jconsent-default.css" rel="stylesheet" type="text/css" /> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> <script src="/lib/jconsent/jconsent-1.0.1.js"></script> <script type="text/javascript"> $(document).ready( function () { $.ws.jconsent({ displaySettingsSelector: '.displayCookieSettings' }); }); </script>
# 2:
I renamed the following files jconsent-1.0.3.js and jconsent-1.0.3.min.js into
jscript_t_jconsent-1.0.3.js and jscript_t_jconsent-1.0.3.min.js
and put them in templates/MY_TEMPLATE/jscript folder
renamed the jconsent-default.css into style_jconsent-default.css and put it in the templates/MY_TEMPLATE/css folder
In case #1 the slider I have in the header doesn't display, and in case #2 the slider does display, but in both cases the consent script won't display.
What am I doing wrong?
I have a slider in the header using jquery, and the files are in the templates/MY_TEMPLATE/jscript folder.
Site is amberprecious dot com
Thank you
Bookmarks