Page 42 of 43

Re: [3.2][RC] Privacy Policy

Posted: Mon Aug 05, 2019 1:36 am
by </Solidjeuh>
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."

Re: [3.2][RC] Privacy Policy

Posted: Mon Sep 09, 2019 12:58 pm
by heinrich_k
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.

Re: [3.2][RC] Privacy Policy

Posted: Wed Sep 18, 2019 2:47 pm
by davye
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.

Re: [3.2][RC] Privacy Policy

Posted: Wed Sep 18, 2019 4:06 pm
by davye
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.

Re: [3.2][RC] Privacy Policy

Posted: Tue Sep 24, 2019 9:16 pm
by GoBieN
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.

Re: [3.2][RC] Privacy Policy

Posted: Tue Oct 15, 2019 11:06 pm
by robbie787
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.

Re: [3.2][RC] Privacy Policy

Posted: Wed Oct 16, 2019 7:35 am
by kasimi
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);

Re: [3.2][RC] Privacy Policy

Posted: Wed Oct 16, 2019 10:25 am
by robbie787
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.

Re: [3.2][RC] Privacy Policy

Posted: Wed Oct 16, 2019 10:53 am
by robbie787
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.

Re: [3.2][RC] Privacy Policy

Posted: Wed Oct 16, 2019 11:53 am
by mrgoldy
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' %}

Re: [3.2][RC] Privacy Policy

Posted: Wed Oct 16, 2019 1:56 pm
by david63
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.

Re: [3.2][RC] Privacy Policy

Posted: Wed Oct 16, 2019 3:04 pm
by robbie787
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.

Re: [3.2][RC] Privacy Policy

Posted: Wed Oct 23, 2019 9:15 am
by bw99
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!

Re: [3.2][RC] Privacy Policy

Posted: Sat Nov 23, 2019 10:18 am
by Moondrake
Hallo David,

i have a solution for my problem with the configuration page.
If I disable JavaScript in the browser for my site, the config page is shown and I can do all the configuration i want to do,

I don't know if this is a problem on my client (but i think so) or a server problem.

Mfg
Moondrake

Re: [3.2][RC] Privacy Policy

Posted: Fri Nov 29, 2019 5:37 pm
by hurghanico
Hi, I don't know if the reason for the following problem is due to the reinstallation done today on my board using the complete 3.2.8 package (but I guess so) .. my board: https://allabouthd500x.altervista.org

During the above update process I did the error to erase the ext folder, but then I recopied all the extensions which I had before back into it.

Currently everything seems to work well except the "re-check all versions" of the extensions function which, like before the reinstallation, still does not work as it should and as it did before updating to 3.2.8, but the fact that worries me most, ie that now if I try to change the settings of the Privacy Policy extension I get the following:

""Fatal error: Uncaught exception 'phpbb\exception\version_check_exception' with message 'VERSIONCHECK_FAIL' in /membri/allabouthd500x/allabouthd500x/phpbb/version_helper.php:406 Stack trace: #0 /membri/allabouthd500x/allabouthd500x/phpbb/version_helper.php(354): phpbb\version_helper->get_versions(false, false) #1 /membri/allabouthd500x/allabouthd500x/phpbb/version_helper.php(273): phpbb\version_helper->get_versions_matching_stability(false, false) #2 /membri/allabouthd500x/allabouthd500x/phpbb/extension/manager.php(598): phpbb\version_helper->get_ext_update_on_branch(false, false) #3 /membri/allabouthd500x/allabouthd500x/ext/david63/privacypolicy/core/functions.php(71): phpbb\extension\manager->version_check(Object(phpbb\extension\metadata_manager)) #4 /membri/allabouthd500x/allabouthd500x/ext/david63/privacypolicy/controller/acp_manage_controller.php(161): david63\privacypolicy\core\functions->version_check() #5 /membri/allabouthd500x/allabouthd500x/ext/david63/privacypolicy/acp/privacypolicy_module.php(27): david63\priva in /membri/allabouthd500x/allabouthd500x/phpbb/version_helper.php on line 406""

I also tried to restore the backup of all phpBB tables but the problem remained.
I tried also to disable the PP extension, clear its data, and enable it again, but to no avail.

Cloudflare caching is and was disabled (developer mode).

What can I do to solve this issue?