Release Notes

1.1.2 (2013-04-05):
 

  • fixed: files lost their folder if the access of the folder was updated (thanks to Tauvic Ritter for reporting)
  • fixed: uploading a zip could create an empty folder
  • changed: layout of the upload page, now with tabs for the different option (single file, multi file, zip file)
  • removed: old css file
  • removed: tags from multi upload form
  • @Krischan

    Great plugin, but it has a small bug:

    In closed (not open) groups all folders (even if they and their content are marked as "public") can't be accessed by non-logged in users it seems. A direct link to the public file works, but if I press on "group files" or directly link to a subdirectory the Elgg message "You must be logged in to view that page" pops up.

    As @Ed said. I added a group gatekeeper to all folder pages (so you have to be a member of the group). In the default files plugin all listings of files in the group are also protected. That you can link to an individual file can be somewhat inconsistent.

    In Elgg 1.9 this all will be changed. As the group owner you can then set your the access it for group content.

  • I'm changin my Elgg server. Can't see any old files. I guess I¨m supposed to change the "data/file_tools/zip_temp" folder into my new servers data folder? Is there any additional DB modifications to be done? I've followed the usual steps in the wiki:http://community.elgg.org/discussion/view/504276/duplicating-a-site-on-a-new-server

    Thank you!

  • @Darth Vader

    I'm changin my Elgg server. Can't see any old files. I guess I¨m supposed to change the "data/file_tools/zip_temp" folder into my new servers data folder? Is there any additional DB modifications to be done? I've followed the usual steps in the wiki:http://community.elgg.org/discussion/view/504276/duplicating-a-site-on-a-new-server

    The 'file_tools/zip_temp' folder is only used for temp files, so there is no need to do anything with it.

    Are you seeing profile icons on your migrated site? Have you checked the permissions on the new files, so can the webserver access those files?

    All the instructions of http://docs.elgg.org/wiki/Duplicate_Installation should be followed.

  • Jerome - Thanks for developing this plugin.

    1. When editing a folder (http://SITE/file_tools/folder/edit/GUID), shouldn't we prevent the user from selecting the parent folder from being itself (i.e., this seems to cause problems). I was able to remedy the situation by adding "unset($options[$folder_guid]);" at line 32 of file_tools/views/default/input/folder_select.php 

    2. I'm experiencing problems trying to save the file_tree widget settings. There is a checkbox for each folder, but it seems like the settings can not be saved (because the elgg core (ElggWidget class) does not handle saving an array as a value. I wrote a plugin hook for to catch ('widgets_settings', 'file_tree'), that will create a comma seperated string and store that instead, this works, but would be problematic if the folder name contains a ','. Is anyone else experiencing this issue? I can post the new hook if you'd like.

     

  • Would be cool if it included a document preview feature through http://viewerjs.org/

  • Jerome,

    Great plugin :)

    I'm trying to make "edit" link pop up in fancybox. I got the form loading but it gets wrong folder_guid. This is on parent folder full view page with subfolder listings below. It is fine if clicking on edit parent folder but when clicking on edit in the subfolder listing item, it inputs folder_guid of parent folder and not subfolder in the form.

    I see in page handler this code:

    case "folder":
                    if($page[1] == 'new') {
                        if(!empty($page[2])) {
                            elgg_set_page_owner_guid($page[2]);
                        }
                        $include_file = dirname(dirname(__FILE__)) . "/pages/folder/new.php";
                    } elseif($page[1] == 'edit') {
                        if(!empty($page[2])) {
                            set_input("folder_guid", $page[2]);
        
                            $include_file = dirname(dirname(__FILE__)) . "/pages/folder/edit.php";
                        }
                    }

    Am I correct in assuming that "set_input("folder_guid", $page[2]);" piece sets folder_guid of the parent folder? $page[2]

    Since form has "$folder_guid = get_input("folder_guid");" it gets folder_guid of a parent, I think anyway.

    How can I get folder_guide of subfolder that is listed below parent folder in the edit form? can I bypass "set_input("folder_guid", $page[2]);" somehow to get folder_guide some other way?

    Any suggestions are much appreciated.

  • I've installed file_tools 1.2.1 on my fresh 1.8.18 ellg installation but I can't see any changes. File Tools doesn't appear in "plugins" section and I don't see any change in file functions. Is this plugin tested on 1.8.18 elgg version?

  • I can confirm that it works with 1.8.18

    Check the name of the directory, it should be "file_tools".

  • @espinho

    I've installed file_tools 1.2.1 on my fresh 1.8.18 ellg installation but I can't see any changes. File Tools doesn't appear in "plugins" section and I don't see any change in file functions. Is this plugin tested on 1.8.18 elgg version?

    If the plugin doesn't show up in the Plugins listing then you didn't install it correctly. Please make sure the contents of the zip-file is uploaded in your /mods directory. Then you should seen a plugin "File tools" in the listing.

    After enableing the plugin please checkout the settings page in order to get some of the features to work.

  • Is there a way to allow mp3 uploads? I added the file extension in the settings but it won't play the file after upload. Yet with when plugin is disabled files plugin accepts mp3 files.  Thx

  • Found some problems, users changed the folder structure. Have to find out what they exactly did but think they renamed folders or created new ones and restructured the folder structure. Somehthing went wrong. Now is see files appear twice in the river. I have to make some db dump to figure out what went wrong.

  • Hi, I have installed the Ultimate Cool theme and everything is working great except the display of the file tree of filetools. How can I add the file tree uploaded in the side bar with le Ultimate cool theme ? Thanks in advance

  • Greetings,

    I have translate the english language file to german (en.php -> de.php).

    How can I now activate the de.php file, so that not the english text is showing, but the german text?

    Regards

       Michael

     

  • @Michael

    I have translate the english language file to german (en.php -> de.php).

    How can I now activate the de.php file, so that not the english text is showing, but the german text?

    First you'll have to put the de.php file in the same folder as the en.php file. Then goto Settings and change your language to German and now everything should be in german.

    Maybe you'll have to reset the caches of your site (you can do this on the admin panel or goto http://<yoursiteurl>/upgrade.php)

  • Thank you for your information!

    I have store the de.php file in the folder mod/file_tools/languages and the gerneral

    The language is set by the general setting to German and I have cleared the cache, but no german text is displayed.

  • @Michael

    I have store the de.php file in the folder mod/file_tools/languages and the gerneral

    The language is set by the general setting to German and I have cleared the cache, but no german text is displayed.

    You only need to put the file in mod/file_tools/languages. If you copied from the en.php please check at the bottom of the file and make sure it says:

    add_translation("de", $yourarrayname);

    And it should work just fine, check for example nl.php

  • add_translation("de", $yourarrayname);
    And it should work just fine, check for example nl.php

    I have checked en.php and nl.php files:

    In the en.php:   add_translation("en", $english);
    In the  nl.php:   add_translation("nl", $language);

    add_translation("de", $yourarrayname);

    Where can I read the "arrayname" from german?

     

  • @Michael

    Where can I read the "arrayname" from german?

    At the beginning of the file it says something like $yourarrayname = array(...............

  • Thank you, now work's.

      Michael

  • Will be possible when you upload a file to decide to make it visible for a list of users ?

  • @ivanoman

    Will be possible when you upload a file to decide to make it visible for a list of users ?

    All uploaded files follow the default Elgg access model http://learn.elgg.org/en/latest/design/database.html#access-control

  • Awesome plugin! Hope there will be a compatible version for 1.9 soon.

  • Hi at all,

    I don't know if this problem is only mine or not, but I don't see any icon in the tree folder list and when I press in the folder link, the page don't reload if I'm not reload manually.

    Jordi

  • I would love to use this plug-in, but I seem to have the same issue as I've read about.  The mime types don't appear to be detected correctly.  With a normal upload (with this plugin disabled) EX: upload mp3.  Icon has music notes.  zaudio plays said file.  If I enable to plugin then when I upload another mp3 file it is then just a "regular" file (text icon) and all that can be done with it id download it.  I must also mention that I'm running this under IIS8 on Window Server 2012.

Jerome Bakker

Developer @ ColdTrick IT Solutions

Stats

  • Category: Tools
  • License: GNU General Public License (GPL) version 2
  • Updated: 2019-3-20
  • Downloads: 12296
  • Recommendations: 46

Other Projects

View Jerome Bakker's plugins