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 :
- If the plugin that needs to be updated is active, it is deactivated.
- The Plugin Updater retrieves the plugin’s page from WordPress.org and finds the download link.
- The new version is downloaded and extracted to the wp-content/plugins directory (this directory must be writable by the Updater plugin).
- 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)
i had trouble install plugins at wordpress 2.7, then i use this plugin.
It’s great
Great plug in. Good reviews. Should remember to change the write permission.
I’ve been using this plugins for quite some time now, however yesterday I upgraded my WP install to v.2.7 and this plugin failed to work, I cannot upgrade my plugins using “entering URL” feature, only from file which mean I need to download the plugin first then re-upload using Single Click Plugin Updater.
@Budhi : Could you please be a bit more specific – what error message do you get, etc?
BUG – Install A Plug Skipped Some Files
i used wp 2.7 built-in ‘install a plug-in’ page to install wp-dtree plugin.
it did not upload plus.gif into /plugins/wp-dtree-30/dtree-img/
it also did not upload all gifs after plus.gif.
i would assume other files may have been skipped as well.
this problem occurred with ‘install from url’ and ‘install from a file’ when i manually uploaded the plugin, no files were missed.
therefor, WP’s ‘install a plugin page’ is DEFECTIVE.
unless i’m mistaken.
What errors does the installation log show, if any? I just installed WP-dTree on my testsite with no problems.
how can i view the installation log?
i did not receive any error messages when i did the install. i only noticed the plugin was missing some gif’s during normal usage. i checked the plugin image folder, and indeed the gifs were missing.
i tried 2 or 3 times to install it using your plugin– missing those files each time.
this may be a problem with my theme. how could a theme disrupt this plugin?
wp 2.7 built-in “add new” page remote-installer works fine with my theme
You can view the installation log by clicking on “View installation log” after the installation has finished.
It’s very unusual that some files are installed and some aren’t, I can’t imagine why that would happen. Also, I don’t think a theme could interfere with this plugin.
[…] Help with WordPress 2.7 – Themes? Check out this plugin, Single Click Plugin Updater WordPress Plugin | W-Shadow.com It works with version 2.7 and you can use it to upload plugins and themes like OneClick did. I […]
I may have some server/permissions issue, but everything *seems* okay. My plugins folder is set at 755, so I’m not sure if there is anything else conflicting or preventing the plugin from working. When I try to install a plugin by uploading a zip or entering in a URL (or even using the firefox extension), I get this error:
About to extract ‘/***/***/***/phptmp/php5JFMOz’.
Extracting files from /***/***/***/phptmp/php5JFMOz…
So far, the type is set to ‘plugin’.
Need to load PclZip.
gzopen() found, will use PclZip.
Starting extraction to folder ‘/***/***/***/web/wp-content/plugins/’.
Extracting cforms/____HISTORY.txt
Can’t create file cforms/____HISTORY.txt in /***/***/***/web/wp-content/plugins/!
Any ideas?
Hi,
I have a problem/question:
I installed this plugin, because wp itself never sees an update of any plugin.
After installing this one, there are still no messages that one or more plugings need updating. But, i know for sure that at least 1 plugin can be updated (checked it manually). Does anybody have any ideas why I am not getting update notifications?
Regards, Snarf
Hmm, maybe it’s the filename – i.e. the multiple underscores might be somehow be problematic on your server? Then again, other plugins would install okay if this was the case.
Maybe the server is running out of space? Or maybe there’s some security module/script/whatever that’s blocking certaing files?
@ Snarf : A few possibilities come to mind –
* Go to “Plugins -> Upgrade Settings” and make sure “Enable plugin update checks” is ticked and the “Check interval” field is set to a reasonable value.
* Check that your server configuration allows outgoing connections from PHP scripts. For example, if you can successfully install plugins via “Plugins -> Add New” or “Plugins -> Install a Plugin” then it’s probably working.
* (You probably know this one already) Update notifications only work for plugins hosted on wordpress.org.
I restored a backup of my website to my local (on my laptop, running USBWebserver) environment, so i have an identical situation) And there it works like i expect (updates are notified and all). So underscores are ruled out (there are none btw) and there is space enough (approx 170Mb).
Security script… I really don’t know…
The “Enable plugin update checks” is ticked and set the interval to 300 secs (5 mins), for testing purposes.
I am able to successfully install plugins via “Plugins -> Add New” or “Plugins -> Install a Plugin” (downloaded a random plugin and installed it succesfull).
Yes, I know that update notifications only work for plugins hosted on wordpress.org (otherwise it would not show updates on the localhost of my laptop
Well, I haven’t got any more ideas at the moment. Try the WordPress support forum, somebody might be able to help.
Well, looked at everything and finally I found the problem.
I had a post where the character é was in the header and in the post itself. After i removed it and made it just e, all works fine.
Don’t ask me how or where it went wrong, but this is the fix for me
Thanks all for your help and suggestions
[…] I was out of options, so I went searching and found a plugin called “One Click Plugin Updater“. […]
hmmm, your plugin doesnt seem to like it when wordpress is using ssl when accessing the admin area, ie has
define(‘FORCE_SSL_ADMIN’, true);
defined in wp-config.php.
Just thought id mention for future bug fixes
Hello, I’m using this fantastic plugin on my wordpress 2.7 installation. But I found some differences from what I have on my test pc and the online website which is the “production” machine.
In my pc I can to “Plugins->Add new” search for a plugin and install it.
If I do the same thing on my online installation it goes to the default wordpress page where it asks for ftp/ftps to upload files.
Am I missing some part of the configuration? Is some properties of php not enabled?
Thanks for your great work regarding this plugin, I am sure this is just some ignorance from my side, but I really tried searching online and didn’t found this problem.
Regards,
Andrea (sdl)