[3.3][BETA] Anonymous Posts

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!
Scam Warning
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)
BF79
Registered User
Posts: 522
Joined: Fri Feb 13, 2015 1:28 pm
Name: Fouad B

Re: [3.3][BETA] Anonymous Posts

Post by BF79 »

I want to change Anonymous by unknown .... where to edit ?

thanks guys
User avatar
Toxyy
Registered User
Posts: 966
Joined: Mon Oct 24, 2016 3:22 pm
Location: Namek

Re: [3.3][BETA] Anonymous Posts

Post by Toxyy »

BF79 wrote: Sun Oct 01, 2023 3:25 pm I want to change Anonymous by unknown .... where to edit ?

thanks guys
That should be here in the common language file:

https://github.com/toxyy/anonymousposts ... on.php#L21
I am a web developer/administrator, specializing in forums. If you have work you need done or are too lazy to do, pm me!

Some of my extensions:
[3.3][BETA] Post Form Templates || [3.3][BETA] Anonymous Posts || [3.2][3.3][BETA] ACP Merge Child Forums || [3.2][BETA] Sticky Ad || [3.2][DEV] User Delete Topics || [3.3][DEV] Moderate While Searching || [3.3][RC] Short Number Twig Extension
BF79
Registered User
Posts: 522
Joined: Fri Feb 13, 2015 1:28 pm
Name: Fouad B

Re: [3.3][BETA] Anonymous Posts

Post by BF79 »

Toxyy wrote: Sun Oct 01, 2023 11:32 pm
BF79 wrote: Sun Oct 01, 2023 3:25 pm I want to change Anonymous by unknown .... where to edit ?

thanks guys
That should be here in the common language file:

https://github.com/toxyy/anonymousposts ... on.php#L21
thanks bro :)
User avatar
max-ima
Registered User
Posts: 105
Joined: Mon Mar 07, 2022 8:52 am

Re: [3.3][BETA] Anonymous Posts

Post by max-ima »

Translated into Slovenian, but it does not go to Github: Uploads are disabled.
User avatar
Toxyy
Registered User
Posts: 966
Joined: Mon Oct 24, 2016 3:22 pm
Location: Namek

Re: [3.3][BETA] Anonymous Posts

Post by Toxyy »

max-ima wrote: Wed Oct 04, 2023 8:08 am Translated into Slovenian, but it does not go to Github: Uploads are disabled.
As far as I know pull requests should work just fine.
I am a web developer/administrator, specializing in forums. If you have work you need done or are too lazy to do, pm me!

Some of my extensions:
[3.3][BETA] Post Form Templates || [3.3][BETA] Anonymous Posts || [3.2][3.3][BETA] ACP Merge Child Forums || [3.2][BETA] Sticky Ad || [3.2][DEV] User Delete Topics || [3.3][DEV] Moderate While Searching || [3.3][RC] Short Number Twig Extension
User avatar
max-ima
Registered User
Posts: 105
Joined: Mon Mar 07, 2022 8:52 am

Re: [3.3][BETA] Anonymous Posts

Post by max-ima »

Pull request creation failed. Validation failed: must be a collaborator
User avatar
Toxyy
Registered User
Posts: 966
Joined: Mon Oct 24, 2016 3:22 pm
Location: Namek

Re: [3.3][BETA] Anonymous Posts

Post by Toxyy »

Slovenian PR has been added to the master branch of the github, so Slovenian is now supported (only on the master branch for now).
I am a web developer/administrator, specializing in forums. If you have work you need done or are too lazy to do, pm me!

Some of my extensions:
[3.3][BETA] Post Form Templates || [3.3][BETA] Anonymous Posts || [3.2][3.3][BETA] ACP Merge Child Forums || [3.2][BETA] Sticky Ad || [3.2][DEV] User Delete Topics || [3.3][DEV] Moderate While Searching || [3.3][RC] Short Number Twig Extension
User avatar
aamot
Registered User
Posts: 77
Joined: Fri May 20, 2005 11:16 am
Location: Norway

Re: [3.3][BETA] Anonymous Posts

Post by aamot »

