|
Re: Disable editing after reply [message #23348 is a reply to message #23345] |
Sun, 13 March 2005 15:04 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
if you set it to a very small value like 1 (minute) you will effectively prevent people from editing their own messages.
FUDforum Core Developer
|
|
|
|
Re: Disable editing after reply [message #23353 is a reply to message #23352] |
Sun, 13 March 2005 19:08 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
It's a matter of opinion and the requirments of a particular installation. Some admins don't want to have their users to be able to edit message period, other want to allow users the freedom to modify their responses at any time and there are of course people like yourself that want a particular mix.
FUDforum Core Developer
|
|
|
|
Re: Disable editing after reply [message #23373 is a reply to message #23370] |
Mon, 14 March 2005 15:35 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Just because some other forums implement a certain feature does not mean FUDforum has to do it as well. As it stands now, I see no need for it, but if the general user base sees a value in this functionality and they indicate it via this thread (or other threads) I will re-evaluate the situation.
That said, I would definately encourage you to write a patch for this thing and post it in the "Code Hacks" forum, so those who do want the functionality can gain it by applying a simple patch.
FUDforum Core Developer
|
|
|
|
Re: Disable editing after reply [message #23383 is a reply to message #23382] |
Mon, 14 March 2005 21:05 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Your patch does not quite reflect the functionality we've discussed. Given your patch it would not be possible to edit a message once any other message had been posted in the topic, even though that message may not be a reply to the message being edited.
To do a proper check would actually require executing a query based on thread_id and reply_to fields of the threads table.
FUDforum Core Developer
|
|
|
Re: Disable editing after reply [message #23390 is a reply to message #23383] |
Tue, 15 March 2005 05:33 |
Anonymous
|
|
|
|
At first, I've considered doing an extra select. However, the provided solution is close enough and will have the desired effect without adding too much overhead. Nothing wrong with a bit of lateral thinking, or is there?
Best regards.
Frank
|
|
|
|
Re: Disable editing after reply [message #23399 is a reply to message #23390] |
Tue, 15 March 2005 15:31 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Anonymous wrote on Tue, 15 March 2005 00:33 | At first, I've considered doing an extra select. However, the provided solution is close enough and will have the desired effect without adding too much overhead. Nothing wrong with a bit of lateral thinking, or is there?
Best regards.
Frank
|
It certainly a possible solution, I am merely indicating that the original description does not quite match the actual code. And that may be an important note for people seeking to apply the patch.
FUDforum Core Developer
|
|
|
Re: Disable editing & deleting after reply [message #24089 is a reply to message #23373] |
Thu, 14 April 2005 18:46 |
|
Wild_Cat
Messages: 144 Registered: November 2002 Location: Odessa, Ukraine
Karma: 0
|
Senior Member |
|
|
I did encounter once a problem (in a release of about 2 years ago) when the user simply put x instead of all his messages making all replies inconsistent. Now if I set a time limit for editing, I must also disable the ability to delete own messages for everybody in protection against such "not constant minds".
So I also think that the suggested functionality plus such a blocking of deletion of just replied messages (not for all users & any messages) would be much useful.
Lady of Avalon
|
|
|