I have extended the built-in file manager to provide:-
. a thumbnail view (instead of the original list)
. delete file & folder option
These features have been implemented so that other server
side connector can make use of them.
(no docs for the interface for them yet)
Updated my previous php connector to fully implemented
the new features :-
. Returns appropriate icons for files by mime type
and/or file extension (mime type only when mime-magic
support is in php (not required!))
. Generates thumbnails for images where GD support in
PHP is available. Thumbs are cached to avoid
regeneration every time the user view the filemanager.
. Delete files and recursive deletion of folders and
their contents.
The filemanager update and connector are available in
one package from:
http://www.mcpuk.net/downloads/fck_fb_conn_php_new.zip
please note the old connector prior to extensions is
available from the address in earlier posts on this
forum or from my website.
Wed, 05/11/2005 - 07:42
#1
RE: Unofficial filemanager update + php conne
thanks for your job, looks very nice
but i've tried and have an error
you could see the result of testme.php here :
http://pedagogie.ac-toulouse.fr/ariege- ... testme.php
What's wrong Doc ? thank you.
RE: Unofficial filemanager update + php conne
RE: Unofficial filemanager update + php conne
ok.
php version is : 4.2.2-7
i have changed "file_get_contents" fonction by "readfile" fonction to end the test.
and now i have " Warning: open_basedir restriction in effect" when the testme.php try to create a directory.
you could see the result here :
http://pedagogie.ac-toulouse.fr/ariege- ... estme2.php
i think is due to to "php safe mode"
;-(
ps : i have tested with an another hosting provider (with php 4.2 and php safe mode off) and it's ok
ps2 : you should rename 'folder96.jpg' by 'Folder96.jpg' if not image don't appear.
ps3 : sorry for my english...
RE: Unofficial filemanager update + php conne
RE: Unofficial filemanager update + php connector
I can't get the thumbs to wrap with folders...
http://www.prosjektweb.net/FCKeditor2/_ ... fault.html
BR Martin Kronstad
RE: Unofficial filemanager update + php conne
RE: Unofficial filemanager update + php connector
I just downloaded it , When I set the maxCols to a number the wrapping works ... If I use alert(maxCols) it returns NaN ...
Why not itegrate the editorfeature of the ImageManager in this connector ? Then it would be a great contrib to this great project. (I mean to use only the editor not the imagepicker)
http://www.prosjektweb.net/imagemanager ... alone.html
br Martin Kronstad
RE: Unofficial filemanager update + php conne
Sorry about that, the zip at
http://www.mcpuk.net/downloads/fck_fb_conn_php_new.zip
contains the fix for this bug, you need only update the frmresourceslist.html file which is in the bits directory of the zip.
RE: Unofficial filemanager update + php connector
BR Martin Kronstad
RE: Unofficial filemanager update + php conne
Will keep you all posted on progress...
RE: Unofficial filemanager update + php connector
Great! please add martin.kronstad@broadpark.no to any maillist you have
BR Martin Kronstad
RE: Unofficial filemanager update + php conne
I can't say how much I appreciate your work on the PHP connector! It's great to see open source at work; truely great work.
I've struggled with getting the editor to work with both FireFox and IE. I was wondering if you might be able to ZIP/RAR your complete FCKEditor/PHP Connector - all together - for those of us unable to follow all of the bug/error corrections over the past month?
Thanks in advance,
Jeff Walters
RE: Unofficial filemanager update + php conne
RE: Unofficial filemanager update + php conne
i hope it is possible.
thanks a lot
janosh
RE: Unofficial filemanager update + php conne
I have setup a small site for the extensions to the file browser. ( http://www.mcpuk.net/fbxp )
The site contains:-
- Screenshots (before and after)
- The Fully Implemented PHP Connector
- A complete zip of the updated filebrowser, including
most bug fixes.
- Full developer documentation of all the Commands
both the original ones and the new ones
I am hoping that someone will start work on a server
side connector in a different language that implements
these extensions.
RE: Unofficial filemanager update + php connector
I hope soon...
Is there any other way to upload files in fck?
I hope there is...
RE: Unofficial filemanager update + php connector
I've tried installing the latest version of Grant French's php connector / filemanager, but I"m having the following issue:
- try to create folder (okay)
- try to delete folder (okay)
- try to rename folder (okay)
- try to upload file - ERROR
Line: 130
Char: 2
Error: Object required
Code: 0
URL: http://www.myserver.com/fckeditor/edito ... pload.html
Any suggestions on how to fix this? Based on looking in the code, it looks the XML is not being passed correctly, but I'm not sure. ANy assistance would be greatly apprecaited!
RE: Unofficial filemanager update + php conne
RE: Unofficial filemanager update + php connector
`FCKConfig.LinkBrowserURL =
FCKConfig.BasePath + "filemanager/browser/default/browser.html?" +
"Connector=" + FCKConfig.BasePath + "filemanager/browser/default/connectors/php/connector.php&" +
"UploadHandler=" + FCKConfig.BasePath + "filemanager/browser/default/connectors/php/Commands/helpers/upload.cgi" ;
FCKConfig.LinkUploadURL = FCKConfig.BasePath + "filemanager/upload/aspx/upload.aspx" ;
(***I probably have to change this, but to what?***)
FCKConfig.ImageBrowserURL =
FCKConfig.BasePath + "filemanager/browser/default/browser.html?Type=Image&" +
"Connector=" + FCKConfig.BasePath + "filemanager/browser/default/connectors/php/connector.php&" +
"UploadHandler=" + FCKConfig.BasePath + "filemanager/browser/default/connectors/php/Commands/helpers/upload.cgi" ;
----------------------------------
I have set 0777 to the helpers directory and all files in it. Not sure what else to try. Thanks for your help!
RE: Unofficial filemanager update + php conne
filemanager/browser/default/connectors/php/Commands/helpers/
folder. If you cannot use the perl upload monitor then the info that you posted should look like:
FCKConfig.LinkBrowserURL =
FCKConfig.BasePath + "filemanager/browser/default/browser.html?" +
"Connector=" + FCKConfig.BasePath + "filemanager/browser/default/connectors/php/connector.php";
FCKConfig.ImageBrowserURL =
FCKConfig.BasePath + "filemanager/browser/default/browser.html?Type=Image&" +
"Connector=" + FCKConfig.BasePath + "filemanager/browser/default/connectors/php/connector.php";
As far as i can tell the LinkUpload bit hasnt been implemented in FCKEditor yet, so you dont need to worry about that config. There is no developer documentation on it anyway.
RE: Unofficial filemanager update + php conne
RE: Unofficial filemanager update + php connector
Just for reference, here are my updated fckconfig.js entries
FCKConfig.LinkBrowserURL =
FCKConfig.BasePath + "filemanager/browser/default/browser.html?" +
"Connector=" + FCKConfig.BasePath + "filemanager/browser/default/connectors/php/connector.php&" +
//"UploadHandler=" + FCKConfig.BasePath + "filemanager/browser/default/connectors/php/Commands/helpers/upload.cgi" ;
"UploadHandler=/cgi-bin/upload.cgi" ;
FCKConfig.ImageBrowserURL =
FCKConfig.BasePath + "filemanager/browser/default/browser.html?Type=Image&" +
"Connector=" + FCKConfig.BasePath + "filemanager/browser/default/connectors/php/connector.php&" +
//"UploadHandler=" + FCKConfig.BasePath + "filemanager/browser/default/connectors/php/Commands/helpers/upload.cgi" ;
"UploadHandler=/cgi-bin/upload.cgi" ;
Any idea what else I coudl try?
RE: Unofficial filemanager update + php conne
RE: Unofficial filemanager update + php conne
After doing a bit of research i am pretty sure that the root of the problem lies in the perl scripts, the JS error you reported would not stop an upload, but would prevent the progress bar from showing anything, if you download:
http://www.mcpuk.net/fbxp/downloads/TestUpdate.zip
There is an updated version of the frmUpload.html with error handling for this issue, also an updated version of the GetUploadProgress command for the connector (goes in the Commands folder) and an update testme.php script which now has a test for the progress.cgi and the associated connector command + DeleteFolder command.
RE: Unofficial filemanager update + php conne
RE: Unofficial filemanager update + php conne
I have just installed the fckeditor + my updates and connector to my web host, went qute smoothly.
Main changes made:-
-Set the correct location to perl on the top line of each of the 3 cgi files
-Set the temp dir path properly in the header.cgi file (my temp dir is just above my webroot rather than /tmp)
-Move 3 cgi files to /cgi-bin
-Changing references to the cgi files to point to cgi-bin instead of the default folder.
And to see it working it is here:
http://www.mcpuk.net/fbxp/demo/editor/test.php
RE: Unofficial filemanager update + php conne
really nice, and works pretty good!!!
, and I didn't even tried diacritics chars like and the like...
I just think it needs some fool proof cheking, like if someone tries to upload a file named test "strange_chars_#&"'?%$.JPG" (I just tried, and it doesn't like it that much
RE: Unofficial filemanager update + php conne
RE: Unofficial filemanager update + php connector
I have trouble with the preview thumbnails.
I have downloaded the newest version.
but I have still the same problem.
look at http://wcv.dyndns.org/test.php
RE: Unofficial filemanager update + php connector
It works fine ! Great extensions ! Nice job ! Thanks a lot !
Lionel