Well that wasnt a good fresh start, but should all be fixed now (updated full package, php connector, php integration pack). For obvious reasons when you click insert image you can only select from the images category. The other categories are used by the insert link -> browser server page.
I just downloaded the very latest Full Package file (fbxp_full_041119.zip) from the site and I've had the following problems:
1. I've had to modify the file from : /sandbox/editor/editor to get it to work in the root.
2. I tried using the test.php and when I do try to open the File Manager, it appears that there is a debug script that opens a new window everytime you try and perform any operation within the Browser.
3. When creating a new folder, it automatically displays that folder as "noname_dir". And therefore you cannot delete it.
4. I was unable to upload anything other than images. I thought we were supposed to be able to upload other file types as well?
5. And I don't know if this is an error with the FCKEditor or not, but I just happened to add a background color to some text. When I clicked on the Show Me submit button in the test.php a second time around, it no longer showed the background color, but kept adding quotes " and backslashes \ to the code.
I got the example to work -- kinda. Once you apply stripslashes to the POSTed string coming from the editor, you can use it properly.
If I were any good at navigating through the js code, I would have found out why ... for now, I'm happy enough that I have a workable solution <g>. Still would like to find out how we can fix it .
Unfortunately the progress bar itself isnt the problem, the problem is that PHP has no way of monitoring uploads, the php script is only executed after all post data has been recieved by the server, hence the neccesity of the perl scripts. The only other option is to run a patched copy of PHP which is even less accessible to most than the perl option. The PHP developers should really get there act together and sort this out, it has been mentions hundreds of times in the php developement forums for years.
I Think you will find the problem is that the mechanism used to send the request to the connector does not send the cookie data with the request, hence the sessionid doesnt get passed onto the connector. If you are using my extensions (recent copy) go into the /filemanager/browser/default/js/fckxml.js and uncomment the lines near the top of the file around line 58 i think, this will provide you with a popup window in the filemanager with the contents of the result from the connector for the last call to it. User specific folders is something i am looking at, but image editing is currently a higher priority.
Good luck, always happy to [try and] answer any questions
According to fredck's message, a new version will be available next week.
Hope you could make the connector configurable for mulitlange. [I have checked the js files, it could be done by adding a new config. Hope no need to change the js files by the new version.]
For the upload folder, I hope it can be configurable with php parameters and it can be put outside of fckeditor's root path.
I am not sure what changes would need to be made to the filemanager to make it multi lingual, from what i can tell the filemanager has no support for other languages in its structure, maybe this will be different in Freds next release.
I will write out a list of messages generated by the connectors and post them so others may translate, i will then try an build this into the connectors.
Upon release of the new editor i will update the file browser extensions based on the new version, and hopefully release them a few days after the new editor version.
The current PHP connector has support for latin characters in file names.
As for changing where uploaded files go both the PHP and ASP connectors can be configured to change this in the config.php and config.asp respectively.
I need make the $config['UserFilesPath'] to be set when calling the fckeditor class. The reason: I am adapting fckeditor to our CMS, in which different modules might have different upload folders.
This will be possible in the next release of the FileBrowser Extensions + Connectors, thanks to some help from Ally. The code i have running on my development machine has this up and running, i will release a new version of all the fbxp stuff a few days after the new fckeditor is released.
sorry for the confusing words: "Hope you could make the connector configurable for mulitlange." Here I am not talking about uploader but the whole editor, to be more specific: the language should be set by the fckeditor.php like other configure parameters.
RE: PHP,ASP Connectors & File Browser Extensions
http://www.13thirteen.net/sandbox/editor/test.php
RE: PHP,ASP Connectors & File Browser Extensi
RE: PHP,ASP Connectors & File Browser Extensions
1. I've had to modify the file from : /sandbox/editor/editor to get it to work in the root.
2. I tried using the test.php and when I do try to open the File Manager, it appears that there is a debug script that opens a new window everytime you try and perform any operation within the Browser.
3. When creating a new folder, it automatically displays that folder as "noname_dir". And therefore you cannot delete it.
4. I was unable to upload anything other than images. I thought we were supposed to be able to upload other file types as well?
5. And I don't know if this is an error with the FCKEditor or not, but I just happened to add a background color to some text. When I clicked on the Show Me submit button in the test.php a second time around, it no longer showed the background color, but kept adding quotes " and backslashes \ to the code.
If I find anything else, I'll post again.
RE: PHP,ASP Connectors & File Browser Extensi
I think the same problem may also exist with images, tables, smileys ... I get a box on the screen with backslashed quotes inside ...
RE: PHP,ASP Connectors & File Browser Extensi
I got the example to work -- kinda. Once you apply stripslashes to the POSTed string coming from the editor, you can use it properly.
If I were any good at navigating through the js code, I would have found out why ... for now, I'm happy enough that I have a workable solution <g>. Still would like to find out how we can fix it .
My test.php is below;
//---------------
// ...
<form method="post">
<?
$tp = stripslashes($_REQUEST['testpage']);
// ...
$editor->SetValue($tp?$tp:"Enter page data here");
// ...
<?
if (isset($_REQUEST['testpage'])) {
echo $tp;
}
[Suggestion] Php progress bar
http://holliwell.mirrors.phpclasses.org ... /1964.html
RE: [Suggestion] Php progress bar
Unfortunately the progress bar itself isnt the problem, the problem is that PHP has no way of monitoring uploads, the php script is only executed after all post data has been recieved by the server, hence the neccesity of the perl scripts. The only other option is to run a patched copy of PHP which is even less accessible to most than the perl option. The PHP developers should really get there act together and sort this out, it has been mentions hundreds of times in the php developement forums for years.
Thanks never the less for your suggestion.
Grant
RE: PHP,ASP Connectors & File Browser Extensi
RE: PHP,ASP Connectors & File Browser Extensi
Good luck, always happy to [try and] answer any questions
RE: PHP,ASP Connectors & File Browser Extensi
RE: PHP,ASP Connectors & File Browser Extensi
request: multilingual, upload path
According to fredck's message, a new version will be available next week.
Hope you could make the connector configurable for mulitlange. [I have checked the js files, it could be done by adding a new config. Hope no need to change the js files by the new version.]
For the upload folder, I hope it can be configurable with php parameters and it can be put outside of fckeditor's root path.
RE: request: multilingual, upload path
I'm donating this weekend. The absolute least I can do!
Jake
RE: request: multilingual, upload path
I will write out a list of messages generated by the connectors and post them so others may translate, i will then try an build this into the connectors.
Upon release of the new editor i will update the file browser extensions based on the new version, and hopefully release them a few days after the new editor version.
The current PHP connector has support for latin characters in file names.
As for changing where uploaded files go both the PHP and ASP connectors can be configured to change this in the config.php and config.asp respectively.
Grant
RE: request: multilingual, upload path
default:
$config['UserFilesPath']="/sandbox/editor/data/resources";
could change it to "/resources" which would be outside of the editors base directory.
config.asp
default:
config_UserFiles="/forum/uploads"
Default is already set outside the editors base directory.
RE: request: multilingual, upload path
I need make the $config['UserFilesPath'] to be set when calling the fckeditor class.
The reason: I am adapting fckeditor to our CMS, in which different modules might have different upload folders.
RE: request: multilingual, upload path
RE: request: multilingual, upload path
I was also working on a multilingual filemanager ....
RE: PHP,ASP Connectors & File Browser Extensi
"Hope you could make the connector configurable for mulitlange." Here I am not talking about uploader but the whole editor, to be more specific: the language should be set by the fckeditor.php like other configure parameters.
RE: PHP,ASP Connectors & File Browser Extensi
https://sourceforge.net/forum/message.p ... id=2870716