Page 2 of 2

Re: IP address in the comments

Posted: Wed Aug 28, 2024 3:43 am
by fraenkiman
This update anonymizes the visitor's IP address.
The advantage is that you don't have to change the whole core and you can continue to use the Akismet Antispam service because at least a fake IP can be provided.

For IPv4 addresses, the last 2 blocks are zeroed.

Code: Select all

VERSION|fp-1.4.dev|NAME|John Doe|CONTENT|test text|IP-ADDRESS|192.168.0.0|DATE|1724809450|
IPv6 addresses are replaced by a hash generated from the user agent and browser language. This gives the visitor a fake IPv6 address.

Code: Select all

VERSION|fp-1.4.dev|NAME|John Doe|CONTENT|test text|IP-ADDRESS|bcb7:e5f3:573d:1c07:3768:5a87:c5e8:fadd|DATE|1724809831|
This means that IP addresses are still used in FlatPress, but they can no longer be assigned to the visitor.
Optionally, the anonymization of the IP can be deactivated in the admin area (configuration panel).
The update contains all 13 languages

PLEASE create a backup before overwriting the previous files!

Best regards
Frank

Re: IP address in the comments

Posted: Thu Aug 29, 2024 6:05 pm
by fraenkiman
The two files for the Asmin area were not in the correct directory. Therefore here again the corrected update.