WordPress.org

Ready to get started?Download WordPress

Forums

Simple History
[resolved] Disable Database Clean Up and Show Old Entries (6 posts)

  1. JUP
    Member
    Posted 1 year ago #

    Hi

    Great plugin... But I have a couple of questions...

    Is there anyway to turn this off:
    "Clear log Items in the database are automatically removed after 60 days.."

    And also it's saying that there are only 71 entries but it's only tracking from 10th December 2012... Is there any way to retrieve entries from before this period?

    Thanks

    http://wordpress.org/extend/plugins/simple-history/

  2. JUP
    Member
    Posted 1 year ago #

    Also,

    Is there any way to export the data as a CSV?

    This would be really useful.

    Cheers

  3. Pär Thernström
    Member
    Plugin Author

    Posted 1 year ago #

    Hi!

    None of the above is possible at the moment. Perhaps I will add export and disable cleanup in a future version.

  4. JUP
    Member
    Posted 1 year ago #

    Hi again

    Thank you for your response

    Is there any simple solution to at least disabling the automatic cleanup from running? I was hoping for a couple of lines of PHP... :)

    Thanks!

  5. Pär Thernström
    Member
    Plugin Author

    Posted 1 year ago #

    Just for you (well.. almost just for you anyway!) I have now released an updated version of the plugin. Update to version 1.0.8 and then put this code in your functions.php or similar:

    <?php
    // Never clear the database
    add_action("simple_history_allow_db_purge", function($bool) {
        return false;
    });
    ?>

    Good luck!

  6. JUP
    Member
    Posted 1 year ago #

    Thanks so much!

    I'll give it a go!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic