WebNaz Creations | Cyprus Hosting

ezFilemanager v2

2010, March 08, ezFilemanager v2.1.1c has been released
  1. Better security
  2. Easier configuration
  3. All user inputs are sanitized extensively, both from the client and server site.
  4. Extensive use of jQuery
  5. Upload multiple files
  6. Create multiple folders
  7. If a folder/file name exists, it will be appended by a number
  8. Recursively delete directories/files
  9. Rename files/folders
  10. Preview images & flv
  11. Listen to audio files
  12. Create image thumbs
  13. Download files
  14. Copy/Paste files between directories
  15. Custom header branding
  16. Added option for multiuser (Implemention is up to you, or if you need help, contact me)
  17. Multilingual (English, Dutch, German, Norwegian, Portuguese)
MINI-FAQ

  • Click on Folder icon to browse
  • Double Click on Folder/File name to rename
  • After renaming a file, you will still be able to preview but install in your editor, will not work
  • Move (hover) your mouse over any file Icon
    If it is an image you will see the thumb view of the image
  • Click on any file icon image to see more information about the file
    If it is an image you will see the option to create a thumb
    If the file is an image, flv or audio you will be able to preveiew it with JW-Player
  • Right click on a file icon to open the context menu (not working with Opera)
  • Right click on a Folder icon to paste file, or click on the paste icon
  • Opera users can click on a file icon and then click on copy to copy/paste a file
    Note that clicking on the copy link in the file information panel is experimental
Version Notes

ezFilemanager v2.1.1c final 08-03-2010
  • Fixed delete file/folder javascript error
  • Added Portuguese translation (by Anderson)
ezFilemanager v2.1.1b final 14-02-2010
  • Added Norwegian translation (by Ole Harald)
ezFilemanager v2.1.1a final 09-02-2010
  • Fixed check writable typo which returned false for Win OS
ezFilemanager v2.1.1 03-02-2010
  • Added option to enable/disable thumb creation
  • Added option to enable/disable copy/paste
  • Fixed image preview typo
  • Changed some definitions to more meaningful text
ezFilemanager v2.1 final 02-02-2010

  •  Changed ezFilemanager php functions to class
  •  Changed ezFilemanager folder read function
  •  Changed ezFilemanger config allowed file types
  •  Changed thumb creation prefix function
  •  Fixed copy/paste not working with IE when spaces in folder/file
  •  Fixed copy/paste/upload/rename not keeping file extension character case
  •  Added ezFilemanager folder navigation function
  •  Added better upload error handeling
  •  Added option to disable image mouse-over preview
  •  Added JW-Player to media files (www.longtailvideo.com)
  •  Added toggle (hide/show) link to directory information
  •  Added Dutch translation (by Peter Bakker)
  •  Added German translation (by Herbert Weissenboek))
  •  Removed breadcrumbs.inc.php
  •  Removed upload_path/dir_path hidden form fields for better security
ezFilemanager v2.0.1a final 21-01-2010
  • Fixed Image Preview javascript not returning correct this.href
  • Fixed PHP get_file_mime function for unknown file types
  • Changed Insert Image/File link (Tiny_MCE) javascript
ezFilemanager v2.0.1 Final 18-01-2010
  • Fixed DOCUMENT_ROOT ending slash problem
  • Fixed right click context menu delete function
  • Fixed file renaming not updating correctly in memory file to copy (if it exists)
  • Fixed file upload function not verifying upload directory
  • Fixed folder creation function not verifying directory in which the new folder will be created
  • Changed PHP htmlspecialchars_decode to javascript
  • Added option to allow/disallow spaces in file/folder names (config)
  • Added security/sanitation to file/folder deleting function
  • Added javascript checking for tiny_mce_popup.js correct URL
  • Removed file/folder renaming disabling delete checkbox
  • Compressed js files
ezFilemanager v2.0 Final 12-01-2010
  • Fixed ezFilebrowser showing hidden linux directories
  • Added right click download,copy,paste and delete context menu
  • Added file copy/paste between directories
ezFilemanager v2.0 Pre Release 07-01-2010

  • Fixed CSS compatibilty with major browsers
  • Fixed bug files/folders renaming overwriting existing files
  • Fixed bug files/folders renaming not getting sanitized completely
  • Fixed bug files/folders renaming textarea width not setting to correct width
  • Fixed bug folders renaming not changing URL if GET type or tmce were in the link
  • Fixed bug filebrowsers default sorting by name ignoring Uppercase
  • Fixed bug thumb view not working after renaming
  • Fixed bug thumb creation not calculating correct dimensions
  • Fixed bug OS/platform dependand javascript errors
  • Fixed bug screen resizing/flickering on thumb view
  • Fixed bug in bytestostring() PHP functions
  • Fixed PHP warnings for depreciated functions and date()
  • Fixed language translation, now all texts are used within langs/en.inc.php
  • Added option (in config.inc.php) to add index.html (or any other file) to newly created folders
  • Added option (in config.inc.php) to hide user defined files, e.g. index.html
  • Added option (in config.inc.php) for header branding (enable/disable and customize see /css/branding folder)
  • Added option (in config.inc.php) to use Kb/KiB and MB/MiB (http://en.wikipedia.org/wiki/Kibibyte)
  • Added option (in config.inc.php) for Date format (http://php.net/manual/en/function.date.php)
  • Added browsing directory information (number of directories, number of files and size of current directory)
  • Added view file information (date created/modified, Permissions, size and if image; dimensions)
  • Added image thumb file creation in file information, the new image thumb is proportinally resized to the entered width
  • Added force mime download (simulating right click->save as download)
  • Added tooltips with minimal help information
  • Added "select all" tick-boxes
  • Added more visual informations to ezFilemanager GUI
  • Changed config for easier configuration
  • Changed Maximum upload size (in config.inc.php), now you can use either server(php.ini) default size or custom size
  • Changed ezFilemanager GUI to disable delete/rename/upload/thumb/new folder creation in non-writable folders

Please report any bugs or problems that you encounter.
Hope you like the new version, as much as I liked scripting it.
Installation

Copy the ezFilemanager folder and contents to your TinyMCE plugins directory.

  1. Stand alone installation
    Open config.inc.php and edit configuration, mainly the UPLOAD_DIR
    Just point your browser to the ezfilemanager folder
  2. Plugin Installation within TinyMCE
    Open config.inc.php and edit configuration, mainly the UPLOAD_DIR
    You have to edit 3 pages, ezfilemanager/index.php, ezfilemanager/js/ez_tinyMCE.js and your page containig tiny_mce

    a) index.php
        Open ezfilemanager/index.php
        Set the path of <script src="YOUR-PATH-TO/tiny_mce_popup.js" type="text/javascript"></script>

    b) ez_tinyMCE.js
        Open js/ez_tinyMCE.js and edit var cmsURL ="..."
        var cmsURL = "http://"+document.domain+"/YOUR-PATH-TO/ezfilemanager/index.php";

    c) Your page containing the tiny_mce editor
        Add ez_tinyMCE.js to your tiny_mce page, make sure the path is correct
        <script type="text/javascript" src="your-path/tiny_mce.js"></script>//This allready exits
        <script src="YOUR-PATH-TO/plugins/ezfilemanager/js/ez_tinyMCE.js" type="text/javascript"></script>//Add this

    Add plugin to TinyMCE plugin option list. example: plugins : "ezfilemanager".
    Add the button, example: theme_advanced_buttons3 : "ezfilemanager".
    After your buttons, add file_browser_callback: "CustomFileBrowser",
    Make sure you have "advimage" plugin loaded as well
    Example snippet
    in your TinyMCE init:
        tinyMCE.init({
            mode : 'textareas',
            theme : 'advanced',
            plugins : "ezfilemanager,advimage.......",
            theme_advanced_buttons3_add_before : 'separator,ezfilemanager',
            relative_urls : false,
            file_browser_callback: "CustomFileBrowser",
            ..........
        });
2010-03-09

Comments 10

Rainer 5th December 2009 23:05 p.m.

The new version looks like it should be great. Alphabetical order is fantastic. I use the file manager functions only within advlink and so far I am unable to upload files or create directories. The tabs are there but do nothing.

 

Make sure the jquery files are loaded.
If you leave the fields empty are you getting an alert?
Also it would help a bit more info about your OS and Browser
Rainer 6th December 2009 14:33 p.m.

Sorry, my bad. Forgot about the browser. I use Fireworks 3.5.5 on a Windows 7 Ultimate operating system.

