svivian / q2a-edit-history

A Q2A plugin to store post edits
14 stars 4 forks source link
php question2answer question2answer-plugin

Edit History plugin for Question2Answer

This is an event plugin for Question2Answer. It stores all edits to posts, allowing users/admins to see what was changed.

Installation & Usage

  1. Download and extract the files to a subfolder such as edit-history inside the qa-plugins folder of your Q2A installation.

  2. Go to Admin > Plugins and click the link to set up the database.

  3. Under the plugin options, tick the first checkbox to start tracking edits and save. Options for the user level allowed to view edits and time for which two edits are counted as separate (aka 'ninja edit time') can be set here.

  4. Search engine access to the revisions pages is blocked via a noindex meta tag (to prevent duplicate content issues). Optionally, the pages can be blocked using robots.txt as well. Add the following two lines (where qa is your Q2A subfolder if applicable):

    User-agent: *
    Disallow: /qa/revisions/

Version history

1.5:

Note: this version requires a database upgrade.

1.4:

Note: this version requires a database upgrade.

1.3:

1.2:

1.1:

Roadmap (possible future features)

Pay What You Like

Most of my code is released under the open source GPLv3 license, and provided with a 'Pay What You Like' approach. Feel free to download and modify the plugins/themes to suit your needs, and I hope you value them enough to make a small donation.

Donate here