WordPress.org

Forums

Plugin/Fix to deactivate all/some plugins? (12 posts)

  1. Drew
    Member
    Posted 8 years ago #

    When upgrading or troubleshooting or whatnot, sometimes I would like to deactivate some or all plugins on my blog. The problem is, I have alot of plugins that I have modified. Deactivating them one by one is painful, as the page refreshes and I have to click on another one, page refreshes, next, and so on. I would like to possibly have a check box next to the plugins and bulk deactivate them. Kind of like the commends "bulk edit mode".

    Is there a plugin that does this or a fix or something? I have already looked (maybe not good enough) through the forums. Let me know if anyone has any info on how this could be completed. Thanks :)

    Regards,
    Drew

  2. Drew
    Member
    Posted 8 years ago #

    *bump*

    Does no one really want this at all? I mean, I find this quite an obvious need. Maybe not?

  3. Chris_K
    Member
    Posted 8 years ago #

    Well, I tend to just using my ftp client and move /plugin stuff elsewhere temporarily.

    But I'm lazy that way. ;-)

  4. Drew
    Member
    Posted 8 years ago #

    Yea, but that isn't the way I would. Such as, you would have to issue the "move" command. And you would change the structure of your documents (the plugins).

    The point would be to "deactivate" for whatever reasons (upgrade, reinstall, testing, etc.) of wordpress or other plugins. It states in a few docs that you must deactivate all plugins (such as an upgrade).

    How would we do this?

  5. Drew
    Member
    Posted 8 years ago #

    Come on people .. anything? Seriously. *BUMP* (again)

  6. whooami
    Member
    Posted 8 years ago #

    "How would we do this?"

    by going in a deactivating them, or ftping in and moving them to another directory. Just like has already been suggested. Creating a plugin to do that is.. for lack of a better term, dumb.

    and your tags are misleading as a "fix" implies there is something broke, which there is not.

  7. whooami
    Member
    Posted 8 years ago #

    and stop bumping this thread -- if someone has something to say, trust us, they will. Maybe the lack of response has to do with how "dumb" a plugin like that would be. Im NOT saying thats the case, its just a guess.

    Re: "Such as, you would have to issue the "move" command."

    Im not sure what ftp client you use. I used a legally registered copy of flashFXP. I highlight any files i want to move and drag them where I want them. It takes 5 seconds, max and I dont have to "issue" anything. And yes I know what the actual LINUX command being sent is, my point is, I dont write/issue any any shell commands.

    Stop using a start>run>ftp and get a 21st century ftp client.

    and kudos to whomever edited out that tag :P

  8. spencerp
    Member
    Posted 8 years ago #

    and kudos to whomever edited out that tag :P

    Hahaha..You're welcome. ;) :P

    @The O.P., I could have sworn someone shared a Database query to run, to deactivate all the plugins.. Hmm.. I'll have to search once.. be back soon I hope..

    spencerp

    I tend to follow whoo's replies, to see if anything new needs taken care of LoL!

  9. whooami
    Member
    Posted 8 years ago #

    lol. his idea isnt really that dumb, but it would take longer to write the plugin than it takes to move or delete plugins, know what I mean?

    And then!! How do you have the plugin deactivate itself?

    I guess I just dont see the point is all.

    Plus, sometimes you just have to do a little more work, I want a plugin to make me dinner (seriously) but i keep getting stuck.

  10. spencerp
    Member
    Posted 8 years ago #

    Yeah, I understand what you're saying. =) I actually do what you do, I select ALL the files/folders if need be, and just move them out of a directory.. ;)

    And then!! How do you have the plugin deactivate itself?

    LoL! That would be cool though.. haha. =P

    spencerp

    I want a plugin to make me dinner (seriously) but i keep getting stuck.

    LOL!! I would like this plugin too!! Hahaha..

  11. Drew
    Member
    Posted 8 years ago #

    All bullshit aside, because I have no time to chuckle about this matter.

    Maybe the lack of response has to do with how "dumb" a plugin like that would be."

    Dumb? Plugin to make dinner would be dumb ... get off your ass and do it (I know it was a joke, but personally, you think my idea is dumb ... even though you stated that this was not the case).

    Stop using a start>run>ftp and get a 21st century ftp client.

    I don't use Windows. I use Linux, and I use FTP. It takes more effort on an FTP program to shoot the files over to another directory and then move them back than clicking a few check boxes and submiting it.

    And then!! How do you have the plugin deactivate itself?

    The plugin won't deactivate itself. You have checkboxes (remember my initial post). You click the checkmarks in "bulk mode" to deactivate the ones you don't want. If you want them all removed, then you can write another function to deactivate all plugins and it will deactivate all the plugins and call another function that could be inserted into a database that deactivates the "deactivate plugin" and inserts PHP code into the admin section (such as options) that will allow you to activate all plugins again.

    Simple, yet effective.

  12. whooami
    Member
    Posted 8 years ago #

    drew, I figured you might be using *NIX, but making that assumption here is .. well it's dumb :)

    I will admit that the bulk idea would be nice -- maybe a rewrite (as a plugin) of the plugins page would be more in order - in a way where checkboxes were present.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags