Posts: 1,108
Threads: 70
Joined: Aug 2009
This is the support topic for my plugin KCFinder for GetSimple.
http://get-simple.info/extend/plugin/kcf...nager/524/
This plugin provides a new File manager which allows you
o - detach the File Manager to have it at your disposal all the time
o - created/delete folders
o - rename files
o - upload multiple files at once
I've been unable to get it working properly integrated into the CKEditor for this version.
This plugin is based on KCFinder ( http://kcfinder.sunhater.com/)
It has a couple of small modifications to get it to work with GS.
Posts: 3,491
Threads: 106
Joined: Mar 2010
Thanks Mike.
I found an error: the open in window link doesn't work. There's a typo in kcfinder.php line 41: javascrip (no t)
Posts: 1,108
Threads: 70
Joined: Aug 2009
@carlos, thanks, just updated to 2.1 to fix this...
Posts: 324
Threads: 5
Joined: May 2012
2012-10-25, 18:54:54
(This post was last modified: 2012-10-25, 18:57:48 by CWyd.)
Great addition, much easier to manage files.
Would it be possible for this plugin to hide the link for the other file manager?
There seems to be many non necessary folders/files (drupal.php, doc, etc.), is it safe to remove these?
Posts: 1,108
Threads: 70
Joined: Aug 2009
I'll tidy it up for the next release, but I want to make it easy to update to later revisions of KCFinder and not create too much work for me.
It has a lot of unnecessary icons/images too which i'll remove as they are taking up most of the space of the plugin.
Posts: 1,927
Threads: 88
Joined: Apr 2010
Your plugin does not create thumbnails
Posts: 1,108
Threads: 70
Joined: Aug 2009
no its not meant to , its a file manager.
Posts: 324
Threads: 5
Joined: May 2012
2012-10-29, 02:58:39
(This post was last modified: 2012-10-29, 07:54:44 by CWyd.)
Add to to-do list, switching languages doesn't change KCFinder lang.
Tried to manually change it by editing the config file, but it wouldn't either.
Edit: also, if possible, hide file types (ie. .htaccess, etc.) so users dont delete these.
Posts: 1,108
Threads: 70
Joined: Aug 2009
I've updated to version 2.2 which should now switch languages.
If you language does not exists in the /plugins/kcfinder/lang folder it will default to english.
Posts: 324
Threads: 5
Joined: May 2012
Posts: 185
Threads: 8
Joined: Apr 2012
how can I edit default path? because it's pointing me to plugins/ckfinder/uploads
+ where can I edit language for GS admin buttons ? (KCFinder File Manager, Open In Window)
thanks
Posts: 324
Threads: 5
Joined: May 2012
I had a small problem with users uploading files with foreign characters (á,ÃÂ,ñ, etc.) in the name, which would cause problems using these files.
To fix this, I changed the following in "plugins/kcfinder/core/browser.php"...
Line 267 from:
to:
Code: //'name' => $name,
$SpecialChars = array("á", "é", "ÃÂ", "ó", "ú", "ÃÂ", "É", "ÃÂ", "Ó", "Ú", "ñ", "Ñ", " "),
$ReplacementChars = array("a", "e", "i", "o", "u", "A", "E", "I", "O", "U", "n", "N", "_"),
'name' => str_replace($SpecialChars, $ReplacementChars, $name),
Alternatively, you could use the following to preplace all foreign characters with an "_":
Code: //'name' => $name,
'name' => preg_replace('/[^A-Za-z0-9\.]/', '_', $name), // replaces all foreign characters with underscore
Posts: 324
Threads: 5
Joined: May 2012
Not sure where to report this, but I was trying to re-download this plug-in from the the extensions page and the zip package contains a different extension (author vcard).
Posts: 1,108
Threads: 70
Joined: Aug 2009
oops might have done that while testing extend issues , should be sorted now...
Posts: 324
Threads: 5
Joined: May 2012
Does anyone know how to get this to hide file types (ie. .htaccess, index.php, etc.) so that users dont delete these?
Posts: 3
Threads: 0
Joined: Jun 2019
2019-10-19, 21:09:00
(2015-04-28, 20:31:38)islander Wrote: Does anyone know how to get this to hide file types (ie. .htaccess, index.php, etc.) so that users dont delete these?
Also interested in this question.
I know that a lot of time has passed, but I hope it is still relevant.
I found a modified version of the KCFinder plugin (the old version 1.2, it seems, was in some kind of assembly).
In this version, the .htaccess file is not displayed.
I tried to figure out and transfer part of the code to the new version, but it didn’t work out - I don’t really understand php.
Perhaps you can find the part of the code responsible for displaying and filtering files and share information here. Archive uploaded here: https://dropmefiles.com/JKDA0
It is also very interesting how you can add the ability to create image thumbnails on the principle of a standard getsimple loader.
I am sorry for my English.
Posts: 324
Threads: 5
Joined: May 2012
(2019-10-19, 21:09:00)Sergey12 Wrote: I know that a lot of time has passed, but I hope it is still relevant.
Yes, so much time has passed, that I dont remember if I found a solution or not
But I have since moved on and am no longer using KCFinder.
You may want to take a look at Responsive FileManager which, for me, is a more elegant solution.
|