[RC] Cookie Policy

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Get Involved
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
Post Reply
User avatar
david63
Jr. Extension Validator
Posts: 11671
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

[RC] Cookie Policy

Post by david63 » Sat Jul 12, 2014 2:34 pm

phpbb3-extension-cookiepolicy

Description:
Adds an option for the user to accept the use of cookies, under EU Cookie Directive (2012), on the forum

Features:
  • Option for all users to accept Cookie Policy
  • Option for only EU users to accept Cookie Policy
  • Option to renew acceptance after 12 months
  • Option to show the Cookie policy page only
  • Ability to customise colours
Status:
1.1.3

Requirements:
phpBB 3.1.2 or later

Installation:
  • Download the latest release and unzip it.
  • Copy the entire contents from the unzipped folder to root/ext/
  • Navigate in the ACP to Customise -> Manage extensions.
  • Find Cookie policy under "Disabled Extensions" and click Enable.
Repository:
https://github.com/david63/david63-cookiepolicy

Author notes:
This extension adds a feature for accepting the EU Cookie Policy directive (2012) to the board.
Last edited by david63 on Sun Nov 22, 2015 9:53 am, edited 7 times in total.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email or as they will be ignored

User avatar
david63
Jr. Extension Validator
Posts: 11671
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [BETA] Cookie Policy

Post by david63 » Sat Jul 12, 2014 2:48 pm

This extension has the options to use some "artificial intelligence" to check on whether the user is from an EU state. This however will never be 100% accurate due to many factors.

The extension uses the IP lookup at http://www.ip-api.com for its information. This lookup is free for non commercial use and has a limit of 240 lookups per minute from an IP address - I could only envisage this being a problem if the board was being heavily spammed.

There are four config settings (found under cookies):
  • Cookie policy = No : Cookie policy not used
  • Cookie policy = Yes : Policy to be accepted for all users
  • Cookie policy = Yes + Detect if cookie is not required = Yes : This will try to detect if the user is not from an EU country and will not display the cookie acceptance box for them but will display it for all others.
  • Cookie policy = No + Detect if cookie is required = Yes : This will try to detect if the user is from an EU country but disable the policy for all other users.
I would be interested in feedback from both EU and non EU countries.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email or as they will be ignored

User avatar
Pico88
Registered User
Posts: 878
Joined: Sat Mar 07, 2009 10:24 pm
Location: Poland
Name: Lukasz

Re: [BETA] Cookie Policy

Post by Pico88 » Sat Jul 12, 2014 3:30 pm

You don't need to load additonal jQuery library. https://github.com/david63/cookiepolicy ... pt.html#L1
Please do not PM me for support.

User avatar
VSE
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 4214
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact:

Re: [BETA] Cookie Policy

Post by VSE » Sat Jul 12, 2014 3:42 pm

You also do not need the effectively_installed() or depends_on() functions in your migration.

Think of it this way:

Do any existing databases out there already have the config setting cookiepolicy_version version 1.1.0? If not you don't need effectively_installed(). This function is mostly intended for migrations that may be implementing DB changes that may already exist from a previous MOD or extension.

Does adding your 6 config vars really depend on phpBB's beta3 migration? Normally, adding configs does not depend on any previous migrations. Depends on should only be needed if the migration file truly has a dependency one one or more other migrations.
Official phpBB Extensions My Extensions & MODs
Please do not PM me for support.
Dictated but not read.

User avatar
david63
Jr. Extension Validator
Posts: 11671
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [BETA] Cookie Policy

Post by david63 » Sat Jul 12, 2014 5:55 pm

Pico88 wrote:You don't need to load additonal jQuery library. https://github.com/david63/cookiepolicy ... pt.html#L1
Agreed - don't know where that file came from - now removed
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email or as they will be ignored

User avatar
david63
Jr. Extension Validator
Posts: 11671
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [BETA] Cookie Policy

Post by david63 » Sat Jul 12, 2014 5:56 pm

VSE wrote:You also do not need the effectively_installed() or depends_on() functions in your migration
Thanks - now removed
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email or as they will be ignored

User avatar
Pico88
Registered User
Posts: 878
Joined: Sat Mar 07, 2009 10:24 pm
Location: Poland
Name: Lukasz

Re: [BETA] Cookie Policy

Post by Pico88 » Sun Jul 20, 2014 9:23 am

After some testing I will suggest to create page for cookies privacy using routing and set cookies privacy link in the footer navbar.
Please do not PM me for support.

User avatar
watisnf.nl
Translator
Posts: 605
Joined: Sat Mar 13, 2010 12:53 pm
Location: The Netherlands
Name: David
Contact:

Re: [BETA] Cookie Policy

Post by watisnf.nl » Sun Jul 20, 2014 5:09 pm

Just downloaded and installed this extention, I found the information I needed in the composer.json. But it might be a idea to add a instillation instruction in the first post like:

Code: Select all

Copy the entire contents from the unzipped folder to [c]phpBB/ext/david63/cookiepolicy/[/c]


And maybe a small how to use guide, like where we can find the ACP module, if there is one :? Because I don't see anything at this point.

