• Welcome to Simple Machines Community Forum. Please login or sign up.
December 01, 2021, 08:44:00 AM

News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord


EU Cookie

Started by nikan, May 19, 2013, 02:07:30 AM

Previous topic - Next topic

nikan

May 19, 2013, 02:07:30 AM Last Edit: January 23, 2014, 11:45:46 AM by nikan
Link to Mod

Introduction
The EU Cookie mod displays a floating box in the bottom of the page which informs visitors and members about the use of cookies on the site.

Warning:
Check your local law and make the appropriate changes, to comply with the EU Cookie Law.


Features
* Displays a black semi transparent floating box to visitors and members
* Admins don't see this box

Languages
english
english-utf8
greek
greek-utf8
italian
italian-utf8

History
1.3.1 - Fix for expiration date on Safari (thanks signaleleven)
1.3 - Fix for flash view the notice before being hidden (thanks signaleleven)
      - Added Italian translation (thanks mano82)
1.2 - Added the option to change the notification text
1.1 - Added enable/disable function
      - Added black/white color selection
      - Added option for link of Cookie Policy Page URL
1.0.3 - Better centering position
1.0.2 - Changed the position to bottom center and the text to be more simple
1.0.1 - Changed the information text to be more understandable
1.0    - Initial release

Antechinus

Does it allow them to opt out of cookies?

Colin

It doesn't look like it. To opt out of cookies they would just leave the website.
"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin

Antechinus

Ah. See that doesn't actually help matters much. Strictly speaking, under EU law you're supposed to allow people the option of not accepting cookies.

Colin

Which is, if you look at many other sites that have implemented similar functionality, just redirect you to google if you click no.
"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin

sangham.net

Thanks for sharing such, Nikan. Very thoughtful intention. How could I help to provide a German translation? Can you provide a file, where I could put such into?
Sorry for not knowing how to do yet.


Colin


$txt['eucookie_info'] = 'The setting of cookies on this site is set to "Accept all cookies", to give you the best browsing experience. By continuing to use this site without changing the cookies settings or click on the "Accept" button, then you agree with it.';
$txt['eucookie_accept'] = 'Accept';


"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin

Adrek

Here in Poland, we have to let users know that site is using cookies. In this information is written that they (users) can manage cookie settings in browser settings and that's enough here, don't know how it is in other european countries..  ::)
Polskie wsparcie SMF na simplemachines.org

the simplest solution is most likely the right one

sangham.net

Quote from: Colin on May 19, 2013, 05:27:33 AM

$txt['eucookie_info'] = 'The setting of cookies on this site is set to "Accept all cookies", to give you the best browsing experience. By continuing to use this site without changing the cookies settings or click on the "Accept" button, then you agree with it.';
$txt['eucookie_accept'] = 'Accept';


I assume that this is the main Text.

In "German (Sie)" [formal]

$txt['eucookie_info'] = 'Die Einstellungen für Cookies auf dieser Seite, sind auf "Cookies akzeptieren" gesetzt und dies ermöglicht Ihnen eine angenehme Nutzung des Angebotes hier.  Mit dem Fortsetzen der Nutzung der Seite, ohne die Cookie-Einstellungen zu ändern, oder mit dem Betätigen des "Einverstanden"-Digitalstellknopf, akzeptieren Sie diese Einstellungen.';
$txt['eucookie_accept'] = 'Einverstanden';


In "German (Du)" [in-formal]

$txt['eucookie_info'] = 'Die Einstellungen für Cookies auf dieser Seite, sind auf "Cookies akzeptieren" gesetzt und ermöglicht Dir ein angenehme Nutzung des Angebotes hier.  Mit dem Fortsetzen der Nutzung der Seite, ohne die Cookie-Einstellungen zu ändern, oder mit dem Betätigen des "Einverstanden"-Button, akzeptierst Du diese Einstellungen.';
$txt['eucookie_accept'] = 'Einverstanden';


Antechinus

Quote from: phantomm on May 19, 2013, 05:34:47 AM
Here in Poland, we have to let users know that site is using cookies. In this information is written that they (users) can manage cookie settings in browser settings and that's enough here, don't know how it is in other european countries..  ::)
That's the solution I went for too. I even gave them instructions for how to block cookies on a per site basis, or completely for the entire web, for all the main browsers. I figure that more than meets the intent of the law, even if it doesn't quite meet the wording in every country. The UK authorities require sites to make a "good faith attempt" to comply with the law, which IMO is what we have done.

Colin

Awesome Johann!

That is very nice of you.
"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin

Gryzor

The English test is not quite correct... I'd go for something like this:


"This site uses cookies to give you the best browsing experience. By continuing to use this site, or by clicking on the "Accept" button, you agree to the use of cookies."

Colin

That does seem like cleaner phraesology. Maybe even


"This site uses cookies in order to offer the optimal browsing experience. By continuing to use this site or selecting "Accept" you consent to the use of cookies"
"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin

Gryzor

Yup, even better. But it really needs to be changed, it's quite hard to understand as it is :D

lurkalot

Any way of hiding this permanently for registered members, once they've clicked the accept button? 

It's a great mod, but I can see my members getting annoyed with it.

nikan

June 03, 2013, 03:03:35 PM #15 Last Edit: June 10, 2013, 01:54:18 AM by nikan
*** Please don't abuse this topic with discussion on the law. ***

The purpose of this mod is to inform guests and members that cookie settings of their browser is to allow cookies and the site uses them for better experience. In further, you can create a Cookie Policy page.
Guests and members that accepting this, use cookies and the state is stored there. If they don't use cookies, they will see the message again.

The information text is placed here:
Themes/default/languages/Modifications.{language}.php

sangham.net

Dear Nikan,

The question of lurkalot was:

"Any way of hiding this permanently for registered members, once they've clicked the accept button?"

So will it pop up once more if it is pushed once? I understand his concern and it's really not an abuse as well as laws are for sure the main reason for such a mod.
It's really more that great that you came up with this mod !! and I would not see little side discussions as useless in its regard. If somebody does not care about laws, that mod is at least not really needed (when banner law discussions in regard of the mod, the mod disqualifies itself in some ways, wouldn't it?

Maybe the how and why it pops up needs to be more explained and maybe a little modified (or made modifiable).
As it is a very law issue, its maybe also interesting to make the display text easy changeable so that users can edit it according to their local laws and circumstance (thought on private, company, organization... as well)


impreza

A useful addition, thank you for the
Portal Totemat - artykuły i filmy - treści w postaci artykułów i filmów.

feline

This mod don't suppress the settings of cookies.
So it's not conform with the ECL because if you visit a site, a SMF cookies is set immediate.

You can look on our sites when you see a correct implementation of the ECL  ;)

lurkalot

June 09, 2013, 08:26:30 AM #19 Last Edit: June 09, 2013, 08:41:23 AM by lurkalot
Quote from: feline on June 09, 2013, 08:17:38 AM
This mod don't suppress the settings of cookies.
So it's not conform with the ECL because if you visit a site, a SMF cookies is set immediate.

You can look on our sites when you see a correct implementation of the ECL  ;)

feline, does your notification disappear permanently after clicking the accept button?  If so, what mod are you using? scratch that last question, I see it's built into your portal.  :'(

Advertisement: