Jump to content

Download: (Pav32) Post History


Pavulon87

Recommended Posts

Posted

File Name: (Pav32) Post History
File Submitter: Pavulon87
File Submitted: 20 Oct 2011
File Updated: 19 Mar 2012
File Category: Hooks and Plugins

This modification allows you to log posts editing.
Each edition is saved in a database for subsequent review or restore it.
You can view the differences between consecutive editions.
Old editions are systematically deleted.


Also availble on: http://forum.invisio...2-post-history/

Click here to download this file

  • Replies 53
  • Created
  • Last Reply
Posted

As I said at invisionize.pl, excellent mod. :)

For anyone who is wondering, you can turn off systematic deletion if you want by disabling the relevant system task. This wasn't mentioned in the description at the time of writing.

  • 3 weeks later...
Posted

Notable Bug!

The "History" button disappears on a post if there is a post before it in the thread that is in-line "soft deleted" (i.e. using the "Remove From View" option).

Example:
POST 1 (edited) - history button appears
POST 2 (soft-deleted)
POST 3 (edited) - history button disappears

Therefore it can be a hassle to determine if there are post edits (or to view said post edits) for a post that has soft-deleted posts preceding it.

Please fix!

Posted

Just to say that I have now fixed the bug I was having and I also fixed +++'s bug with soft deleted posts.

It took quite a re-write of the button hook, so I cant post it up very easily. Pavulon87, maybe you can PM me and I will send you the modified version + explanation.

Posted

Another bug I have just noticed while confirming the above.



Whenever I reply with quick reply, the ajax loaded post shows "History (2)"




Yeah, I noticed that as well.

Also, this is not a bug, but I would really like for the author to consider this:

In the previous version, since the "History" button was on the bar at the top of the post instead of its current location, it was possible to click on that button for soft-deleted posts as well.

However, in the current version, while a post is soft-deleted, the button does not appear.

So if you could also keep the button in for soft-deleted posts, such that post edit histories may also be viewed for posts while they are soft-deleted, that would be fantastic. Thanks.
Posted

The problem with soft deleted posts is that the hook point doesn't exist. So it would mean either a setting to move it completely or a lot of coding to vary the hook point for soft deleted posts. I will take a look though.

Posted

Hi Pavulon, just a quick request, could you add an additional class to the <ul class="post_controls"> thats wrapped around the history button for soft deleted posts?

e.g. <ul class="post_controls post_history">

It looks kinda screwy in the skin im using, so I need to add some css rules.

Thanks.

Posted

Hi Pavulon, just a quick request, could you add an additional class to the <ul class="post_controls"> thats wrapped around the history button for soft deleted posts?



e.g. <ul class="post_controls post_history">



It looks kinda screwy in the skin im using, so I need to add some css rules.



Thanks.



Done.


How do I re-import the hook?



Just install it one more time without uninstalling.

ACP > Applications & Modules > Manage Hooks > Install a New Hook > Install

  • 4 weeks later...
  • 2 weeks later...
Posted

I think that it's rather an idea of the new hook than new feature.




ahh, given your knowledge on this current hook, I didn't know if it could be added as a feature or whether you would be able to write a new hook for "save draft post/pm" ?

I know a few people would be interested :)

regards
Richard
  • 2 weeks later...
Posted

Hiya

Is this compatible with 3.2.3? For some reason, I can't see the history button at all, although I've followed the installation and configuration instructions. The button just isn't there, even in the default skin.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...