Announcement

  •  » Requests
  •  » Plugin-Request: Cookie-Opt-In / Opt-Out

#1 2019-10-05 17:43:38

kleiner_Hobbit
Member
Berlin
2017-08-22
67

Plugin-Request: Cookie-Opt-In / Opt-Out

Because of a new judgment in the EU, it is mandatory to show a cookie-opt-in / opt-out (before sending the cookie to the browser!).

I found several websites with code for cookie consent, but I don´t know where to paste this code in Piwigo. It is essential, that the cookie-screen is shown before the cookies are set, so I think it is not ok to put the code in the personal footer ...
And when you change any data with personal code it can be a problem when the template gets an update.

For this reason it would be very nice to have a plugin for this.
I think such a plugin would be very interesting/helpful for a lot of piwigo-users.

I know, the cookie-opt-in is not necessary for the Piwigo session-cookie, because it is a technical cookie, but depending on which plugins you use, it is possible, that third-party-cookies will be set (e.g. Google Maps).

I hope that someone will program such a plugin :-)

Claudia

Offline

 

#2 2020-01-16 00:04:39

Netcie
Member
2017-11-20
19

Re: Plugin-Request: Cookie-Opt-In / Opt-Out

I will try to look into it.

Offline

 

#3 2020-01-16 20:43:18

kleiner_Hobbit
Member
Berlin
2017-08-22
67

Re: Plugin-Request: Cookie-Opt-In / Opt-Out

Thanks!
It would be great to have a plugin for this.

Offline

 

#4 2020-01-17 09:15:50

Zentalquabula
Member
2014-05-10
217

Re: Plugin-Request: Cookie-Opt-In / Opt-Out

No, it's not.

kleiner_Hobbit wrote:

Because of a new judgment in the EU, it is mandatory to show a cookie-opt-in / opt-out (before sending the cookie to the browser!).

Offline

 

#5 2020-01-17 16:33:21

Netcie
Member
2017-11-20
19

Re: Plugin-Request: Cookie-Opt-In / Opt-Out

Offline

 

#6 2020-01-17 16:46:05

kleiner_Hobbit
Member
Berlin
2017-08-22
67

Re: Plugin-Request: Cookie-Opt-In / Opt-Out

Thanks! I will try it within the next days!

Offline

 

#7 2020-01-17 16:48:36

kleiner_Hobbit
Member
Berlin
2017-08-22
67

Re: Plugin-Request: Cookie-Opt-In / Opt-Out

Zentalquabula wrote:

No, it's not.

kleiner_Hobbit wrote:

Because of a new judgment in the EU, it is mandatory to show a cookie-opt-in / opt-out (before sending the cookie to the browser!).

I know, the cookie-opt-in is not necessary for the Piwigo session-cookie, because it is a technical cookie, but depending on which plugins you use, it is possible, that third-party-cookies will be set (e.g. Google Maps).

Offline

 

#8 2020-01-18 11:54:09

kleiner_Hobbit
Member
Berlin
2017-08-22
67

Re: Plugin-Request: Cookie-Opt-In / Opt-Out

Hi Netcie,

thanks again for the plugin, I had now the time to test it.

I think the plugin is not exactly doing what I expected.

As I wrote above "it is mandatory to show a cookie-opt-in / opt-out (before sending the cookie to the browser!)"

I tested the plugin and it shows the banner/text on the bottom of the page.
This looks good. But at this time the cookie is already send to the browser and saved.
So the cookie is set before the user accepts it.

I have no idea how to prevent this ... seems a bit more complicated.

EDIT: I just read in the extension-description, that you are working on it and have mentioned the problem by yourself.
Thanks for that.

I will nevertheless use this plugin simple to show the cookie-information to the users.

Another idea:
It would be good when the user can not only change the URL but can change the words "More Info" as well.

Last edited by kleiner_Hobbit (2020-01-18 12:14:18)

Offline

 

#9 2020-01-18 21:26:49

Netcie
Member
2017-11-20
19

Re: Plugin-Request: Cookie-Opt-In / Opt-Out

"It would be good when the user can not only change the URL but can change the words "More Info" as well."
Has been implemented, see published extension.

The session cookie has been hard-coded in common.inc.php r141 with session_start() as function and also in functions_session.inc.php
I'm not sure how to hook onto these functions.

Offline

 
  •  » Requests
  •  » Plugin-Request: Cookie-Opt-In / Opt-Out

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact