WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Disable Database Clean Up and Show Old Entries

[Resolved] Disable Database Clean Up and Show Old Entries

  • 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/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Also,

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

    This would be really useful.

    Cheers

    Plugin Author Pär Thernström

    @eskapism

    Hi!

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

    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!

    Plugin Author Pär Thernström

    @eskapism

    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!

    Thanks so much!

    I’ll give it a go!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Disable Database Clean Up and Show Old Entries’ is closed to new replies.