MCImageManager & MCFileManager installation instructions.
These instructions assume you have a working Wordpress 2.0 installation and access to the filesystem. TinyMCE should be enabled by default in Wordpress.
First download the latest version of the MCImageManager or/and MCFileManager, you should have recieved a download link in your email when you purchased the plugins. Unpack them in seperate folder on your drive (not into the Wordpress installation yet).
1. Copy the imagemanager and filemanager folder into the following folder on the Wordpress installation.
/wordpress/wp-includes/js/tinymce/plugins/
2. Open up "/wordpress/wp-includes/js/tinymce/tiny_mce_gzip.php", scroll to line 84 and edit the following to enable the file and imagemanager.
$plugins = apply_filters('mce_plugins', array('wordpress', 'autosave', 'wphelp'));
into
$plugins = apply_filters('mce_plugins', array('wordpress', 'autosave', 'wphelp', 'filemanager', 'imagemanager'));
3. For some reason, the Wordpress team has commented out code inside TinyMCE, you need to edit the following file:
/wordpress/wp-includes/js/tinymce/themes/advanced/jscripts/link.js
On line 13, change the line from
//document.getElementById('hrefbrowsercontainer').innerHTML = getBrowserHTML('hrefbrowser','href','file','theme_advanced_link');
To
document.getElementById('hrefbrowsercontainer').innerHTML = getBrowserHTML('hrefbrowser','href','file','theme_advanced_link');
This will enable the button for the link popup box.
4. You also need to disable modal dialogs, they can cause really weird behaviour. Go to line 133 in the same file and remove this line.
dialog_type : "modal",
Just delete the entire line.
4. Go into the MCImageManager / MCFileManager folder and remove the config.php file, rename the config.php.wordpress file to config.php.
5. Open up config.php and configure rootpath to where your files are located, consult the MCImageManager / MCFileManager documentation for more info on how to configure them.
If you encounter any problems, visit the plugin support forum on the TinyMCE website for help.