Single Click Plugin Updater WordPress Plugin

This plugin extends the plugin update notification feature introduced in WordPress 2.3 by adding an “update automatically” link to update notifications. When you click the link, the new version of the corresponding plugin is downloaded and installed automatically. It also lets you know which plugins have update notifications enabled.
Update 06.04.2008 : Version 2.0.1 with much more features is out. More info here.

Download it now! (37 Kb)

How It Works (In Detail)

To be able to display the new link this plugin will hide the original update notification and display a slightly modified one. Here’s what happens when you click the “update automatically” link :

  1. If the plugin that needs to be updated is active, it is deactivated.
  2. The Plugin Updater retrieves the plugin’s page from WordPress.org and finds the download link.
  3. The new version is downloaded and extracted to the wp-content/plugins directory (this directory must be writable by the Updater plugin).
  4. If necessary, the updated plugin is re-activated.

All this happens in the background, so if everything works OK you’ll end up back at the “Plugins” tab. If there are any errors the plugin will display an error message and abort the upgrade.

Requirements

  • WordPress 2.3 or newer.
  • CURL library installed or allow_url_fopen enabled in php.ini. If you don’t know what that means, don’t worry – at least one of these is available on most webservers by default.
  • The /plugins directory must be writable by WordPress. The exact file permissions depend on the server configuration. Read more about file permissions. 666 or 755 may be sufficient, and 777 will always work, though this is not recommended due to security risks.

The plugin has been tested and works under Firefox 2.x, Opera 9.x and, as of version 1.0.5, Internet Explorer.

Installation

To install the plugin, please follow these steps:

  • Download the one-click-plugin-updater.zip file (below) to your computer.
  • Unzip the file.
  • Upload “one-click-plugin-updater” folder to the “/wp-content/plugins/” directory.
  • Activate the plugin through the ‘Plugins’ menu in WordPress.

That’s it.

Download

one-click-plugin-updater.zip (40 Kb)
CC-GNU GPL

Share :
  • Reddit
  • del.icio.us
  • Digg
  • StumbleUpon
  • DZone
  • Ping.fm
  • Sphinn
  • Twitter
Related posts :

492 Responses to “Single Click Plugin Updater WordPress Plugin”

