[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!
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)
Bruce Banner
Registered User
Posts: 1383
Joined: Thu Sep 25, 2014 10:36 am

Re: [3.3][BETA] Anonymous Posts

Post by Bruce Banner »

Should also probably mention that with your extension enabled, as well as getting that huge error message, I'm still able to post in topics that have reached the maximum number of replies and been "locked". I'm not told the topic is full and to post in the next iteration of it as I should be. Don't have that problem, though, with your extension disabled.
User avatar
Toxyy
Registered User
Posts: 964
Joined: Mon Oct 24, 2016 3:22 pm
Location: Namek

Re: [3.3][BETA] Anonymous Posts

Post by Toxyy »

Bruce Banner wrote: Fri Mar 29, 2024 1:39 pm You're welcome. Any luck fixing the issue?
Did some changes, it looks like I've fixed it. The problem is that by using submit_post directly, not all of the data was modified as I use a lot of events in posting.php and that function is in functions_posting.php. I duplicated the event posting_modify_submit_post_before (in posting.php) and stripped some info from it, then put what I was able to modify within modify_submit_post_data, and it seems to be working. The only "problem" is that since a new topic is being created, the anonymous index resets, and the new poster has an anonymous index of 1. That isn't that big of an issue, considering that any new people posting would also have their anonymous indices reset, because the previous topic id isn't being stored anywhere except in the message itself (and while I could parse it' that's not reliable IMO), so I'm fine with that.

I did find an interesting bug in that extension though, I disabled all extensions except New Topic After Posts, and if you quote someone, you're able to get past the set limit. Unsure if Tatiana will fix that ever. I think that anonymous data should still be fine, though.

Though that bug is good because I don't have to do a lot of checking and have a more code in the extra event that would never be utilized, so no checking for notification info being scrubbed, etc etc.

I'll do some more testing to make sure that it's all working properly and all data is anonymized as it should be, then I'll push that to the github. I wanted to add another feature or two to the extension that was mentioned in this topic previously before I officially release a new version, though. I'll quote you in this topic when I push the update for the compatibility fix so you can get a notification.
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
Bruce Banner
Registered User
Posts: 1383
Joined: Thu Sep 25, 2014 10:36 am

Re: [3.3][BETA] Anonymous Posts

Post by Bruce Banner »

That's great. Thanks for all the hard work. And thanks for letting me know about that bug in Tatiana's extension. I hadn't tried quoting a post before. Good luck. :D
User avatar
ssl
Registered User
Posts: 1979
Joined: Sat Feb 08, 2020 2:15 pm
Location: Le Lude, Pays de la Loire - France
Name: Fred Rimbert

Re: [3.3][BETA] Anonymous Posts

Post by ssl »

Toxyy wrote: Sun Mar 31, 2024 5:01 am I did find an interesting bug in that extension though, I disabled all extensions except New Topic After Posts, and if you quote someone, you're able to get past the set limit. Unsure if Tatiana will fix that ever. I think that anonymous data should still be fine, though.
You can report this bug in the topic dedicated to the extension: viewtopic.php?t=2590876
Sorry for my English ... I do my best! :anger_right:

:point_right_tone3: phpBB: 3.3.13 | PHP: 8.3.9
:point_right_tone4: [Kill spam on phpBB] - [Some French translation of extensions]
"Mistress, Mistress someone is bothering me in pm"
User avatar
Toxyy
Registered User
Posts: 964
Joined: Mon Oct 24, 2016 3:22 pm
Location: Namek

Re: [3.3][BETA] Anonymous Posts

Post by Toxyy »

ssl wrote: Sun Mar 31, 2024 6:51 pm You can report this bug in the topic dedicated to the extension: viewtopic.php?t=2590876
I'm aware I just didn't feel like it at the time :lol:
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
Toxyy
Registered User
Posts: 964
Joined: Mon Oct 24, 2016 3:22 pm
Location: Namek

Re: [3.3][BETA] Anonymous Posts

Post by Toxyy »

Bruce Banner wrote: Sun Mar 31, 2024 4:54 pm That's great. Thanks for all the hard work. And thanks for letting me know about that bug in Tatiana's extension. I hadn't tried quoting a post before. Good luck. :D
I've cleaned up the code and tested everything that you can with that extension enabled, looks good to me.

