registered users unable to delete their own topics

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco
Contact:

Re: registered users unable to delete their own topics

Post by 3Di »

warmweer wrote: Wed Oct 20, 2021 8:59 pm Added: apparently the time limit doesn't apply to Admins.
Obvioulsy as per

Code: Select all

	// If moderator removing post or user itself removing post, present a confirmation screen
	if ($force_delete_allowed || ($is_soft && $force_softdelete_allowed) || $auth->acl_get("m_$perm_check", $forum_id) || ($post_data['poster_id'] == $user->data['user_id'] && $user->data['is_registered'] && $auth->acl_get("f_$perm_check", $forum_id) && $post_id == $post_data['topic_last_post_id'] && !$post_data['post_edit_locked'] && ($post_data['post_time'] > time() - ($config['delete_time'] * 60) || !$config['delete_time'])))
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
timelessbeing
Registered User
Posts: 157
Joined: Fri Jul 02, 2010 9:27 pm

Re: registered users unable to delete their own topics

Post by timelessbeing »

stevemaury wrote: Wed Oct 20, 2021 9:06 pm Use a real user, not a testuser.
For troubleshooting intents and purposes, testuser is an actual user in my database which is exhibiting the symptoms of the issue I am describing. So why does it matter? What is the difference between my testuser and a "real" user?
User avatar
timelessbeing
Registered User
Posts: 157
Joined: Fri Jul 02, 2010 9:27 pm

Re: registered users unable to delete their own topics

Post by timelessbeing »

stevemaury wrote: Wed Oct 20, 2021 9:06 pm If the registered users group has a No permission for something, but a member of that group has a Yes user permission for the same thing, the mask will show Yes,
And if the mask shows YES then the function should work.
User avatar
warmweer
Jr. Extension Validator
Posts: 11234
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium
Contact:

Re: registered users unable to delete their own topics

Post by warmweer »

timelessbeing wrote: Wed Oct 20, 2021 9:15 pm And if the mask shows YES then the function should work.
No!
If the mask shows YES, it means that the total permission calculated on the permission settings ONLY is YES, and that means ONLY the total permission calculated.

You'll find the same behaviour with editing posts:
Limit editing time: Limits the time available to edit a new post. Setting the value to 0 disables this behaviour.
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
User avatar
timelessbeing
Registered User
Posts: 157
Joined: Fri Jul 02, 2010 9:27 pm

Re: registered users unable to delete their own topics

Post by timelessbeing »

3Di wrote: Wed Oct 20, 2021 7:06 pm What's the Limit deleting time in ACP->post settings->posting?
Finally somebody who knows what they're talking about!

It was set to 1440 minutes. Sure enough, I made a fresh post and delete buttons was there.
I changed it to 0 minutes, and I was able to delete the old post too, but the setting now applies for the entire site.


OK now I need to figure out how to make this forum specific. Be back soon ...
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco
Contact:

Re: registered users unable to delete their own topics

Post by 3Di »

timelessbeing wrote: Wed Oct 20, 2021 10:39 pm OK now I need to figure out how to make this forum specific.
There are specific forum permissions for groups and/or single users.
As long as the Limit deleting time remains zeroed.
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
timelessbeing
Registered User
Posts: 157
Joined: Fri Jul 02, 2010 9:27 pm

Re: registered users unable to delete their own topics

Post by timelessbeing »

Generally across the site, all registered users should have a time limit for deleting their own post.
Just in this one forum, they need to be able to be able to delete any time.


It seems like such a normal requirement to have. Is there really no way to do this?

Does the studio extension support this?
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco
Contact:

Re: registered users unable to delete their own topics

Post by 3Di »

timelessbeing wrote: Wed Oct 20, 2021 11:40 pm Generally across the site, all registered users should have a time limit for deleting their own post.
Just in this one forum, they need to be able to be able to delete any time.


It seems like such a normal requirement to have. Is there really no way to do this?

Does the studio extension support this?
Time limit is shared, both for edit or delete actions.

What my extension does is written on the tin. And yes, it is on a per forum basis.

If you have specific requests you can ask for an extension to be made for free or paid for, your choice.
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
timelessbeing
Registered User
Posts: 157
Joined: Fri Jul 02, 2010 9:27 pm

Re: registered users unable to delete their own topics

Post by timelessbeing »

So to confirm, there's no way to do what I described with phpBB out of the box?

How do I suggest improvements, because this kind of control seems like a big shortcoming to me?
User avatar
timelessbeing
Registered User
Posts: 157
Joined: Fri Jul 02, 2010 9:27 pm

Re: registered users unable to delete their own topics

Post by timelessbeing »

3Di wrote: Wed Oct 20, 2021 7:14 am You can use this extension to bypass core's logic: [CDB] UDP - Unlimited Soft Deletion
I'm unable to install it. I think it is not compatible with phpBB 3.3.5
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26505
Joined: Fri Aug 29, 2008 9:49 am

Re: registered users unable to delete their own topics

Post by Mick »

timelessbeing wrote: Thu Oct 21, 2021 4:28 amHow do I suggest improvements
The easiest is post an idea.
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
User avatar
warmweer
Jr. Extension Validator
Posts: 11234
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium
Contact:

Re: registered users unable to delete their own topics

Post by warmweer »

timelessbeing wrote: Thu Oct 21, 2021 8:14 am I'm unable to install it. I think it is not compatible with phpBB 3.3.5
Did you read phpBB 3.3.x installation instructions?

Disclaimer: not tried it myself
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
User avatar
timelessbeing
Registered User
Posts: 157
Joined: Fri Jul 02, 2010 9:27 pm

Re: registered users unable to delete their own topics

Post by timelessbeing »

I did not see that. Thank you.
Why does the author spend time typing out instructions instead of just updating the extension?
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26505
Joined: Fri Aug 29, 2008 9:49 am

Re: registered users unable to delete their own topics

Post by Mick »

Maybe there are mitigating circumstances, you should ask the author.
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
Post Reply

Return to “[3.3.x] Support Forum”