EU Cookie Directive
EU Cookie Directive
Living in the UK, I now need to ask consent for cookies (in Line with the EU Cookie Directive).
1. Has anyone produced one for Serendipity?
2. Is anyone working on one?
3. If neither, can anyone advise how to implement one - there are lots of javascript ones available online
Only the EU could come up with something that sets a cookie to remember that the user doesn't want cookies !!!
Many thanks
Dave
1. Has anyone produced one for Serendipity?
2. Is anyone working on one?
3. If neither, can anyone advise how to implement one - there are lots of javascript ones available online
Only the EU could come up with something that sets a cookie to remember that the user doesn't want cookies !!!
Many thanks
Dave
"Patience is never more important than when you're at the edge of losing it !!"
Re: EU Cookie Directive
Are you sure that the UK made a local law for that? An EU-directive alone is not a law you need to follow.
Last edited by onli on Mon Jun 18, 2012 10:51 pm, edited 1 time in total.
Re: EU Cookie Directive
http://www.h-online.com/news/item/EU-gr ... 17656.html
This tells us a law on the use of browser cookies has come into force in the UK.
We can't be sure about the need for local laws, as even the German "Bundesbeauftragte für den Datenschutz", Peter Schaar, says: "sie gelten prinzipiell seit Mai 2011" ... und er "gehe davon aus, dass sie hierzulande auch ohne gesondertes Umsetzungsgesetz direkt anwendbar sind".
Close the web!
This tells us a law on the use of browser cookies has come into force in the UK.
We can't be sure about the need for local laws, as even the German "Bundesbeauftragte für den Datenschutz", Peter Schaar, says: "sie gelten prinzipiell seit Mai 2011" ... und er "gehe davon aus, dass sie hierzulande auch ohne gesondertes Umsetzungsgesetz direkt anwendbar sind".
Close the web!
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Re: EU Cookie Directive
Yep, it applies to all the EU, including the UK - although there are a couple of variations in the UK, mainly regarding 'implied' consent. There's also lotsa companies making 'big bucks' out of doing cookie audits implementing scripts, etc.
I've got an 'ok' javascript one that works OK on html websites, and also a friend has written one for glFusion which would probably work on Serendipity, but I don't know where to insert the script.
Perhaps someone - or even one of the devs - could point me in the right direction !!!!
TIA
Dave
I've got an 'ok' javascript one that works OK on html websites, and also a friend has written one for glFusion which would probably work on Serendipity, but I don't know where to insert the script.
Perhaps someone - or even one of the devs - could point me in the right direction !!!!
TIA
Dave
"Patience is never more important than when you're at the edge of losing it !!"
Re: EU Cookie Directive
You have received answers by two s9y devs already. How many do you think you're going to need before you calm down?magic wrote:Perhaps someone - or even one of the devs - could point me in the right direction !!!!
As for the JS version, you can just reference that in yout template's index.tpl. It would be much easier to give you directions on that if you posted the JS code you'd need to insert.
YL
Re: EU Cookie Directive
Hi Yellowled, many thanks for your response ........
Now that I've calmed down (!!!) there's not much in the previous two responses that is of much help, is there ?
Here's the one I'm using on a glFusion site - you can see it in action at http://www.idhsgb.com/web/
This is the one I'd like to use, if it will work on every page ...
Instructions
Code to insert in index.tpl?
Stylesheet code
Many thanks again
Dave
Now that I've calmed down (!!!) there's not much in the previous two responses that is of much help, is there ?
Here's the one I'm using on a glFusion site - you can see it in action at http://www.idhsgb.com/web/
This is the one I'd like to use, if it will work on every page ...
Instructions
Code: Select all
To install it correctly, place the files or the code within, in their
proper places. Follow the example in the header.thtml file and place
the JS file in the proper directory. Place the CSS code in your style.css
file accordingly.
Code: Select all
<!-- ADD THIS TO YOUR HEADER.THTML FILE -->
<!-- THIS SCRIPT BROUGHT YOU BY SPACEQUAD INTERNET SERVICES - PLEASE SEND ALL INQUIRIES TO http://www.spacequad.net/profiles.php?uid=3 -->
<script type="text/javascript" src="http://dev.spacequad.com/javascript/eucookies.js"></script>
<div class="eucookieoptinpanel" id="eucookieoptinpanel" style="visibility:hidden;">
<strong>EU Cookie Law Opt-in</strong>
<br/><br/>
On May 26th 2011 the EU brought into effect a new "Cookie Law". This law requires web-sites to obtain informed consent from visitors before transmitting or requesting information from their web browsing device.
<br/>
This website uses Cookies from Google Analytics and also as part of its content management system. Disabling these Cookies will affect the functionality of this site. For more information to make an informed decision to accept our cookies please see our <a href="/privpol.php">Privacy & Cookies statement</a><br /><br /><strong>You will need to re-enter our URL in your browser bar or a page cannot be found error might popup.</strong>
<br/><br/>
<form action="" method="post" name="eucookieoptinform" id="eucookieoptinform">
<input type="checkbox" id="optin" name="optin" onclick="euoptinhandler(this);"/> <strong>I agree to accept cookies from this site.</strong>
</form>
</div>
<script>eucookiehandler();</script>
<!-- END OF EU-COOKIE SCRIPT -->
Code: Select all
/* Custom Code */
/* Cookie Code */
.eucookieoptinpanel
{
position: fixed;
left: auto;
right: auto;
bottom: 0px;
height:175px;
width: 97%;
color:rgb(255,255,255);
background:rgb(200,0,0);
opacity: 0.95;
text-align:center;
border-top: 2px solid black;
border-bottom: 2px solid black;
}
/* End Cookie Code */
Dave
"Patience is never more important than when you're at the edge of losing it !!"
Re: EU Cookie Directive
Yep, just dump that piece of code in your template's index.tpl. Apparently, this should be placed in the head, so it should be safe to add this right before the closing </head> tag. Then add the stylesheet code at the end of your template's style.css. Don't forget so save both files. Done. (I guess.)magic wrote:Code to insert in index.tpl?
YL
Re: EU Cookie Directive
Better place it right after the <body>, as there is a div as part of the code.
Note that for Germany and probably a lot of other countries, the directive is not a law yet and thus not binding (Schaar has a very strange view of the legal system and his regulatory power, Ian, completely absurd). Therefore, this is something that doesn't affect us yet. Given that it is a very unpleasant and crazy directive, I won't write a single line of code to cope with that. Probably Garvin will take care of that issue as soon as he sees that as a requirement for s9y.
Which should just mean: Help yourself like you are already doing :) After some time, if necessary, we'll offer an option for that.
Note that for Germany and probably a lot of other countries, the directive is not a law yet and thus not binding (Schaar has a very strange view of the legal system and his regulatory power, Ian, completely absurd). Therefore, this is something that doesn't affect us yet. Given that it is a very unpleasant and crazy directive, I won't write a single line of code to cope with that. Probably Garvin will take care of that issue as soon as he sees that as a requirement for s9y.
Which should just mean: Help yourself like you are already doing :) After some time, if necessary, we'll offer an option for that.
Re: EU Cookie Directive
Thanks Yellowled, that has worked perfectly
Dave
Dave
"Patience is never more important than when you're at the edge of losing it !!"
Re: EU Cookie Directive
From what I've read this actually came in 2011, but we all ignored it - and it became effective in all EU states on May 26th 2012. Most of the UK, including government websites haven't implemented it yet though.
Totally agree that it's crazy, ineffective, and just about impossible to monitor anyway - thats the EU bureaucrats for you !!! Curvature on banana's etc; come to mind !!!!
Dave
Totally agree that it's crazy, ineffective, and just about impossible to monitor anyway - thats the EU bureaucrats for you !!! Curvature on banana's etc; come to mind !!!!
Dave
"Patience is never more important than when you're at the edge of losing it !!"
-
- Regular
- Posts: 764
- Joined: Fri Aug 12, 2005 4:36 pm
- Location: Grüt, Zürich, Switzerland
- Contact:
Re: EU Cookie Directive
Hi!
Would it be an option to offer this functionality as plugin?
Cheers
Dirk
Would it be an option to offer this functionality as plugin?
Cheers
Dirk
Re: EU Cookie Directive
Hi DirkLux wrote:Hi!
Would it be an option to offer this functionality as plugin?
Cheers
Dirk
I'm putting this together, and also discussing it with the guy who did the original .js file ... then it will go online 'somewhere'. I'll post back here when it's ready.
Dave
"Patience is never more important than when you're at the edge of losing it !!"
-
- Regular
- Posts: 764
- Joined: Fri Aug 12, 2005 4:36 pm
- Location: Grüt, Zürich, Switzerland
- Contact:
Re: EU Cookie Directive
Great Dave!magic wrote:I'm putting this together, and also discussing it with the guy who did the original .js file ... then it will go online 'somewhere'. I'll post back here when it's ready.
Thanks a lot
Dirk
Re: EU Cookie Directive
Dirk
Not a plugin, more of a file 'hack'.
It's available @ Spacequad Internet Services - http://www.spacequad.net/
You will need to register & login - look in the forums for the 'scripts' board.
Any questions just post here, over there, or PM me
Hope it helps
Dave
Not a plugin, more of a file 'hack'.
It's available @ Spacequad Internet Services - http://www.spacequad.net/
You will need to register & login - look in the forums for the 'scripts' board.
Any questions just post here, over there, or PM me
Hope it helps
Dave
"Patience is never more important than when you're at the edge of losing it !!"
-
- Regular
- Posts: 764
- Joined: Fri Aug 12, 2005 4:36 pm
- Location: Grüt, Zürich, Switzerland
- Contact:
Re: EU Cookie Directive
Thanks!magic wrote:Not a plugin, more of a file 'hack'.
Dirk