Jump to content

Download: (Pav32) Post History


Pavulon87

Recommended Posts

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

Link to comment
Share on other sites

  • Replies 53
  • Created
  • Last Reply
  • 3 weeks later...

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!

Link to comment
Share on other sites

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.

Link to comment
Share on other sites


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.
Link to comment
Share on other sites

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.

Link to comment
Share on other sites


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

Link to comment
Share on other sites

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

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
Link to comment
Share on other sites

  • 2 weeks later...

Archived

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

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...