Audit Trail Plugin

Oct 31, 2006 | Tags: , , | Written by Administrator

Audit Trail is a plugin to keep track of what is going on inside your blog. It does this by recording certain actions (such as who logged in and when) and storing this information in the form of a log. Not only that but it records the full contents of posts (and pages) and allows you to restore a post to a previous version at any time.

To summarize:

  • Log of user actions inside your blog - useful for finding out who did what in a multi-user system
  • Post/page revisions and restorations - every change to a post or page is recorded and can be instantly restored to a previous version
  • Differences are shown graphically
  • Extensible, allowing other plugins the ability to add and display items in the Audit Trail
  • Ability to track registered user page visits
  • Fully localized

Version History

  • 1.0.10 - Only include prototype on AT pages
  • 1.0.9 - WP 2.5 compatability
  • 1.0.8 - Show log items according to blog timezone offset
  • 1.0.7 - Fix favicon.ico logs, ignore certain users, track failed login attempts
  • 1.0.6 - Fix warning, allow searching by username

Installation

The plugin is simple to install:

  1. Download audit-trail.zip
  2. Unzip
  3. Upload audit-trail directory to your /wp-content/plugins directory
  4. Go to the plugin management page and enable the plugin

You can find full details of installing a plugin on the plugin installation page.

NOTE: If you are upgrading from a pre 1.0 version please de-activate and then re-activate the plugin. This will upgrade your database tables (unfortunately any existing Audit Trail data will be lost).

Usage

Once the plugin is installed then your actions are already being recorded. You can view the Audit Trail log from the Manage/Audit Trail page.

Log

Note that some entries in the log can be clicked and will expand to show more details.

Post & Page history

The Audit Trail plugin records the entire post everytime it is changed. This can then be used to provide a version history along with the capability of restoring a post to a previous version through this interface which appears on appropriate posts:

Previous versions

Usage is simple. Select the version you wish to view, click the 'view' button and examine the contents of the post. From here you choose to restore this version, delete it, or close the contents.

Restoring a post to a previous version will be recorded in the Audit Trail logs just like any other change. If you decide you don't like the restored version you can always restore back to another version.

NOTE: Installing the Audit Trail plugin in a blog with existing posts will mean that you have no revision history until a post has been changed at least twice (there is no log before the plugin, and there is little point allowing a restoration to the same version as is currently live)

Options

From the options page you can configure exactly what actions are audited. Any plugins that support Audit Trail will also display themself here.

Permissions

Users with the 'edit_plugins' or 'audit_trail' capability can view and administer the Audit Trail plugin. The 'audit_trail' capability can be added with the Role Manager plugin.

Support

Please direct all support questions to the Audit Trail support forum. Any support questions left on this page may not be answered.

Bugs & New Features

A full list of all bugs can be found in the Audit Trail issue tracker.

A full list of all requested features can be found in the Audit Trail feature tracker.

Share This

Comments (page 5 of 10)

  1. Scott :

    Aug 21, 2007 10:23 pm

    My plugin installation appears to be broken at a basic level. I installed on a site with existing posts, then edited a post a few separate times. When I go to view one of the previous versions, I select it from the dropdown menu and when the view button is pushed, nothing happens. Using Firefox 2.0.0.6, error console shows audit_view not defined.

  2. John (author) :

    Aug 21, 2007 2:19 am

    Dialoin, fixed in 1.0.5

    Pysc, you don't need the Role Manager plugin. No one else has reported this problem so its likely to be specific to your installation. Try the latest version and if you still can't save options then send me details of your host

  3. diaolin :

    Aug 11, 2007 3:27 am

    I have configured it with expires set to 0 (zero) but i t resets every months the statistics....

    Any hint????

    Diaolin

  4. author
    Psyc :

    Aug 8, 2007 9:01 am

    Hi, I'm not getting any results from the plugin even when I make repeated changes to posts and pages. I think it might have to do with the "change options" settings; when I check the appropriate boxes and hit "save options", it erases all my checks but adds one to "check for new updates"...I thought maybe it had to do with permissions, but I'm the admin, would I still need Role Manager? I'm a beginner so I do apologize if this is a silly question!

  5. author
    Manne :

    Jul 30, 2007 10:53 am

    John: 10 versions are enough, the problem is that when you reverse the order you'd like to see the 10 most recent versions/edits, not just the 10 first ones

  6. author
    nero :

    Jul 25, 2007 3:09 am

    hi

    thanks for the nice plugin, very useful and so far not using up any resources.

    i was wondering if i can disable the tracking of certain users or ips, like my account (admin) i don't need to see my own movements, is it possible to filter that?

    thanks agin

  7. John (author) :

    Jul 23, 2007 10:29 pm

    Manne, yes that's intentional to stop too many entries being shown. Do you need more than 10?

  8. author
    Manne :

    Jul 10, 2007 8:42 am

    When displaying versions in ascending date order, only the first 10 versions are shown which means that any version after nr 10 can not be viewed.

  9. John (author) :

    Jun 29, 2007 12:31 am

    Brian, try version 1.0.4

  10. author
    Brian :

    Jun 18, 2007 5:01 pm

    I like this very much, but I find that when I use the admin-ssl plugin with the audit-trail plugin the "view" feature for previous versions does not work (shows the animated progress icon but nothing happens). When I go and deactivate the admin-ssl plugin everything works again. I'd like to have both secure logins and the audit trail working.

Leave a comment


XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Home | Software | Terms & Conditions | Sitemap | John Godley © 2008
Close
E-mail It