I'll be pushing another update (version 0.12.0) sometime soon(ish), want to look into another case of anonymizing and implementing some other features people talked about in this topic. In any case, this update should fix your compatibility issues (and likely other possible compatibility issues with other extensions that use submit_post to affect existing posts.. not sure how many there are, if any others, that do that).
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
Bruce Banner
Registered User
Posts: 1383
Joined: Thu Sep 25, 2014 10:36 am

Re: [3.3][BETA] Anonymous Posts

Post by Bruce Banner »

Toxyy wrote: Mon Apr 01, 2024 12:36 am I've cleaned up the code and tested everything that you can with that extension enabled, looks good to me.
Great, cheers! :D
User avatar
nou nou
Registered User
Posts: 673
Joined: Sat Oct 29, 2016 8:08 pm

Re: [3.3][BETA] Anonymous Posts

Post by nou nou »

Hello there!

Been testing the extension - very cool. For some reason the posting_editor_subject_before doesn't work, may well be a conflict with another extension I have, but posting_editor_topic_icons_after worked fine so I went with that...

Two things I wanted to flag - one is that if you have the Thanks for Posts extension installed, the Thanks counter is still displayed in the author info block, so you can track who the anonymous user is that way... :)

And another one, which is probably not something that's an easy fix - is that if you ever disable the extension in the future, the original posters become visible...
User avatar
Toxyy
Registered User
Posts: 964
Joined: Mon Oct 24, 2016 3:22 pm
Location: Namek

Re: [3.3][BETA] Anonymous Posts

Post by Toxyy »

nou nou wrote: Thu May 02, 2024 7:11 pm For some reason the posting_editor_subject_before doesn't work, may well be a conflict with another extension I have, but posting_editor_topic_icons_after worked fine so I went with that...
Can you show me what you mean and tell me which extensions you have installed?
nou nou wrote: Thu May 02, 2024 7:11 pm Two things I wanted to flag - one is that if you have the Thanks for Posts extension installed, the Thanks counter is still displayed in the author info block, so you can track who the anonymous user is that way... :)
Thanks, I'll look into it.
nou nou wrote: Thu May 02, 2024 7:11 pm And another one, which is probably not something that's an easy fix - is that if you ever disable the extension in the future, the original posters become visible...
I can't do anything about this, unfortunately.
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
nou nou
Registered User
Posts: 673
Joined: Sat Oct 29, 2016 8:08 pm

Re: [3.3][BETA] Anonymous Posts

Post by nou nou »

Toxyy wrote: Thu May 02, 2024 7:40 pm Can you show me what you mean and tell me which extensions you have installed?
In short, the checkbox/option to post anonymously doesn't appear in posting_editor_subject_before.html but it does in posting_editor_topic_icons_after.html when I simply rename the file.

I have an absolute ton of extensions installed but the most relevant one is probably QuickReply Reloaded... it's not a big deal really.
Thanks, I'll look into it.
Thank you!
I can't do anything about this, unfortunately.
Thought not but I thought I'd ask :)
User avatar
nou nou
Registered User
Posts: 673
Joined: Sat Oct 29, 2016 8:08 pm

Re: [3.3][BETA] Anonymous Posts

Post by nou nou »

I "fixed" the thanks issue with a simple FORUM_ID if statement in the thanks extension template file - that will do for now :)

I have found some other issues with the extension, though.

When viewing as a normal user, in the forumview, the Last Post information is wrong. In topic where anonymous posting has been used, the Last Post will show AnonymousX as user, even when other users have posted after.

Other extensions circumvent the extension. This one for example that I happen to be testing as well: viewtopic.php?t=2642534

The AI bot replies with the quoted requests will have the original username in the quotes, not the anonymous one.

Same thing happens with extensions such as QuickQuote or QuickReply Reloaded for quoting text from posts. The original username will show. The built-in phpBB one works.
Bruce Banner
Registered User
Posts: 1383
Joined: Thu Sep 25, 2014 10:36 am

Re: [3.3][BETA] Anonymous Posts

Post by Bruce Banner »

Hi. Unfortunately, I've discovered compatibility issues with several other extensions. With the info displayed in miniprofiles by these other extensions, figuring out a poster's identity is easy.

dmzx's Topic Author
imkingdavid's Custom User Title
marttiphpbb's User Topic Count
RMcGirr83's User Posts in a Topic
CaniDev's cBB Reactions
dmzx's Groups in viewtopic
Galandas's Moods
RMcGirr83's Genders
RMcGirr83's Zodiacs
RMcGirr83's National Flags

Return to “Extensions in Development”