WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: PhotoContest Plugin] How to completely remove all traces of this plugin (8 posts)

  1. frekel
    Member
    Posted 4 years ago #

    can you build a removal routine into the plugin?
    I am asking as I have still some problems with the plugin and I'd like to erase all traces of it to try with a fresh installation of the plugin.
    I know I can manually delete the generated tables but I'd like to also delete all of its options.
    could you maybe supply a mysql code for this please?
    I basically went through all available versions of the plugin and the installation is pretty screwed up.

    http://wordpress.org/extend/plugins/wp-photocontest/

  2. frekel
    Member
    Posted 4 years ago #

    Again true,

    The auto-upgrade start working from 1.3.5 and up.
    If you have an older version of the plugin and want to remove all the tables, run this in phpmyadmin:

    DROP TABLE IF EXISTS wp_photocontest;
    DROP TABLE IF EXISTS wp_photocontest_admin;
    DROP TABLE IF EXISTS wp_photocontest_config;
    DROP TABLE IF EXISTS photocontest_votes;

    the problem with the auto-upgrade, is that there is no difference between deleting the plugin (you want get rid of it) and the deleting while doing an auto-upgrade.

    so if I activate the above code, then you will lose all your data when using auto-upgrade...

  3. Ovidiu
    Member
    Posted 4 years ago #

    ok, but I know some plugins have an UNISNTALL button, that completely removes the plugin and all its settings.
    Meanwhile I can delete those tables manually, but aren't there any options stored in the DB?
    Or is everything kept in those 4 tables?

  4. frekel
    Member
    Posted 4 years ago #

    There are 3 extra values in the options table:

    Run these commands to clear this as well:
    DELETE FROM wp_options WHERE option_name = 'wppc_redirect_to' LIMIT 1;
    DELETE FROM wp_options WHERE option_name = 'PC_DB_VERSION' LIMIT 1;
    DELETE FROM wp_options WHERE option_name = 'PC_PL_VERSION' LIMIT 1;

  5. Ovidiu
    Member
    Posted 4 years ago #

    thx

  6. frekel
    Member
    Posted 4 years ago #

    ur welcome

  7. Ovidiu
    Member
    Posted 4 years ago #

    ok, will give your new version a try these days :-)

  8. frekel
    Member
    Posted 3 years ago #

    thx

Topic Closed

This topic has been closed to new replies.

About this Topic