TinyFck Upload image

Need some help with the script?

TinyFck Upload image

Postby mrtn8844 » Sun Mar 07, 2010 11:37 am

Hello, May I ask for this help?
I am using tinyfck and it is working fine with me, except when I am trying to insert an image after I browse to upload a picture from my hard drive to be uploaded I got this message " Upload in progress, please wait..." but nothing after that.
Thanks in advance.
mrtn8844
 
Posts: 42
Joined: Mon Mar 01, 2010 5:59 am

Re: TinyFck Upload image

Postby DarkSlim » Sun Mar 07, 2010 3:25 pm

mrtn8844 wrote:Hello, May I ask for this help?
I am using tinyfck and it is working fine with me, except when I am trying to insert an image after I browse to upload a picture from my hard drive to be uploaded I got this message " Upload in progress, please wait..." but nothing after that.
Thanks in advance.


Hmm I don't remember if it worked for me or not really, but short after installing TinyFCK
I came up with this: Link
It is much better, working 100% percent for me and gives you much more control
and options over images. :)
User avatar
DarkSlim
 
Posts: 296
Joined: Thu Aug 06, 2009 4:18 pm
Location: IL

Postby mrtn8844 » Wed Mar 10, 2010 11:34 am

Thanks DarkSlim for help. I instlled it but imanager icon didn't show as I think I couldn't get what in number 6
6. In the 'interface' folder you will find the plugins for each wysiwyg editor,
take the one that's right for you, copy it to the main 'iManager' folder and rename it
as what used by your editor eg. "editor_plugin.js" for TinyMCE or "fckplugin.js" for FCK
Then add it to your editor's congif file - more information on these can be found in the
"docs/readme.txt" file.

I copied "tiny_mce.js" and "tiny_mce_src.js" to this directory "cm/plugins/tinyfck/plugins/imanager" so please advise.
Thanks in advance.
mrtn8844
 
Posts: 42
Joined: Mon Mar 01, 2010 5:59 am

Postby DarkSlim » Wed Mar 10, 2010 4:40 pm

mrtn8844 wrote:Thanks DarkSlim for help. I instlled it but imanager icon didn't show as I think I couldn't get what in number 6
6. In the 'interface' folder you will find the plugins for each wysiwyg editor,
take the one that's right for you, copy it to the main 'iManager' folder and rename it
as what used by your editor eg. "editor_plugin.js" for TinyMCE or "fckplugin.js" for FCK
Then add it to your editor's congif file - more information on these can be found in the
"docs/readme.txt" file.

I copied "tiny_mce.js" and "tiny_mce_src.js" to this directory "cm/plugins/tinyfck/plugins/imanager" so please advise.
Thanks in advance.


You need to rename tiny_mce.js to editor_plugin.js and tiny_mce_src.js to editor_plugin_src.js

Than, open the imanager - docs/readme.txt
It says how to add the icon to the TinyMCE.

You need to edit plugins/tinyfck.php
and add the iManager plugin, you will see in there:
Code: Select all
   plugins :
    "safari,spellchecker,pagebreak.......

Just add there imanager
Also, the same way, you will see
Code: Select all
theme_advanced_buttons3 : .........

Also add there imanager, wherever you want (you can add in buttons 1 or 2 if you prefer)
it is the placemnet of the button.

Hope it helps,

DarkSlim
User avatar
DarkSlim
 
Posts: 296
Joined: Thu Aug 06, 2009 4:18 pm
Location: IL

Postby mrtn8844 » Wed Mar 10, 2010 6:47 pm

Thank you for your help. It works but when I click the imanager icon it load the imanager webdialog but with an error " Directory Error".
mrtn8844
 
Posts: 42
Joined: Mon Mar 01, 2010 5:59 am

Postby DarkSlim » Wed Mar 10, 2010 7:54 pm

mrtn8844 wrote:Thank you for your help. It works but when I click the imanager icon it load the imanager webdialog but with an error " Directory Error".


Check the following:


Code: Select all
2. Make sure the following directories have writing permission (chmod to 0755):
iManager/scripts/phpThumb/cache - should there be any files already, plese delete those!!!
iManager/temp


Code: Select all
3. Check configuration settings, the configuration of iManager if fairly easy - it depends a little
on what wysiwyg editor you're using, the configuration file is "config/config.inc.php", edit it.


It is an important step, as you need to choose which directories to use
there are comments in the congif file too that will help you.

Code: Select all
5. After all that, you need to choose which folders to be able to upload to, there are
two posibilities:
Static image libraries - you choose exacly which folders to show and only them
Dynamic image libraries - you choose a folder and it automaticly adds all the sub-folders
There is an explenation on how to change it in the config file and in the "docs/readme.txt" file


And Also:

* If you have IIS on your server you might need one fix for the "phpthumb" to work, here it is:
open "scripts/phpThumb" folder and edit the "phpthumb.class.php" file like this, Find:

Code: Select all
$this->sourceFilename = $this->ResolveFilenameToAbsolute($this->sourceFilename);


Under add:

Code: Select all
if ($this->sourceFilename=="" OR $this->sourceFilename==null) {$this->sourceFilename=$this->fixslashes($this->src); }

User avatar
DarkSlim
 
Posts: 296
Joined: Thu Aug 06, 2009 4:18 pm
Location: IL


Return to Help



Who is online

Users browsing this forum: No registered users and 1 guest