[3.2][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!
Suggested Hosts
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)
User avatar
david63
Jr. Extension Validator
Posts: 12185
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

[3.2][RC] Cookie Policy

Post by david63 » Sun Jan 08, 2017 11:24 am

Extension Name: Cookie Policy
Author: david63

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

Extension Version: [RC] 2.1.0-rc2

Requirements: phpBB 3.2.0

Notes:
  • This is an enhanced version of the core phpBB 3.2 "Cookie notice"
  • This is an update for phpBB 3.2 of my Cookie Policy extension for 3.1
  • This version uses a more reliable database lookup
Features:
  • Block all links from being accessed until the Cookie Policy has been accepted
  • Prevent log-in/registration until the Cookie Policy has been accepted
  • Attempts to only show the cookie acceptance for users with an EU IP address
  • Show the cookie acceptance box on either the index page or all pages
  • Position the cookie acceptance box either on the left or right
  • Show the Cookie Policy page link in the bottom nav bar
  • Customise the cookie acceptance box to suit your board colour scheme
  • Customise the Cookie Policy page colours
New:
  • Added option to have rounded corners on Cookie Policy page
Installation:
  • Download the latest release and unzip it.
  • Upload the unzipped files to root/ext/david63/cookiepolicy and enable it in the ACP
GitHub Repository: https://github.com/david63/david63-cookiepolicy
Extension Download: https://github.com/david63/david63-cook ... ve/3.2.zip
Last edited by david63 on Wed Jan 18, 2017 4:12 pm, edited 1 time 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: 12185
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [3.2][RC] Cookie Policy

Post by david63 » Sun Jan 08, 2017 11:24 am

Reserved
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
HiFiKabin
Community Team Member
Community Team Member
Posts: 1916
Joined: Wed May 14, 2014 9:10 am
Name: James
Contact:

Re: [3.2][RC] Cookie Policy

Post by HiFiKabin » Sun Jan 08, 2017 1:34 pm

Slight error in overall_footer_teamlink_after.html in that the link doesn't point to the cookie info page

Image
image post

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

Re: [3.2][RC] Cookie Policy

Post by david63 » Sun Jan 08, 2017 2:00 pm

Thanks mate :twisted:

I will look into it - later
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

kim902
Registered User
Posts: 39
Joined: Wed Nov 09, 2016 5:49 pm

Re: [3.2][RC] Cookie Policy

Post by kim902 » Sun Jan 08, 2017 4:09 pm

3.2 has this built in now see cookie settings in acp.
Hardest thing in life is accepting some one else has done it better.

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

Re: [3.2][RC] Cookie Policy

Post by david63 » Sun Jan 08, 2017 4:18 pm

kim902 wrote:
Sun Jan 08, 2017 4:09 pm
3.2 has this built in now see cookie settings in acp.
I am well aware of that but this extension "goes further" and, in my opinion, does not coply with the Cookie Law. Not only that currently it does not work.
david63 wrote:
Sun Jan 08, 2017 11:24 am
This is an enhanced version of the core phpBB 3.2 "Cookie notice"
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: 12185
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [3.2][RC] Cookie Policy

Post by david63 » Sun Jan 08, 2017 4:32 pm

HiFiKabin wrote:
Sun Jan 08, 2017 1:34 pm
Slight error in overall_footer_teamlink_after.html in that the link doesn't point to the cookie info page
Fixed in next version - only a minor typo :D :D
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
HiFiKabin
Community Team Member
Community Team Member
Posts: 1916
Joined: Wed May 14, 2014 9:10 am
Name: James
Contact:

Re: [3.2][RC] Cookie Policy

Post by HiFiKabin » Sun Jan 08, 2017 4:45 pm

david63 wrote:
Sun Jan 08, 2017 4:32 pm
HiFiKabin wrote:
Sun Jan 08, 2017 1:34 pm
Slight error in overall_footer_teamlink_after.html in that the link doesn't point to the cookie info page
Fixed in next version - only a minor typo :D :D
Thought so, thanks David

newbeetle91
Registered User
Posts: 15
Joined: Sun May 21, 2006 6:15 pm
Name: Philippe
Contact:

Re: [3.2][RC] Cookie Policy

Post by newbeetle91 » Sat Jan 14, 2017 4:32 pm

Hi,
Using this extension on 3.1.10 on a live forum and I am testing 3.2.0 on another domain

On a new installed forum, the colors are like on the picture and modified parameters for cookie box or cookie page are not used.