Pages: « 17 8 9 10 11 12 13 14 [15] 16 17 » Show All

  1. 403
    Richard says:

    Hi again,

    Thanks for pointing it out to me. I knew that it’d be somewhere, and I looked for it, but I didn’t see it in the box under the post, sorry. :)

    So it just happened again. I checked the source, and it’s all there.

    Like I said, this is what happens:

    1- Notification of a plugin to be updated
    2- go to plugins page
    3- I see the list of plugins, then poof, it disappears

    What now?

  2. 404
    Richard says:

    Ok, I’ve narrowed it down to the following:

    The cause is a conflict of some sort between Ozh’s “Better Plugin Page” plugin and the one-click updater. I don’t know why, but with no other plugins active but these two and a 3rd (old version of any plugin), I can repeat the problem mentioned above, when there is a plugin that needs updating. Any thoughts?

  3. 405
    White Shadow says:

    I’ll have to install Ozh’s plugin and see if I can determine the cause.

    …tomorrow ;)

  4. 406
    White Shadow says:

    Well, I installed “Better Plugin Page”, but apparently it doesn’t do much of anything in my test setup (WP 2.8 beta). However, I had another idea – if you switch the “Updated Module” setting in Plugins -> Upgrade Settings it might make the problem go away.

    Also, you could try toggling the “Highlight plugins that have update notification enabled” checkbox on/off; it’s bugged anyway.

  5. 407
    Richard says:

    Hello again,

    Well, it’s 100% reproducible for me, with WP 2.7.1. I’ve tried it on several domains that I have, different WP installations; the only thing they had in common was Ozh’s plugin, Single-Click updater, and an old version of any random plugin (all other plugins were deactivated). I never experienced this before installing Single-click. Strange…

    I tried your 2 suggestions, and the various possible combinations, but nothing.

    I have yet to try with WP 2.8 beta, but I’ll take your word for it that it’s fine. It’d be nice if we could fix it for 2.7.1 though. :)

  6. 408
    White Shadow says:

    Still can’t reproduce. I installed my and Ozh’s plugins on this site (WP 2.7.1), installed an outdated version of another plugin (WP-SpamFree) and everything worked fine.

    Are you, by any chance, using a different version of plugin updater? I have 2.4.6 here.

  7. 409
    White Shadow says:

    Disregard that, I found the problem. You can download the fixed version from the link in the post above.

  8. 410
    baron says:

    Works great, thank you

  9. 411
    Richard says:

    Hi!

    That fixed it, thanks. However, it no longer shows up in the nice yellow bar anymore. I also have the Fluency2 plugin installed, maybe it has something to do with that? Or did you just change the css for it? Oh well, I prefer a well-functioning plugin to a pretty one any day, so thanks for fixing it again!

    Richard

  10. 412
    White Shadow says:

    I changed the CSS. Initially it used a built-in CSS class that is used to display the update notifications below each plugin row. However, this also caused the conflict with Ozh’s plugin which expects the class to be used only for it’s original purpose. So I made a new class.

  11. 413
    Richard says:

    Hello again,

    Yeah, I figured as much, but I didn’t have the time to dig into it deeper to confirm it. Thanks for the update. Any chance you can make the new class look like the built-in class, or similar? Maybe a bright orange color (kidding, the yellow is bright enough!). It’s so much prettier. :)

  12. 414
    White Shadow says:

    I actually copied the built-in style to the new class, but apparently there must be another rule somewhere that I missed and that’s what makes it look different. I’ll see if I can fix it when I have time.

  13. [...] One Click Plugin Updater – This is the key for having a bunch of plugins. You’re smart, I bet you can figure out what it does. I’ve run into problems with it not wanting to update a few plugins ever, but having to update one manually is fine with me. [...]

  14. 416
    Johnny C says:

    seems like it needs an update to 2.8…. =(

  15. 417
    White Shadow says:

    A partial update for WP 2.8 will be available shortly. The basic stuff will work (I think), but I really haven’t tested this update in depth.

  16. [...] upgrade to the newly released WordPress 2.8. The easy part of upgrading was I was able to use the Upgrade plugins with a single click, install new plugins or themes from an URL or by uploading a file, see which [...]

  17. 419
    Antonio says:

    Hey White Shadow

    Thanks for all the hard work man! Looking good so far. :)

  18. 420
    Johnny C says:

    something went completely nutz after the update last night…

    whatever the screen on admin front-end I am I get the message:
    Warning: Invalid argument supplied for foreach() in /public_html/wp-content/plugins/one-click-plugin-updater/oneclick-plugin-updater.php on line 633

    and if I go to the installed plugins page, I get tons of that… any idea?

  19. 421
    White Shadow says:

    Might be fixed in 2.4.9.

  20. 422
    Sigit Mahadjatis says:

    thanks yea….

  21. 423
    ovidiu says:

    had some problems with the latest version on 2.8 when mass updating, several plugins didn’t get reactivated, possibly all, didn’t pay that much attention.

    is it jsut me or has anyone else seen the same problem?

  22. [...] One Click Plugin Updater: WordPress (since v2.7) has plugin update functionality, but it requires multiple steps with first needing to fill FTP password. This plugin not only makes upgrades a one-click affair, but also provides an easy way to install plugins / themes. [...]

  23. 425
    Kaingo says:

    Good job with this plugin, easy to use, works great, thanks

  24. [...] Untuk perubahan themes ini memerlukan Plugin One Click Installer berupa ZIP File yang harus di download terlebih dahulu, silahkan ambil filenya: KLIK DISINI. Atau bisa download menuju penyedianyanya langsung KLIK DISINI. [...]

  25. 427
    MossackAnme™ says:

    Why the OneClick Plugin Updater 2.4.9 doesn’t works well on my personal site once I upgraded to WordPress 2.8…??

    It can updates the plugin(s) but cannot remove the “There is a new version of [pluginname] available” statement…

    Why should I do?

  26. 428
    White Shadow says:

    For one, you shouldn’t leave identical comments on four other posts. I get the comment notification either way.

    I don’t know exactly why that would happen, but I’ve uploaded a minor uptade that might fix the problem. Now the message(s) should go away once you update a plugin.

  27. 429
    MossackAnme™ says:

    Sorry for your inconvenience… /(-.-)\
    I’m too panic about that..that problem came on my busiest time..
    Sorry..

    Waiting for your help…and I’ll report it to you ASAP…Thanks…

  28. 430
    MossackAnme™ says:

    Hmm..not yet resolved..

    The updates announcement still showed up below the plugin line…

    But, the statement go away if I try to deactivated and activated OneClickPluginUpdater after I updates another plugins..
    It can resolve the problem but wasting the time if another plugins updates are coming everyday…

    So?

  29. 431
    MossackAnme™ says:

    Not yet resolved with your 2.4.11 version…
    The update statement(s) still showed up after a plugin(s) has(have) been updated…

    Open in new tab to view the screenshots of the problem…
    Don’t forget to tell me if you has finished the screenshot download so I can delete that screenshots…thx…
    Screenshot 1
    Screenshot 1

    What can I help?

  30. 432
    White Shadow says:

    I’ve got the screenshots. However, I’m unable to reproduce the problem (and thus I can’t fix the bug either). The update notification always goes away when I successfully upgrade a plugin.

Pages: « 17 8 9 10 11 12 13 14 [15] 16 17 » Show All

Leave a Reply