This is really interesting,
I have a religious community, which should have a forum, but there are some special issues that come into the picture;
GDPR.
What is GDPR? The EU's General Data Protection Regulation (GDPR) is the strongest privacy and security law in the world. This regulation updated and modernized the principles of the 1995 Data Protection Directive.1. sep. 2022
https://www.consilium.europa.eu/en/poli ... egulation/

If possible, it should be like this: Username is not displayed
for other than mod and admin.
Everyone else sees "Member".
But there might well be a checkbox in the profile where you can choose "show profile name" - e.g. "Member" or "John Doe".
(Then you make the choice yourself - within the GDPR legislation.).
This solution may be of interest to many today,
as many people don't really want to come forward with their names on everything they write,
at the same time mod and admin MUST see who has written, should situations arise where "law and order" is actualized.

If this can be developed, I would be happy to beta test the functions!

Friendly regards, Asbjørn.
Norway
Asbjorn Aamot, Norway
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26874
Joined: Fri Aug 29, 2008 9:49 am

Re: [3.3][BETA] Anonymous Posts

Post by Mick »

There’s a large topic on the subject of GDPR here: viewtopic.php?t=2473146
  • "The more connected we get the more alone we become” - Kyle Broflovski© 🇬🇧
User avatar
aamot
Registered User
Posts: 77
Joined: Fri May 20, 2005 11:16 am
Location: Norway

Re: [3.3][BETA] Anonymous Posts

Post by aamot »

Mick wrote: Fri Nov 10, 2023 2:16 pm There’s a large topic on the subject of GDPR here: viewtopic.php?t=2473146
Thanks !
I'll look in to it !

Regards, Asbjørn
Asbjorn Aamot, Norway
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26874
Joined: Fri Aug 29, 2008 9:49 am

Re: [3.3][BETA] Anonymous Posts

Post by Mick »

Most users on phpBB boards use nicknames anyway so there’s no way anyone could fathom out a persons private information from that.
  • "The more connected we get the more alone we become” - Kyle Broflovski© 🇬🇧
User avatar
aamot
Registered User
Posts: 77
Joined: Fri May 20, 2005 11:16 am
Location: Norway

Re: [3.3][BETA] Anonymous Posts

Post by aamot »

Mick wrote: Fri Nov 10, 2023 2:25 pm Most users on phpBB boards use nicknames anyway so there’s no way anyone could fathom out a persons private information from that.
Yeah, I know.
And since the user HAS to see the first infopage and accept the terms, when register, they grant us the right to handle their personal info.
So, one has to go into the languagefile, and add these GDPR claims, telling that without accses and storage of IP adresses, username/nick, and email adresses, it is impossible to use the forum as other than a guest.
So when the user agrees, and enter username etc, they have already accepted the terms, and the forum owner has the right to use this info.
But the forum owner does not have the right to share email and IP to others.
Username, real name or nick, is shared by the forum, and I want this anonymous posting as a way to stop that for registered users.
Of course, hacking might be an issue, but putting that reservation also in the terms, we should be safer for any hacking issues.

A
Asbjorn Aamot, Norway
User avatar
halil16
Registered User
Posts: 1453
Joined: Fri Jul 24, 2020 11:30 pm
Location: Turkiye
Name: Halil

Re: [3.3][BETA] Anonymous Posts

Post by halil16 »

A feature like this can be added: A link called "Anonymize Topic" can be added to topic tools to later anonymise all messages of the topic owner in that topic.

Click > Anonymize Topic
Popup > All your posts on topic will be anonymized and will no longer be yours.
Yes or No
Buy me a coffee ☕
Hire me for your phpBB board. 🚩
Introducing Mobile Upgrade! *Make your phpBB board like an app! 📱
O BeldeThatTowns*for sale*$2250 🛒
"The day we'll need ideas more than possessions, we'll find the secret to true wealth." - Peyami Safa /peˈjɑːmi saˈfɑː/
User avatar
Toxyy
Registered User
Posts: 966
Joined: Mon Oct 24, 2016 3:22 pm
Location: Namek

Re: [3.3][BETA] Anonymous Posts