Cookie box background is transparent

Image

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

Re: [3.2][RC] Cookie Policy

Post by david63 » Sat Jan 14, 2017 9:56 pm

Is the style that you are using 3.2 compatible?
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

newbeetle91
Registered User
Posts: 15
Joined: Sun May 21, 2006 6:15 pm
Name: Philippe
Contact:

Re: [3.2][RC] Cookie Policy

Post by newbeetle91 » Sun Jan 15, 2017 9:43 am

Hi,

I am using a fresh french install of phpBB 3.2 with Prosilver and all extensions disabled but Cookie Policy

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

Re: [3.2][RC] Cookie Policy

Post by david63 » Sun Jan 15, 2017 9:59 am

Can you try using English - just to check if it is a language problem
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

newbeetle91
Registered User
Posts: 15
Joined: Sun May 21, 2006 6:15 pm
Name: Philippe
Contact:

Re: [3.2][RC] Cookie Policy

Post by newbeetle91 » Sun Jan 15, 2017 10:43 am

Same thing in English withe Firefox, IE11 and Edge connected or not.

I will try to install a fresh English version.

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

Re: [3.2][RC] Cookie Policy

Post by david63 » Sun Jan 15, 2017 10:53 am

Can you provide a link to your board (PM if you would prefer)
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

newbeetle91
Registered User
Posts: 15
Joined: Sun May 21, 2006 6:15 pm
Name: Philippe
Contact:

Re: [3.2][RC] Cookie Policy

Post by newbeetle91 » Sun Jan 15, 2017 11:01 am

123-newbeetle.com

Same with a English version

In the page source:

Code: Select all

<script>
		var acceptText			= '\x5B\x20I\x20accept\x20\x5D';
		var cookieBoxBdColour	= 'FFFF8A';
		var cookieBoxBdWidth	= '1';
		var cookieBoxBgColour	= 'AB64CC';
		var cookieBoxHrefColour	= 'FFFFFF';
		var cookieBoxTxtColour	= 'CEFF1A';
		var cookieClass			= 'cookie\x2Dbox\x20rightside';
		var cookieExpires		= '0';
		var cookieLink			= 'Cookie\x20Policy';
		var cookieText			= 'This\x20board\x20uses\x20cookies\x20to\x20give\x20you\x20the\x20best\x20and\x20most\x20relevant\x20experience.\x20To\x20use\x20this\x20board\x20this\x20means\x20that\x20you\x20need\x20accept\x20the\x20policy.\x3Cbr\x20\x2F\x3E\x3Cbr\x20\x2F\x3EYou\x20can\x20find\x20out\x20more\x20about\x20the\x20cookies\x20used\x20by\x20clicking\x20the\x20\x22Cookie\x20policy\x22\x20on\x20the\x20main\x20page\x20or\x20the\x20link\x20below.\x3Cbr\x20\x2F\x3E\x3Cbr\x20\x2F\x3E';
		var cookiePage			= '\x2Fapp.php\x2Fcookiepolicy\x2Fpolicy\x3Fsid\x3Dd0db27baf73e97df12f896f353ae478f';
		var phpbbCookieName		= 'phpbb3_a235u';
</script>
On a working site (not mine):

Code: Select all

<script>
		var acceptText			= '[ I accept ]';
		var cookieBoxBdColour	= '#FFFF8A';
		var cookieBoxBdWidth	= '1';
		var cookieBoxBgColour	= '#00608f';
		var cookieBoxHrefColour	= '#ffffff';
		var cookieBoxTxtColour	= '#dbdb00';
		var cookieClass			= 'cookie-box rightside';
		var cookieExpires		= '0';
		var cookieLink			= 'Cookie Policy';
		var cookieText			= 'This forum uses cookies to give you the best and most relevant experience. By using this forum this means that you accept this policy.<br /><br />You can find out more about the cookies used by clicking the \"Cookie policy\" on the main page or the link below.<br /><br />';
		var cookiePage			= '/app.php/cookiepolicy/cookiepage?sid=ae360494982d243886221b4f45afb487';
		var phpbbCookieName		= 'phpbb3_7nf5hs';
</script>
Last edited by newbeetle91 on Sun Jan 15, 2017 12:12 pm, edited 1 time in total.

Post Reply

Return to “Extensions in Development”

Who is online

Users browsing this forum: Chrono, martec, protomorph and 29 guests

cron