Edit

Just found it under Server Configuration >> Cookie settings

Edit

Okay sorry for all the edits, I just checked it out and it looks useful. I was wondering, can it be used without the pop-up box in the right corner? So that we can only use that option on the main page with the information about the cookies?

Personally, I would only use the information page to educate my users. Because if I am not mistaken, I don't have to ask to accept cookies. That because I don't have advertisement or I don't sell things, my might be wrong but I thought that regular forums are free of this rule...
Dutch Translator | Looking for, Dutch extensions translations

User avatar
david63
Jr. Extension Validator
Posts: 11671
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [BETA] Cookie Policy

Post by david63 » Sun Jul 20, 2014 5:52 pm

The ability to add notes/comments in composer is something that is being looked into. I am aware of those issues.
watisnf.nl wrote:Personally, I would only use the information page to educate my users. Because if I am not mistaken, I don't have to ask to accept cookies. That because I don't have advertisement or I don't sell things, my might be wrong but I thought that regular forums are free of this rule...
I admit that I do not know the precise details for all EU countries and in your case you may be right but my understanding is, for all EU countries, that if the site uses cookies in any way whatsoever then you have to ask for the user's permission to store them.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email or as they will be ignored

User avatar
watisnf.nl
Translator
Posts: 605
Joined: Sat Mar 13, 2010 12:53 pm
Location: The Netherlands
Name: David
Contact:

Re: [BETA] Cookie Policy

Post by watisnf.nl » Sun Jul 20, 2014 6:20 pm

david63 wrote:The ability to add notes/comments in composer is something that is being looked into. I am aware of those issues.
I was talking about your first post here on phpbb.com, it would be nice to have some installation instructions there. So people don't have to figure it out themselves, not everyone knows how to install a extension ;)
david63 wrote: I admit that I do not know the precise details for all EU countries and in your case you may be right but my understanding is, for all EU countries, that if the site uses cookies in any way whatsoever then you have to ask for the user's permission to store them.
I didn't want make it a discussion. Let me change my question, I would like to disable the "accept cookie" function and stick with the information "drop down thing" that goes with it. I figured out that I can't do that with the current configuration, but would you like to consider that function?
Dutch Translator | Looking for, Dutch extensions translations

User avatar
david63
Jr. Extension Validator
Posts: 11671
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [BETA] Cookie Policy

Post by david63 » Sun Jul 20, 2014 8:18 pm

watisnf.nl wrote:I was talking about your first post here on phpbb.com, it would be nice to have some installation instructions there. So people don't have to figure it out themselves, not everyone knows how to install a extension ;)
Fair point but extension packaging guidelines have not been published yet and extensions are only for testing. When it comes to the stage when extension are released I feel pretty sure that this will be taken care of.
watisnf.nl wrote:I didn't want make it a discussion. Let me change my question, I would like to disable the "accept cookie" function and stick with the information "drop down thing" that goes with it. I figured out that I can't do that with the current configuration, but would you like to consider that function?
I can look at having an option to leave the policy drop down available but the accept cookie is the whole point of the EU directive and certainly UK legislation.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email or as they will be ignored

User avatar
david63
Jr. Extension Validator
Posts: 11671
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [BETA] Cookie Policy

Post by david63 » Mon Jul 21, 2014 10:44 am

Added option to retain the Cookie policy panel at the bottom of the index page

(Need to re download)
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email or as they will be ignored

User avatar
noth
Registered User
Posts: 2363
Joined: Fri Jan 07, 2005 7:10 pm
Location: North Surrey
Contact:

Re: [BETA] Cookie Policy

Post by noth » Thu Sep 11, 2014 10:00 pm

Nice one David, I would certainly like this for my forums as I am in the EU

although there is still doubt over whether phpBB forums actually come under the EU Cookie Directive (2012) that you quote

nevertheless, as phpBB3 certainly does use cookies I think it would be the responsible thing to do, so thanks for producing this extension, Great Idea!!

User avatar
martti
Registered User
Posts: 391
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [BETA] Cookie Policy

Post by martti » Thu Oct 02, 2014 7:44 am

noth wrote:as phpBB3 certainly does use cookies I think it would be the responsible thing to do, so thanks for producing this extension, Great Idea!!
Cookies that are necessary for the basic working of a site are out of the scope of the EU cookie law. The law applies to storage on the client (could be cookies, Flash cookies, html5 local storage) that tracks the user and is intrusive to the user's privacy. For normal phpbb sessions I would certainly not notify the users, but if you use e.i. Google Analytics, yes.

User avatar
draky
Registered User
Posts: 245
Joined: Tue Dec 10, 2002 2:04 pm
Location: France
Name: Gilles W.
Contact:

Re: [BETA] Cookie Policy

Post by draky » Fri Oct 03, 2014 10:57 pm

Have a demo site ?
To test my country :) (France)
Andt test others with Tor :)

Post Reply

Return to “Extensions in Development”

Who is online

Users browsing this forum: ABDev, Coby24, david63, Dr.Death, Hippie459MN, javiexin, JupiterGPL, koraldon and 24 guests