Post by Toxyy »

aamot wrote: Fri Nov 10, 2023 1:27 pm If possible, it should be like this: Username is not displayed
for other than mod and admin.
Everyone else sees "Member".
But there might well be a checkbox in the profile where you can choose "show profile name" - e.g. "Member" or "John Doe".
(Then you make the choice yourself - within the GDPR legislation.).
This solution may be of interest to many today,
as many people don't really want to come forward with their names on everything they write,
at the same time mod and admin MUST see who has written, should situations arise where "law and order" is actualized.

If this can be developed, I would be happy to beta test the functions!

Friendly regards, Asbjørn.
Norway
This is already how the extension works, except its currently just controlled when you post. When posting, you can select the checkbox "Post Anonymously":
Image

Which will remove your username from the posts page (and last posted column in the viewtopics, viewforums, index, searches, and notifications if you quoted somebody):
Image
Image
Image

Though mods/admins have access to see who it actually was:
Image

Anonymous posts are counted toward the user's overall postcount, but when searching for a user's posts, they will not appear. As far as I know, all information available to other members about that anonymous post is scrubbed for all users except the actual poster and admins. The only exceptions to this would be extensions that show info like this, but I already have included support the recent topic and normal and special ranks extension.

I will consider adding a user profile setting to automatically check that button, but if I do end up doing that, keep in mind that you'll still have to set up forums and permissions to allow anonymous posting. The only thing the setting would do would be to automatically check the button when making a topic or replying, you'll still have to set up everything else as normal.
halil16 wrote: Fri Nov 10, 2023 3:14 pm A feature like this can be added: A link called "Anonymize Topic" can be added to topic tools to later anonymise all messages of the topic owner in that topic.

Click > Anonymize Topic
Popup > All your posts on topic will be anonymized and will no longer be yours.
Yes or No
I could do this as well, but the problem with that is that the topic already exists and people could have seen it. Just because you anonymize your information in the future doesn't mean that members won't remember or know who made the topic or replied in it, especially if they reference that member by name. If I were to refer to you as halil right now, that would be essentially impossible to scrub. I believe that changing the anonymous status of a post automatically updates notifications accordingly, and possibly quotations as well, it's been a while since I've tested it, so I don't think I'll have to do super extensive work to get that done other than hooking into the code I've already made for it.

Unsure if or when I'll develop these features, but thanks for the recommendations.
I am a web developer/administrator, specializing in forums. If you have work you need done or are too lazy to do, pm me!

Some of my extensions:
[3.3][BETA] Post Form Templates || [3.3][BETA] Anonymous Posts || [3.2][3.3][BETA] ACP Merge Child Forums || [3.2][BETA] Sticky Ad || [3.2][DEV] User Delete Topics || [3.3][DEV] Moderate While Searching || [3.3][RC] Short Number Twig Extension
User avatar
aamot
Registered User
Posts: 77
Joined: Fri May 20, 2005 11:16 am
Location: Norway

Re: [3.3][BETA] Anonymous Posts

Post by aamot »

On a 3.3.11 forum with several ext's I tried this beta.

But got :
Fatal error: Unparenthesized `a ? b : c ? d : e` is not supported. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /customers/5/d/0/paran.no/httpd.www/discuss/ext/toxyy/anonymousposts/driver/driver.php on line 115

And it was stuck.

But editing driver.php around line 115 ( // out the sub's code)

Code: Select all

	$old_index = $new_index = 0;
		//while ($row = $this->db->sql_fetchrow($result))
		//{
		//	$old_index = is_null($row['old_index']) ? 0 : $row['old_index'];
			// redundancy to ensure NO anon 0s... too critical of a bug.
		//	$new_index = ($row['new_index'] === 0) ? 1 : is_null($row['new_index']) ? 1 : $row['new_index'];
		//}
		//$this->db->sql_freeresult($result);
		return (($old_index > 0) ? $old_index : [u]$old_index[/u]);
	}
I got back so much control that I could remove it from the forum.

Regards, Asbjørn
Asbjorn Aamot, Norway

Return to “Extensions in Development”