Download Manager plugin
Today I installed a download manager. Last week, I tried installing Lester Chans’ WP-downloadmanager 1.00, but allthough it works pretty fine, it messed up my MCE (the editor in the admin panel, where I write my posts). So I looked further. Via the WP-plugins.net, I found two more plugins: the Wordpress Download Monitor plugin at Blue Anvil and the WP Downloads Manager.I tried installing the Wordpress Download Monitor. The install was messy: the plugin told me to update my .htaccess, either manually or via the admin options. That could have been a perfect link or button, which would have saved me two clicks. Besides that, after installing, I played a little with the URLs. Guess what: a nice mysql error:
WordPress database error: [Unknown column '$1' in 'where clause']
SELECT * FROM wp_DLM_DOWNLOADS WHERE id=$1;
Seems to me, the least that could be done was protect the sql statement. I didn't look further, this plugin is being deleted immediately.
Next plugin is Giulio's Wp Downloads Manager. Allthough I did use that same theme for a while and I do understand a little Italian, the best option seemed to be looking at my first option. So that's what I did. Sorry guys, Lester Chan won.
Since I'm creating my own image gallery plugin now, I've looked into the Codex quite a fex times. I figured out all I had to do to prevent the plugin from messing up my MCE was comment out a section that added the functions to MCE:
/*
add_filter('mce_plugins', 'download_mce_plugins', 5);
...
add_filter('mce_buttons', 'download_mce_buttons', 5);
...
add_action('tinymce_before_init','download_external_plugins');
...
*/
Another error had to do with the Safe Mode. The uploads are uploaded to wp-content/files by default, but Safe Mode prevents the script from accesssing that directory. Solution is easy: create a folder for your uploads in the wp-downloadmanager and update the options to use that folder. Done, and a very nice download manager is installed.
This entry was posted on Sunday, January 6th, 2008 at 21:23 and is filed under Blog, Plugins, Testing. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

