XF 1.2 Post Edit History and Logging

Post edit history and logging has been one of the most requested features and it will be a core feature in XenForo 1.2.

Post Edit Logging
Post edit logging is the simpler of the two features. It adds an indication to the post when it has been edited. We have intentionally kept this feature simple for the average user. They have no reason that they have to enter; if they're inclined, they can always include the reason in the message.

We do track the last person to edit the message, but this is not displayed. It could be easily added with an add-on. In most cases, the last edit will be by the owner and the average user likely doesn't care about who edited it. If a moderator needs to know, the history gives much more detailed information.

The edit log can be set to not be displayed if a post is edited in the first X minutes.

So what does this look like on a post?

ss-2013-03-22_11-36-01.webp


Moderators also get a few extra options to control the public log of the edit. Note that these options do not affect the history. This only allows them to suppress the public notice.

ss-2013-03-22_11-36-36.webp


Post Edit History
Post edit history actually keeps all previous versions of a message rather than just an indication that it was edited. This can be used for many things, including handling the "rage-delete" situation, where a user edits all of their content, potentially destroying the flow of many threads.

For developers, it's worth noting that the history system has mostly been developed to be content agnostic. Add-ons can make use of the system and automatically get access to the history and comparison interface.

Whenever a post is edited--even with a "silent" moderator edit--the history is logged. You may have noticed it in the screenshot above, but a history link will appear whenever a post has been edited.

When you click that link, you will have an opportunity to pick two versions to compare and see the actual changes made

Note that the UI I'm demonstrating below is still a work in progress and improvements will be made.

ss-2013-03-22_11-43-27.webp


You can also view the previous version in its raw form with a button to the right (which I didn't include in the screenshot). Options to automatically revert to a previous version may be included.

History data can be set to only be maintained for a specific number of days.
 
The next step were if moderators could simply close a single post, rather than the whole thread, in order to prohibit further editing by the original author. :)

Actually, that might be a very useful tool. Mike, would it be possible to have a Disable Editing tickbox that stops any future editing (with mod/admin override of course!)?
 
Just one thought: W - O - W!

That feature is one of the most important features that were missing until now. Congrats!
 
One question. If i were to need to read reported pc/pm's would it be possible to read back into edited posts there as well?
 
Very good, maybe the option to edit thread titles while inside the thread might be a good welcomed addition in 1.2.
And Calendar.......... :)
 
Wow this was a nice surprise since this is a feature that is normally an addon. Excellent job Mike! You the man.
 
Hi Mike,

Please add a function in the ACP to completely disable this feature. Often features like this are added without the ability to turn them off. I have no need on my forum for this feature and don't want to burden my members with any questions when they edit their messages.

Thank you.
 
We don't include that. It's our own system.
Whow. I'll be impressed . I startet in business developing a HTML Diff Viewer... that's really a very complicated thing with all the Tags and other not relaled informations, that not should be compared.

I look forward to see it in action, and I will take a look inside it. ;)
 
Whow. I'll be impressed . I startet in business developing a HTML Diff Viewer... that's really a very complicated thing with all the Tags and other not relaled informations, that not should be compared.

I look forward to see it in action, and I will take a look inside it. ;)
If Mike and Kier developed the template difference viewer in vBulletin 4 then this shouldn't come as a surprise.
 
Top Bottom