[3.2][RC] Privacy 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)
User avatar
</Solidjeuh>
Registered User
Posts: 1732
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm
Contact:

Re: [3.2][RC] Privacy Policy

Post by </Solidjeuh> » Mon Aug 05, 2019 1:36 am

iorG19 wrote:
Tue Jul 16, 2019 9:18 pm
I just install and activate the extension and i have this screen all the time
Image
Help me please 🙏
I don't see an image.

"This website is currently not available. Please try again later. Thank you."

heinrich_k
Registered User
Posts: 202
Joined: Fri Jul 17, 2009 11:40 am

Re: [3.2][RC] Privacy Policy

Post by heinrich_k » Mon Sep 09, 2019 12:58 pm

Haven't installed it yet but was thinking it would profit from an additional function, while reading the feature list.

It would be nice, if one could specify a time period, like a year, and if the extension would then add jobs to phpBBs job system to mask IP addresses in the database - additionally to those mentioned in the features list.

After a year of absence, one wouldn't need the IP of a users last login.
A year after a user logs in and thereby triggers a 'delete old posts routine' I wouldn't need his IP in the logs anymore
Heck, I even don't need my own IP in the logs for accessing the ACP anymore.

So, I guess for all database fields containing IPs could be masked right from the start or after a while.

User avatar
davye
Registered User
Posts: 20
Joined: Mon Aug 19, 2019 12:49 pm

Re: [3.2][RC] Privacy Policy

Post by davye » Wed Sep 18, 2019 2:47 pm

phpBB 3.2.7
privacypolicy-3.2

bugs:
1. After
Reset policy acceptance: YES
get error "There are no registered paths for namespace "" in "policy_accept.html" at line 19."
can't get to ACP and can't log in
had to manually clear phpbb cache and clear browser cache and remove extension from DB

2. Enable the Privacy policy: disable
Enable the Cookie policy: disable
Show privacy/cookie policy: YES
policies link show up but polices not shown when clicked
Which is Contrary to "you can have a privacy/cookie policy without the need to have the acceptance box."

Critique:
1. Block all links including ACP and Requiring policies to access ACP are bad ideas
The rational is that the admin will not report their own site to EU for not having GDPR.

User avatar
davye
Registered User
Posts: 20
Joined: Mon Aug 19, 2019 12:49 pm

Re: [3.2][RC] Privacy Policy

Post by davye » Wed Sep 18, 2019 4:06 pm

phpBB 3.2.7
privacypolicy-3.2

Another bug:
1. the select file should only list files for the selected language
it shows file for every language in the drop down all with same name

Critique:
1. Policy Files Editor, Select language drop down shows languages installed for board
should show only languages installed for extension

Rational: If the UCP has not been translated in the files
  • ucp_privacypolicy.php
  • privacypolicy.php
  • info_ucp_privacypolicy.php
  • common_privacypolicy.php
then it makes no sense to just translate the policies.

User avatar
GoBieN
Registered User
Posts: 543
Joined: Fri Mar 05, 2004 5:22 pm
Location: Belgium
Contact:

Re: [3.2][RC] Privacy Policy

Post by GoBieN » Tue Sep 24, 2019 9:16 pm

Rational: If the UCP has not been translated, then it makes no sense to just translate the policies.
I disagree.
I'm lazy and haven't translated the UCP options. But I did translate the policy content.

robbie787
Registered User
Posts: 16
Joined: Fri Sep 13, 2019 12:53 pm

Re: [3.2][RC] Privacy Policy

Post by robbie787 » Tue Oct 15, 2019 11:06 pm

Error: "There are no registered paths for namespace "" in "policy_accept.html" at line 19."

Is there a fix for this error for 3.2.7 yet? It locked me out of my forum and had to disable the extension manually as well as clear cache manually.

User avatar
kasimi
Extension Customisations
Extension Customisations
Posts: 3936
Joined: Sat Sep 10, 2011 7:12 pm
Location: Germany
Contact:

Re: [3.2][RC] Privacy Policy

Post by kasimi » Wed Oct 16, 2019 7:35 am

This line should be:

