One major feature of wp-plugin-mgr is also that it enables one-click installs and removals.
Once installed, a plugin can be removed, in exactly the same way, by clicking on "one-click remove".
While 'permanent' affects your server protection settings in a lasting way to allow for one-click install, 'temporary' only changes them at install time and restore them right after. The trade-off is that choosing 'temporary' will require you to enter your FTP password each time you want to use the One-click feature.
Overall, I think both set-ups are fairly safe, and provide an acceptable trade-off with usability of your server in general. I am using the 'permanent' mode on my own WP install.
However, my lawyer, my cat and myself want to make it clear that you are using this feature at your own risk, I cannot take any responsibility for any damage, loss of files etc. that might be caused by the use this script (what did you expect).
See also next item.
We do not provide any guarantee that the plugins present in the database are in any way safe and secure to use. It is perfectly possible for some evil user to upload and make available through this tool, a malicious plugin that could do some harm to your server.
HOWEVER:
Not at the moment, but feel free to contact the Swedish gov and nominate me, just in case they ever add one.
This script needs fopen() URL file-access to be enabled to work properly. Either ask your server administrator to enable it or edit your php.ini file and insure that you replace the line:
allow_url_fopen 0
by
allow_url_fopen 1
(PHP Doc)
This part of the FAQ is specifically intented for Plugin Developers, little point reading it if you are only a regular WP user.
Nothing's easier, browse to: http://wp-plugins.net/dev.php, create an account, and add your plugins.
Most fields are pretty self-explanatory. A few notes and comments:
Making your plugin One-Click is painless and makes it much easier for most users to try it out using the wp-plugin-mgr client. Even if your plugins require extra installation steps that cannot be accomplished through One-click install, you should still go ahead and provide a one-click install along with instructions to complete manually.
ABSPATH . "wp-content/yourpluginname/your_data_file" wherever you need the path of a file.array("variable_1" => array("caption" => "Variable description",
"default" => "Default Value",
"type" => "[text|number|boolean|menu|password|hidden]",
"options" => array("value1"=>"Menu Item 1",
"value2"=>"Menu Item 2",
"value3"=>"Menu Item 3"),
"overwrite" => [true|false]),
"variable_2" => array( etc.
In each variable's array, only caption is mandatory, every other key can be omitted. The options key will only be used if type is a menu. overwrite, if set to 'true', indicates that, if this preference already exists (previous installation, upgrade), it should still be asked again from the user and use the 'default' you provide (if set to 'false', the previous setting will be reused)if (is_file(ABSPATH . "wp-content/yourplugin/yourplugin_prefs.php")) include_once(ABSPATH . "wp-content/yourplugin/yourplugin_prefs.php");
Here is an example array:
array(
"foobar" => array("caption"=>"this is a caption:",
"default"=>"this is a default value"),
"foobar_num" => array("caption"=>"this is a numeric value:",
"type"=>"number", "default"=>42),
"foobar_menu" => array("type"=>"menu",
"options"=>array("option1"=>"Option 1","option2"=>"Option 2"), "default"=>"option2",
"overwrite" => true),
"foobar_bool" => array("caption"=>"do you like booleans?",
"default"=>false)
);
Simply update the version number... It will appear in the RSS feed, users will be notified of the new version and, if your plugin is One-Click installable, they will be given the option to upgrade it this way. Make sure in your upgrade design to reuse any preference or user data file that might have been created by the previous version in your data folder (located inside 'wp-content').
You can now also add Version-specific information in the DB backend (ignore the "SQL Update" and "Data Files to keep" field for now).
Please, right this way...
Any sort of help (layout, css, php, documentation, packaging...) is always appreciated. Just drop a note.
It is also very easy to use the programmatic interface in your own scripts.
You can access the DB through the programmatic PHP interface.
Simply query the page http://wp-plugins.net/get_plugin_data.php from your script, it will return a serialized array containing all the plugin data. Run unserialize() on it and a print_r() will show you the gory details in a readable way.
You can use a few parameters to refine your search (add them with the usual http get syntax: ?paremeter1=value1¶meter2=value2):
More parameters can be used to refine your search, I'll update this area with details later.
All the downloadable parts are GPL (including wp-plugin-mgr).
The rest (dev input tools, essentially) is not quite yet decided. I'll make all the source available to anybody who'd like to give it a look, but I might not be able to make it GPL like the rest, for an array of reasons (I had to reuse some of my own semi-professional frameworks to put a quick DB backend). At any rate, it doesn't matter too much, since it is only a standard interface to the mySQL tables. The DB schema is extremely simple and should be adaptable to any other backend, should I one day find a suitable replacement. Feel free to contact me if you feel like tackling this part.
wp-plugin-mgr (local client):
Website frontend:
DB Schema:
Misc: