Edit Only Your Unanswered Posts

Allows users to edit their posts only if they haven't been replied to
User avatar
Darloup
Posts: 62
Joined: 20 Oct 2016, 18:21
Location: Barranquilla (Colombia)

Re: Edit Last Post Only

Post by Darloup »

OK, then let's work in this.

You can't use "unanswered" because "answer" is only use orally, not in writing. So it's got to be qith "reply", but "unreplied" doesn't exist in English. "Not replied to"? "Without replies"?

It should also mention that this extension refers to the author's posts, if not it may give the wrong impression that a person can edit other members' messages...

And it also should mention that a person can edit ANY of their messages (provided that they are the last ones in the threads and haven't received a reply (replies).

So, what about ?

Edit only author's last posts without replies
Edit only author's last posts without a reply
Edit only member's last posts without replies
Edit only member's last posts without a reply


Henry
User avatar
kasimi
mChat developer
Posts: 1173
Joined: 06 Oct 2016, 09:56
Location: Germany

Re: Edit Last Post Only

Post by kasimi »

I appreciate your commitment. :+1:
Darloup wrote:You can't use "unanswered" because "answer" is only use orally, not in writing.
This isn't quite true, an answer can also be in writing. See the link "Unanswered topics" in phpBB's quick links menu.

Moreover I don't think we need to clarify that it's the author's/member's posts we're talking about because in the description of the extension it clearly states that it is based upon existing edit permissions. It doesn't give users edit permission where they don't have that permission in the first place.

Let me throw this one into the mix: Edit Unanswered Posts Only

I just realised... What happens for moderators that have the Can edit last post only permission set to Yes? I think at the moment they are denied to edit any posts other than their last one as well, i.e. they are treated as regular users, which is a bug. I will look into this when I have more time.
User avatar
Darloup
Posts: 62
Joined: 20 Oct 2016, 18:21
Location: Barranquilla (Colombia)

Re: Edit Last Post Only

Post by Darloup »

Hola kasimi,
Darloup wrote:You can't use "unanswered" because "answer" is only use orally, not in writing.
This isn't quite true, an answer can also be in writing. See the link "Unanswered topics" in phpBB's quick links menu.
It's true that, in current use, both words are interchangeable, but you should wonder it's always : "Answer the 'phone" (and not "reply").

And I haven't even mentioned the word "Respond" ! <ROFL>

Moreover I don't think we need to clarify that it's the author's/member's posts we're talking about because in the description of the extension it clearly states that it is based upon existing edit permissions. It doesn't give users edit permission where they don't have that permission in the first place.
Fair enough.

Edit Unanswered Posts Only
Yes, that's quite nice actually!
I just realised... What happens for moderators that have the Can edit last post only permission set to Yes? I think at the moment they are denied to edit any posts other than their last one as well, i.e. they are treated as regular users, which is a bug. I will look into this when I have more time.
Well, I think the solution is in your question! Moderators shouldn't have the Can edit last post only permission set to Yes!

Best regards,

Henry
User avatar
kasimi
mChat developer
Posts: 1173
Joined: 06 Oct 2016, 09:56
Location: Germany

Re: Edit Last Post Only

Post by kasimi »

There's another special case: what if a user makes two or more consecutive posts?
  1. User A posts
  2. User B posts
  3. User B posts again
Is user B supposed to be able to edit his first post (#2)? Or is his first post considered answered by his second post (#3) and thus not editable?
User avatar
Darloup
Posts: 62
Joined: 20 Oct 2016, 18:21
Location: Barranquilla (Colombia)

Re: Edit Last Post Only

Post by Darloup »

Hello kasimi,

I now think we should stick to the original extension name! After all, it worked perfectly well for many years in the original extension! And if a user wishes to edit one of his posts which is not the last one in the thread (as with your special case above), he will already get anyway the appropriate message that that he can't do so.
User avatar
kasimi
mChat developer
Posts: 1173
Joined: 06 Oct 2016, 09:56
Location: Germany

Re: Edit Last Post Only

Post by kasimi »

Hi Darloup,

I still think the name could be improved but since you're the primary user of the extension so far I'll go with whatever you say. :) There will be an update soon that fixes the issue with missing edit permissions for moderators.
User avatar
Darloup
Posts: 62
Joined: 20 Oct 2016, 18:21
Location: Barranquilla (Colombia)

Re: Edit Last Post Only

Post by Darloup »

Hello kasimi,
True, but this again means that the extension name needs to be changed as well, don't you think?
I think the "problem" lies with the word "last"... Indeed, a poster last message may not be the last one in a thread (if someone has replied to it or if the poster posted a second message). Thus the focus should be on "last message in a thread" which, by definition, will be unanswered since it is the last message in the thread). You should also focus on the fact that it must be the poster's last message in a thread which can be edited - not the last thread messages from other posters.

Thus, to keep it short and sweet, how about: "Edit only one's last thread post"? Or "Edit only own last post in a thread"? Or "Edit last post in a thread"? Or variations with these words...

H.
User avatar
kasimi
mChat developer
Posts: 1173
Joined: 06 Oct 2016, 09:56
Location: Germany

Re: Edit Last Post Only

Post by kasimi »

Posts only exist in the context of a topic. Saying "post in a topic" is redundant I think as the post can't be anywhere but in a topic. By the way, phpBB doesn't have threads.

While I think we're going round in circles, here's another one: Edit Your Unanswered Posts Only.
User avatar
Darloup
Posts: 62
Joined: 20 Oct 2016, 18:21
Location: Barranquilla (Colombia)

Re: Edit Last Post Only

Post by Darloup »

Hola Kasimi,
While I think we're going round in circles, here's another one: Edit Your Unanswered Posts Only.
I tried to find a flaw, but couldn't find one - well done!

Well, perhaps Edit Only Your Unanswered Posts :lol: :lol: :lol:

H.
User avatar
kasimi
mChat developer
Posts: 1173
Joined: 06 Oct 2016, 09:56
Location: Germany

Re: Edit Only Your Unanswered Posts

Post by kasimi »

I have replaced the entire Edit Last Post Only extension with a new one: Edit Only Your Unanswered Posts. Permissions for moderators have also been fixed. As always, you can find the latest version in the first post. :+1:

If you want to keep the permissions that you've set up in the Edit Last Post Only extension, leave it installed during installation of the Edit Only Your Unanswered Posts extension. Previous permissions will be applied to the new extension. After you successfully installed the Edit Only Your Unanswered Posts extension, you can delete the old Edit Last Post Only extension.

Who is online

Users browsing this forum: CCBot [Bot] and 0 guests