Quote from: rthrash at Feb 08, 2010, 07:24 PM
Hello SiNNuT and thanks for letting us know about that. We’d LOVE to get rid of MCPuck in Evo. Do you have anything you can share with us?
I’m hesitant to reply because it’s a very simple ’solution’ but for what it’s worth:
edit the file
tinymce.functions.php in assets\plugins\tinymce3241\ as follows:
1. edit line 167 to:
$tinymceInit .= ($use_browser==1 ? " file_browser_callback : \"tinyBrowser\",\n":"");
2. comment out line 169-216
3. add the following after line 258:
<script language="javascript" type="text/javascript" src="{$tinyURL}/jscripts/tiny_mce/plugins/tinybrowser/tb_tinymce.js.php"></script>
Download and extract tinybrowser in the jscripts\tiny_mce plugins directory and read the readme file (duh). Most installation steps are taken care of above. Only thing left is to edit the config_tinybrowser.php file.
TinyBrowser Installation Method 1
=================================
The standard TinyBrowser installation, this integrates TinyBrowser as a custom
file browseer with TinyMCE.
.............
4) Edit the TinyBrowser configuration file (config_tinybrowser.php). The most
important settings are the file paths (these will be automatically created on
your server by TinyBrowser if they do not exist) and also the ’obfuscate’
property, which should be set to a random value.
***NOTE:*** If your server is Unix-based. you may wish to modify the
$tinybrowser[’unixpermissions’] config value, which decides permissions.
5) All done! Now you will see a browse button in the TinyMCE dialog windows for
plugins like image, media and link - just click this button and TinyBrowser
will appear.
How’s that for quick and dirty!
But it works for me. I have only tested it on my winxp wamp environment but i have used TinyBrowser before on lamp systems and haven’t had much problems.
There has been talk about some security issues though, see this comment over at moxiecode forums
http://tinymce.moxiecode.com/punbb/viewtopic.php?pid=63539#p63539
Maybe someone with more MODx/PHP skills could look into that, because i really haven’t got a clue when it comes to this.
I’m sure there are many ways this can be improved upon (settings in MODx etc.) but i lack the knowledge to do so.