Oneclick plugin for wordpress.
Written by Anirudh Sanjeev
http://anirudhsanjeev.org




Description:

Oneclick is my first wordpress plugin. It allows uploading of a plugin or theme without the need of manually uploading by FTP, allowing the upload from the Admin panel.
Installation:

   1. Upload the entire oneclick folder to wp-content/plugins.
   2. CHMOD the following folders to 0777:
         1. wp-content/themes/
         2. wp-content/plugins/
         3. wp-content/plugins/oneclick/
   3. Activate OneClick Installer from your plugins menu.

Usage

   1. Download the zip file of the plugin or theme you want to install. ZIP files are accepted only.
   2. Select the OneClick Install option from your dashboard.
   3. Browse to find the downloaded zip file, and select from the dropdown menu wether its a theme or plugin.
   4. Click on the Upload button.
   5. If all goes well, you should see a message informing you so.
   6. Go to the plugins/themes area and activate the newly installed plugin/theme.
   7. Enjoy!

Zip file requirement:

   1. This software simply goes and unzips the file in the corresponding directory, based on plugin or theme.
   2. Certain advanced forms of compression can be used by WinZip at higher levels of compression (Like enhanced deflate, etc) which wont work with this plugin. To be safe, Id recommend that you zip it with winrar. (yeah, go ahead and point the irony out.)

Why Use OneClick?

   1. FTP is slow and requires many transactions, and waits before uploading each file, etc.
   2. ZIP files are smaller, and code compresses very well, so uploading is faster. POST uploads are much faster than FTP.
   3. If youre not at your own terminal, and somewhere else, then you might have to download an FTP client and configure it before using any theme/plugin.
   4. Think about it would you rather unpack a zip, open a separate client, navigate to the right folder (which is painfully slow) and then upload the entire folder, which takes more than fifteen minutes, or would you log on to your dashboard, and upload through OneClick, which takes less than fifteen seconds.
   5. Lastly, some people like me are behind a strong firewall, preventing FTP access making uploading almost impossible. This plugin was written for the sole reason of circumventing that, and so it has :)

What NOT to do?

   1. Change any filenames or directory names. Most wordpress plugins work even if you change the directory names during install, but not this one. the paths are very sensitive, so dont rename it!! Dont change oneclick to Oneclick or anything like that, just upload and delete the FTP client.
   2. Be careful while deleting folders through the delete interface, it wont ask for confirmation, and if you accidentally delete your super customized theme, I wont be responsible.

Screenshots:

I wouldve included screenshots of this working but I have to leave in a few minutes, but screenshots of the RC1 version are in this post, and theres really no difference except for a couple of optimizations and a nice about section.
Credits:

   1. This plugin uses the PCLZip library released under GPL.
   2. OneClick was written in whole by me, over two days with the total development time of four hours. This plugin is also released under the GPL.

Upcoming Features:

Here are some of the many features coming in the next installment. I dont have much time, patience or technical expertise for implementing a few of them (plus I get a headache after staring at a computer screen for an hour), so expect this in a month or so.

   1. Install a plugin using only the url of the zip file. Dont even need to download them
   2. Back up all your plugins/themes in a zip file and download them, for easy moving
   3. Downloadable plugin packs and theme packs which are parsable xml files allowing several themes/plugins to be installed at one go. Example: dark theme pack, antispam plugin pack, seo plugin and theme pack. This has some slight legal type issues to be taken care of, but more on that later.
   4. Software to install themes and plugins from the comfort of your desktop. Dont even need to login.[this works on a POST request]
   5. More languages, integration with wordpress upgrade plugin, and more

Contribute:

   1. If you have any suggestion, feature request, or if you find a bug, please let me know so I can try to fix it. Extra points if you find a bug and fix it yourself.
   2. Donations are welcome. If you liked this plugin, and found it helpful, and want to contribute, you can via paypal to prototype.angel@gmail.com; Recommended donation is between 0 and 5 USD.