Code: Select all

return $this->helper->render('@david63_privacypolicy/policy_accept.html', $this->language->lang('POLICY_ACCEPT'));
and this line should be:

Code: Select all

return $this->helper->render('@david63_privacypolicy/cookie_body.html', $output_name);

robbie787
Registered User
Posts: 16
Joined: Fri Sep 13, 2019 12:53 pm

Re: [3.2][RC] Privacy Policy

Post by robbie787 » Wed Oct 16, 2019 10:25 am

kasimi wrote:
Wed Oct 16, 2019 7:35 am
This line should be:

Code: Select all

return $this->helper->render('@david63_privacypolicy/policy_accept.html', $this->language->lang('POLICY_ACCEPT'));
and this line should be:

Code: Select all

return $this->helper->render('@david63_privacypolicy/cookie_body.html', $output_name);
Enter the codes you just mention and now it is coming up with the following error.

There are no registered paths for namespace "" in "@david63_privacypolicy/policy_accept.html" at line 19.

robbie787
Registered User
Posts: 16
Joined: Fri Sep 13, 2019 12:53 pm

Re: [3.2][RC] Privacy Policy

Post by robbie787 » Wed Oct 16, 2019 10:53 am

YES! I found a fix. The key was in the error

in path /styles/all/template/privacy_policy.html on (line 19)

Code: Select all

{% INCLUDEJS '@' ~ NAMESPACE ~ '/remove_url.js' %}
Remove_url.js was not properly declared somewhere in the extension. So I made a copy of remove_url.js and put it in the phpbb asset directory in javascript folder. Changed the code to this.

Code: Select all

{% INCLUDEJS T_ASSETS_PATH ~ '/javascript/remove_url.js' %}
And it fixed the problem. All working fine since. The .js file can load correctly.

User avatar
mrgoldy
Jr. Extension Validator
Posts: 1178
Joined: Tue Oct 06, 2009 7:34 pm
Location: The Netherlands
Name: Gijs
Contact:

Re: [3.2][RC] Privacy Policy

Post by mrgoldy » Wed Oct 16, 2019 11:53 am

It looks like the NAMESPACE variable is not defined.
What you should do instead, instead of using the approach you did, is the following:

Change line 19 in styles/all/template/cookie_body.html to:

Code: Select all

{% INCLUDEJS '@david63_privacypolicy/remove_url.js' %}

User avatar
david63
Registered User
Posts: 16661
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [3.2][RC] Privacy Policy

Post by david63 » Wed Oct 16, 2019 1:56 pm

robbie787 wrote:
Wed Oct 16, 2019 10:53 am
in path /styles/all/template/privacy_policy.html on (line 19)
I don't know which version you are using but in the latest version there is no privacy_policy.html file.
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 as they will be ignored

robbie787
Registered User
Posts: 16
Joined: Fri Sep 13, 2019 12:53 pm

Re: [3.2][RC] Privacy Policy

Post by robbie787 » Wed Oct 16, 2019 3:04 pm

I downloaded the latest version from github. Since I changed that JS location it works like a dream. I am making some amends to it to make it look better. It does a great job and completes the gdpr regulation with the other extension where users can delete their profile and data. I have combined them both.

bw99
Registered User
Posts: 9
Joined: Sat Sep 07, 2019 2:51 pm

Re: [3.2][RC] Privacy Policy

Post by bw99 » Wed Oct 23, 2019 9:15 am

Thank you, David - this is a great plugin!

One tiny question. I don't think I'm going to bother getting user cookie approval - the cookie law seems like a lame duck to me - but I wouldn't mind having some overt text about cookies, just with no need for approval. I thought that your plugin provides that - there is this option:
Show privacy/cookie policy:
Setting this to yes will display the nav bar link to the privacy/cookie policy when the Cookie Policy is disabled, i.e. you can have a privacy/cookie policy without the need to have the acceptance box.
However, when I toggle this to on (with the cookie policy disabled as per the instruction above), I can't see that it makes any change to what is displayed to the user. Sorry if I'm being dense.

Many thanks!

Post Reply

Return to “Extensions in Development”