I have figured out how to install this so here are the instructions. It is rather easy.
File Downloads:
TinyMCPUK http://p4a.crealabsfoundation.org/tinymcpuk - TinyMCE + Image/File Manager
TinyMCE http://tinymce.moxiecode.com/download.php - Latest Version
Note: Since p4a didn't modify the TinyMCE files you can use the latest version of TinyMCE with the package from p4a.
TinyMCPUK Install Instructions
Upload the contents of the TinyMCPUK download from p4a to ../admin/includes/javascript/tiny_mce/ on your web server Your Directory structure should look like this after uploading the package: ../admin/includes/javascript/tiny_mce/filemanager ../admin/includes/javascript/tiny_mce/imagemanager ../admin/includes/javascript/tiny_mce/langs ../admin/includes/javascript/tiny_mce/plugins ../admin/includes/javascript/tiny_mce/themes ../admin/includes/javascript/tiny_mce/utils NOTE: If you already have the newest version of TinyMCE installed then you only need to upload the filemanager and imagemanager directories
Create your User File Directories: File, Image, Media, Flash (and chmod all to 777) For example I create in the root directory of my website the following directories: /assets/File /assets/Image /assets/Media /assets/Flash So the fully qualified url, for example, would look like http://www.website.com/assets/Image
EDIT this file ..\imagemanager\config.inc.php
FIND AROUND LINE 18:
$IMConfig['base_dir'] = $_SERVER['DOCUMENT_ROOT'] . '/UserFiles/Image';
CHANGE IT TO:
$IMConfig['base_dir'] = $_SERVER['DOCUMENT_ROOT'] . '/assets/';
-----
FIND AROUND LINE 28:
$IMConfig['base_url'] = 'http://' . $_SERVER['SERVER_NAME'] . '/UserFiles/Image';
CHANGE IT TO:
$IMConfig['base_url'] = 'http://' . $_SERVER['SERVER_NAME'] . '/assets/';
EDIT this file ..\filemanager\connectors\php\config.php
FIND AROUND LINE 46:
$fckphp_config['UserFilesPath'] = "/UserFiles" ;
CHANGE IT TO:
$fckphp_config['UserFilesPath'] = "/assets" ;
Edit /admin/includes/header.php and insert the following lines before the <table> tag. <script language="javascript" type="text/javascript" src="includes/javascript/tiny_mce/tiny_mce.js"></script>
<script language="javascript" type="text/javascript">
tinyMCE.init({
mode : "textareas",
theme : "advanced",
plugins : "table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,z
oom,flash,searchreplace,print,paste,directionality,fullscreen,noneditable,context
menu",
theme_advanced_buttons1_add_before : "save,newdocument,separator",
theme_advanced_buttons1_add : "fontselect,fontsizeselect",
theme_advanced_buttons2_add : "separator,insertdate,inserttime,preview,zoom,separator,forecolor,backcolor,
liststyle",
theme_advanced_buttons2_add_before: "cut,copy,paste,pastetext,pasteword,separator,search,replace,separator",
theme_advanced_buttons3_add_before : "tablecontrols,separator",
theme_advanced_buttons3_add : "emotions,iespell,flash,advhr,separator,print,separator,ltr,rtl,separator,fu
llscreen",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_statusbar_location : "bottom",
plugin_insertdate_dateFormat : "%Y-%m-%d",
plugin_insertdate_timeFormat : "%H:%M:%S",
extended_valid_elements : "hr[class|width|size|noshade]",
file_browser_callback : "fileBrowserCallBack",
paste_use_dialog : false,
theme_advanced_resizing : true,
theme_advanced_resize_horizontal : false,
theme_advanced_link_targets : "_something=My somthing;_something2=My somthing2;_something3=My somthing3;",
apply_source_formatting : true
});
function fileBrowserCallBack(field_name, url, type, win) {
var connector = "../../filemanager/browser.html?Connector=connectors/php/connector.php";
var enableAutoTypeSelection = true;
var cType;
tinymcpuk_field = field_name;
tinymcpuk = win;
switch (type) {
case "image":
cType = "Image";
break;
case "flash":
cType = "Flash";
break;
case "file":
cType = "File";
break;
}
if (enableAutoTypeSelection && cType) {
connector += "&Type=" + cType;
}
window.open(connector, "tinymcpuk", "modal,width=600,height=400");
}
</script>
Hope this helps someone. That's it you are finished.