This extension sets out to add a little extra intelligence to the edit system.
At the moment it does two things:
It stops multi-posting by adding to the author's previous comment instead of creating a new one - if user is last to post in a thread the new post is appended to the end of the existing one
It also resolves problems of old posts being sabotaged by timing out comment editing after a given expiry - deleting posts is not activated for general users by default for a reason, removing editing privileges after a certain amount of time reinforces this
This is all it does for the moment, though it's mandate is to enhance the edit features in a productive way (so make suggestions for new features).
Note: To exempt a user from the timeout or from restrictions on multi-posting, you have to edit their role permissions.
Known issues:
None at present
Version History:
0.1.0b - First Beta
0.1.0 - First Release: Adds ability to set roles which have to append to posts, and that are subject to edit expiry, and to set the expiry time, through the Vanilla settings.
0.1.1 - Tidy up of settings dialogues - provides the ability to disable either timeout or multiposting globally from the settings.
Somehow this extension is disabling the edit function from my members after they have been logged in for the preset time period regardless of if they are trying to edit or not. If I set the timeout to 5 minutes, after logging in for five minutes the edit function disappears.
Is this common or some incompatibility on my forum? Thanks.
I think you misunderstand the functionality, that is all. The timeout is 5 minutes after a post is made/edited. It is irrespective of time since the user logged in. Or do I misunderstand you?
Hmm... I activate the "disable multipost" option and in a day or two it will reset itself. So I have to go back into the settings and click the box and save it again.
Any ideas on why it might do that? Seems strange...
Yes, that was (in my opinion) a welcome byproduct of the extension.
ChadFenwick, I am not sure what is causing the problem you are experiencing... it is probably an issue with your setup or with the Vanilla core, as I set permissions in the standard way. If you can give me any more info I might be able to help.
I *think* this extension is causing havoc with some of my other extensions, but I'm not sure. I noticed the phenomenon where the edit-timeout resets after the someone edits a post, but at the same time, some of my other extension features were reseting as well. My "Contact Form" contact name & email would reset to earlier settings, as well as my "Offline" status. It might be worth noting that these three are all the extensions I'm running on this install that use admin defined settings.
Why would that happen? My only thought is that it has something to do with the extension's "DiscussionForm_PostLoadData()" function. The extension throws up a fatal error is the user tries to access the edit feature after the timeout. Would the fatal error be what's causing this? I noticed the issue after I, as admin, edited someone else's post, a non-exempt user. I didn't see a fatal error, but briefly looking at the extension code, I'm not sure what else would cause the software to reset.
OK, all those extensions just reset themselves again... I'm not sure if one of my users tried edited something or not. I'm disabling the extension, and we'll see if it does the same thing without "Clever Edit".
when a comment is appended to your previous comment, does it reset the users that have read it? (like whether or not it's showed as read for each user) it should behave as if the comment were posted in a new comment, except that it is appended, and it doesn't increase the comment count.