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)
[…] One click plugin updater v 2.4.5O […]
[…] Install this plugin first: One Click Plugin Updater […]
[…] first thing you’ll want to do is install the One Click Plugin Updater. This allows you to install other plugins directly from the WordPress admin, which alleviates the […]
some problems here… when I install OCPU, I get these messages on my plugins page:
======
Warning: Invalid argument supplied for foreach() in /home3/proveiss/public_html/wp-content/plugins/one-click-plugin-updater/oneclick-plugin-updater.php on line 658
Warning: Attempt to assign property of non-object in /home3/proveiss/public_html/wp-content/plugins/one-click-plugin-updater/oneclick-plugin-updater.php on line 674
======
and then, if I try to update automatically any plugin, I get this error:
======
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 85 bytes) in /home3/proveiss/public_html/wp-includes/streams.php on line 69
======
any ideas? =(
I’ll upload an update to wordpress.org that might help.
On an unrelated note, are you sure you need this plugin? WordPress now has an automatic update feature built-in, so OCPU is mostly obsolete.
wordpress built-in won’t mass update nor will it “right-click-on-link” install plugins =)
the error when activating the plugin doesn’t show up anymore… but when I tried to delete some other plugin…
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 24 bytes) in /home3/proveiss/public_html/wp-includes/gettext.php on line 91
is there any enviroment specs I could provide to help with this?
Hmm, why would it run over the memory limit?… Frankly, I have no idea what could be wrong 🙁
and when I try to update something, it gets the same one:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 71 bytes) in /home3/proveiss/public_html/wp-includes/gettext.php on line 91
[…] that you will want to search for are : All in One SEO Pack, Easy AdSenser, Google XML Sitemaps, One Click Plugin Updater, Google Analyticator, WordPress Automatic Upgrade None of these are required, but they will all […]
[…] One Click Plugin Updater 2.4.6 NEW! 官方介紹是可以快速安裝/升級外掛和安裝佈景的外掛,不過大部分功能現在的Wordpress都內建了。 […]
[…] First time you need a plugin called : One Click Plugin Updater […]
I tried to avoid bugging you with a simple question but after spending quite a bit of time I’m trying to figure out why I get my websites 404 page after trying to install a plugin using the firefox extension.
When I enter the url provided into my browser the installation page appears but when trying to install the plugin I get the 404 page.
( I’m using thesis and the newest versions of wordpress, the once click installer plugin and firefox addon One-Click Installer for WP 1.1)
I know the answer is really pretty simple, I just haven’t found it yet.
ps I’m writing a a review (positive )and I’d really like to get this working soon.
Thanks for the great plugin
What is the actual URL in the address bar when you try to install the plugin and get a 404 page?
This is the address that for the 404:
http://www.reallifepurpose.com/wp-admin/plugins.php?page=install_plugin&magic=b50b716b8b039c676345a0ce230f7502&installtype=autodetect&fileurl=http://www.backtype.com/files/plugins/connect/backtype-connect-0.1.zip
I appreciate your help.
Just checking in to see if you have a solution to my installation problem (above).
I’m really excited about the possibilities of what your plugin can do. I just need to get it working.
Thanks for your help.
Mhm, sorry for not responding earlier.
I’ve run some tests and it seems your site has some kind of protection scheme set up that causes this problem. Any URL that points to any Dashboard page and contains an URL-like parameter is treated as 404. For example, this URL yields a “Nothing found” page, too :
http://www.reallifepurpose.com/wp-admin/?whatever=http://
Check your security-related plugins and .htaccess for suspicious settings.
Hi there,
I have a strange problem. When I have plugins that need to be updated, my plugin page goes blank (after flashing me a list of my plugins); everything works normally after I update my plugins using the One Click button. Strange, no? Any ideas? I’ll email you my list of plugins installed, if you think that may help.
Richard
sorry for the double post, I forgot to click the “Notify me of followup comments via e-mail” button. An rss feed for comments would’ve been useful in this case. 🙂
Actually, there is an RSS feed for comments – see the link in the meta box below the post : “You can follow any responses to this entry through the RSS 2.0 feed.” WordPress has had this feature for ages.
Anyway, I can’t think of anything specific that could cause the problem you mentioned. If it happens again, try to view the source code of the page. If that’s blank as well, then it might be related to a timeout of some kind (a wild guess). If the HTML is there but it doesn’t get displayed, maybe buggy JavaScript is to blame.