I actually don't get any fields because clicking on the tab for file upload or new directory doesn't do anything.

Funny thing is that when I right click on the upload or create new directory tabs and tell them to open in new tab, it opens a second instance and then the functions work.

How do I make sure the JQuery is loaded?

Rainer 6th December 2009 15:01 p.m.

Just for the heck of it, I tried Firefox 3.5.5 on Windows XP Pro and have the same issue.

Tiny_MCE was overwriting the ezFilemanager css, not to mention a javascript bug.
All have been fixed now with the new betta version.

Please download the v2a and let me know if you have any problems.
Dwaine 11th December 2009 18:34 p.m.

I like the new layout and configuration. In my implemention of your v1.0 I had both standalone and tinymce in use, for the sandalone I use my site header/foor template (just a header.tpl.php file) so I can intergrate my site security. maybe for your next rev as this moves toward 2.0 final you could use that idea so the standlone quickly intergrates to a users site/security system.
Thanks no matter what I really like your product!

Sure why not, I'll have it in mind.
Dwaine 18th December 2009 16:49 p.m.

Check your index.php in the ezfilemanager root folder around line 340 you left out the closing head tag before the body tag

Dwaine 21st December 2009 06:52 a.m.

I have a couple of ovservations/comments, 1st on the file manager tab the folder icons are so small it's confusing as to what to click to go into a folder, the folder name looks like a link so you end up clicking that until it goes into rename mode. I suggest making them larger and setting the column spacing between the checkbox, folder icon and folder name larger mabe a seperator line. 2nd maybe add a 4th tab with help/faq for the filemanger, just put the text in your lang file, this will make it really user friendly, these help/faq are on using the file manager not setting it up, so over that's pretty short stuff.
Thanks..

Thanks for your suggestions and feedback, I'll have them in mind, but regarding the 4th tab, I'm not sure. After all this is open source, anybody can modify it according to his/her needs
Dwaine 24th December 2009 18:01 p.m.

I seem to be having an issue with the preview function, both on mouseover and when you click to get the image preview, this is in standalone mode, intergrated to my admin panel.
When you mouseover the image icon you get a red x if you click it to preview you get a file not found error, it seems to be dropping the server name from the file path (http://files/boat_pics/2600_bowrider/ao2600bowrdr-1.jpg), not sure if this comes from the js in the html head or the filbrowser.php view div.

open config.php and enter your host name in SITE_URL
define("SITE_URL","http://".$_SERVER['HTTP_HOST']."/");//trailing slash required
Change with
define("SITE_URL","http://WWW.YOUR-DOMAIN.COM/");//trailing slash required
Ivana 28th December 2009 19:13 p.m.

This is nicy manager, but when I upload image/file how could I insert it into the TinyMce editor? I don't see Insert/Update button?

If you have installed advanced image plugin, when you click on the image icon, from the popup you will be able to launch ezFilemanager and install will be available.

You cannot install directly if you click the ezFilemanager icon (like folder) on the TinyMCE toolbar
Peter Bakker 14th January 2010 17:02 p.m.

Hi Naz,

Thank you for the ezFilemanager 2
Looks great.

For me it works stand alone and in tinyMCE from the ezFM-folder-icon.

And I can choose an image when I acces ezFM from the tinyMCE image icon window.
But I cannot insert a choosen image in the tinyMCE image-window. The green arrow is there in the ezFM window, but when I click on it the image just appear in a separate window and nothing more happens.
(I hope you understand what I try to tell).

Do you have an advice for me?

Thanks, Peter

Make sure the path of tinye_mce_popup,js is correct

Open ezfilemanager/index.php and edit the path of tinye_mce_popup,js line 24
<script type="text/javascript" src="YOUR-PATH-TO/tiny_mce_popup.js"></script>
Peter Bakker 14th January 2010 18:34 p.m.

I had already the paths and URL's allright, Naz. And I did it again.
I also tested with all the paths and URL's hardcode (instead of using document.domain in ez_tinyMCE.js, etc).

Peter

Add Comments

Optional

captcha


Products
Free Scripts
Terms & Legal
Featured Clients
Chris Law
Ameicana Hotel UK
Tyres 4u
Blockmountings
Platos Bar
Limassol Golf Club
Ararat Futsal
Cyprus Golf Federation