New Module - Enhanced File Resource

New Module - Enhanced File Resource

Guy Thomas -
回帖数:158
Core developers的头像 Plugin developers的头像

Enhanced File Resource Module (multiple uploads)

Development sponsored by Ossett School and 6th Form College

ossett logo

Features

  • Easier to use than standard "link to a file or website"
  • Ability to select and upload multiple files at once
  • Uses Moodle approved YUI library for uploads
  • Upload progress dialog shows progress of individual files
  • Handles file overwrites with skip or replace options
  • Automatically removes and warns about files which are too large for site or course
  • Literally 4 clicks necessary to upload as many files as you want
Video of enhanced file module in action!

Server Requirements

  • Moodle 1.9.7+ (may work with earlier but no guarantees)
  • PHP5 - this module will not work with PHP4
link to module (please note that this link may be unavailable until the Moodle team have approved it)

(Edited by Helen Foster to add server requirements as requested by author - original submission Tuesday, 16 February 2010, 02:35 PM)

平均分:Useful (2)
回复Guy Thomas

Re: New Module - Enhanced File Resource

Gordon McLeod -
Plugin developers的头像
Looking forward to this being available - one of the bugbears for our staff is having to upload files one at a time. There are ways of speeding the process up - but the multiple select is much more like what they're asking for. Thanks!
回复Gordon McLeod

Re: New Module - Enhanced File Resource

Guy Thomas -
Core developers的头像 Plugin developers的头像
回复Guy Thomas

Re: New Module - Enhanced File Resource

Mary Cooch -
Documentation writers的头像 Moodle HQ的头像 Particularly helpful Moodlers的头像 Testers的头像 Translators的头像
Hey Gordon - I know Guy's module will be really helpful to staff but they didn't have to upload them one at a time -you could have shown them how to zip/compress a folder and upload a whole lot in one go!wink
回复Mary Cooch

Re: New Module - Enhanced File Resource

Guy Thomas -
Core developers的头像 Plugin developers的头像
Hi Mary.

I found the uploading a zipped folder a great stop gap for fixing this issue.
The only problem is that the resources then have to be displayed as a directory or added manually one at a time using "link to a file or website".

The enhanced file resource creates a resource for each uploaded file so it reduces the work load drastically.

The only caveat is, if you upload lots of files by accident then its going to take you a long time to remove them (but I might have a way round this issue in a future development!).
回复Mary Cooch

Re: New Module - Enhanced File Resource

Gordon McLeod -
Plugin developers的头像

Yep,

But that would assume individuals having a level of technical confidence somewhere above not breaking out in a cold sweat opening Word...mixed

To re-interpret Calvin - give them to me for 6 months and they'll be digitally literate for life!evil

回复Guy Thomas

Re: New Module - Enhanced File Resource

Joachim Vogelgesang -
  • German translation
  • works well - but not quite running excellent for mac
回复Joachim Vogelgesang

Re: New Module - Enhanced File Resource

Guy Thomas -
Core developers的头像 Plugin developers的头像
Many thanks, Joachim

I will add this to my development version tomorrow and it will go out in the next release.

Cheers

Guy


回复Joachim Vogelgesang

Re: New Module - Enhanced File Resource

José Ángel Polo -
回复José Ángel Polo

Re: New Module - Enhanced File Resource

Guy Thomas -
Core developers的头像 Plugin developers的头像
Hi Jose

Many thanks for your Spanish translation!

Guy
回复Guy Thomas

Re: New Module - Enhanced File Resource

José Ángel Polo -

Not at all.

I just upgraded to a phrase that I forgot.

Regards.

回复José Ángel Polo

Re: New Module - Enhanced File Resource

Mary Cooch -
Documentation writers的头像 Moodle HQ的头像 Particularly helpful Moodlers的头像 Testers的头像 Translators的头像
Ok -got php5 - got it working -did a video and blogpost smile

回复Mary Cooch

Re: New Module - Enhanced File Resource

Guy Thomas -
Core developers的头像 Plugin developers的头像
That's great, thanks for reporting back on success. I agree with your blog on the potential issue of death by resources. I do think that it will encourage more teachers to create courses though as it will be easier to populate them.
回复Guy Thomas

Re: New Module - Enhanced File Resource

Ash Tech -
Hey Guy,

The module seems to work excellently with our Moodle 1.9.4+. Our Staff will be loving this.

What would be a great additional feature is if you could create a new folder to upload the files to in case none of the existing folders are where you want to put the files.

Many thanks,

Ash & Lucy (Wrenn School)

回复Ash Tech

Re: New Module - Enhanced File Resource

Guy Thomas -
Core developers的头像 Plugin developers的头像
Good feature request.
回复Guy Thomas

Re: New Module - Enhanced File Resource

danny cobbinah -
why microsoft have not picked up the fact that there are different generations of people using different generations of IE. i still do some testing on IE6. there should be a way of getting all the IE browsers on your machine to test. so far they have come close with Expression3 that allows you to test with all the installations of IE you have on your machine. it allows you to test page by page rather than have a true browser specific experience.

thankful for trickles while waiting for a proper flow. lol!
回复danny cobbinah

Re: New Module - Enhanced File Resource

Guy Thomas -
Core developers的头像 Plugin developers的头像
If Microsoft don't make it easy for people to test with their browsers then they are going to loose even more market share. They need to provide a Linux version of IE (or at least make it work with wine).

I develop at home using 100% linux so I can't test with Internet Explorer.
For some of my projects I test them using my wifes XP laptop.
However, there will be plenty of people who simply give up on testing with Internet Explorer and pages will start to break.
Developers should be able to create a web app without paying 1 penny to Microsoft.
If it doesn't work with IE then its tough luck to Microsoft, people will download an alternative browser if the app is important enough and they will loose more market share.
Pretty much everything that I develop for Firefox works perfectly on Chrome, Safari and Opera without me having to apply any browser specific javascript. This should be the case with IE too but of course they have come very late to the game with standards support.

However, for this module I will make sure it works for Internet Explorer as I am developing at work on a windows OS.
回复Guy Thomas

Re: New Module - Enhanced File Resource

Mary Cooch -
Documentation writers的头像 Moodle HQ的头像 Particularly helpful Moodlers的头像 Testers的头像 Translators的头像
oK - I'm backsad In both FF and IE7 I can begin to upload the files -the bars go blue then orange -then nothing else happens and I don't get the successful upload message that you have in your video -and I can't get back to the course - I'm stuckmixed
回复Mary Cooch

Re: New Module - Enhanced File Resource

Mary Cooch -
Documentation writers的头像 Moodle HQ的头像 Particularly helpful Moodlers的头像 Testers的头像 Translators的头像
no - I'm in IE8 not & (shows how often I use it) and FF 3.5.8 and it just hangs on both 伤心
回复Mary Cooch

Re: New Module - Enhanced File Resource

Guy Thomas -
Core developers的头像 Plugin developers的头像
Hi Mary

Its not a browser or flash issue if you have got as far as you have - its a PHP4 issue.
If you get a chance can you try upgrading your test rig to PHP5 and then try the module?

A lot of my coding is now leaning towards PHP5 as we get closer to Moodle 2.

I will update the requirements section of the module description to include "PHP 5"

Thanks

Guy
回复Guy Thomas

Re: New Module - Enhanced File Resource

Ken Gibson -

Hey Guy,

Super addition. Installed and tested on Moodle 1.96.  When testing via same machine (so same version of flash):

  • Works perfectly with firefox 3.6 (multiple files selected, multiple uploaded, progress shown, GREAT!)
  • Won't work at all with IE 7.0 (no multiple file select and trying to upload a single file just hangs - select "save" and nothing happens).

Ken

回复Ken Gibson

Re: New Module - Enhanced File Resource

Guy Thomas -
Core developers的头像 Plugin developers的头像
Hi Ken.

I've tried this in IE8 and it works fine.
I've also tried it in IE8 with compatibility mode switched on, which to all intents and purposes should be IE7 and it worked fine.

I'm going to have to track down an IE7 machine to test this as I really don't want to spend 30 minutes un-installing IE8 just to test things in an IE7 browser.

Damn you Microsoft for not letting us install IE7 and IE8 concurrently, damn you I say!
回复Guy Thomas

Re: New Module - Enhanced File Resource

Guy Thomas -
Core developers的头像 Plugin developers的头像
Oooh, I stand corrected - Microsoft offer a virtual XP PC image with IE7 installed on it.
(Comes in at 800mb compressed, 2.4gb installed!).
I'm having to move / delete things from my hard disk now as I type just to get the damn thing to install!
Well done Microsoft on integrating the browser (unnecessarily) into the operating system so that you can try to keep your (failing) browser monopoly going.
回复Guy Thomas

Re: New Module - Enhanced File Resource

John Andrewartha -
Just two small items. The button is missing from the "Add File or Files." The area is clickable just not visible. Using FF 3.5.7.. I also can't do multiple select (ctl alt A or clt alt click) the highlights will not upload. 伤心
回复John Andrewartha

Re: New Module - Enhanced File Resource

Guy Thomas -
Core developers的头像 Plugin developers的头像
Which button - the "browse" button?
Also, have you got javascript enabled?
What version of Flash have you got installed?
回复Guy Thomas

Re: New Module - Enhanced File Resource

John Andrewartha -
The Add Files Button above the directory button in the file upload to folder button. In the edit files dialogue.
回复Guy Thomas

Re: New Module - Enhanced File Resource

John Andrewartha -
The flash version is 9*.. I qualify my comment Unix user. It work great in XP on FF. But there may be a problem with linux and Mac users. It does however work OK in WinFF under WINE must be something missing in the browser.
回复John Andrewartha

Re: New Module - Enhanced File Resource

Guy Thomas -
Core developers的头像 Plugin developers的头像
It works on Ubuntu Hardy Heron using Flash 10 64bit beta (that's my main OS!)
Are you using a 32bit flash plugin on a 64bit OS as I found 32 bit flash to be very flaky when running on a 64bit OS.

Guy
回复Guy Thomas

Re: New Module - Enhanced File Resource

Mary Cooch -
Documentation writers的头像 Moodle HQ的头像 Particularly helpful Moodlers的头像 Testers的头像 Translators的头像
Hi Guy. I just installed this to have a play on a test 1.9.7 Moodle - I *think* I installed it correctly and when I clicked notifications all the tables seemed fine etc - but when I went to a course and clicked the Add file or files I just got a blank page. With debugging turned on I got this message (which means nothing to me)

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in d:\Domains\MYTESTMOODLE.com\wwwroot\mod\enhancedfile\mod_form.php on line 194

Do I need to change/update something somewhere to get it working?
回复Mary Cooch

Re: New Module - Enhanced File Resource

Guy Thomas -
Core developers的头像 Plugin developers的头像
Hi Mary

Sounds like your test rig is using PHP4.
Line 194 uses a PHP5 features - protected function
If you remove the word "protected" it will probably work.

Moodle 2.0 is going to be PHP5 only so this is only a short term issue.

Thanks for reporting this issue.

P.S. I got your book yesterday - I have had a very quick look at it and it looks really good so far.

回复Guy Thomas

Re: New Module - Enhanced File Resource

Mary Cooch -
Documentation writers的头像 Moodle HQ的头像 Particularly helpful Moodlers的头像 Testers的头像 Translators的头像
Hey yessmile Well - I took out protected and when I tried again I got the correct next screen - so I am assuming the rest of it works - will go off an have a play now! Thanks.
回复Ken Gibson

Re: New Module - Enhanced File Resource

Guy Thomas -
Core developers的头像 Plugin developers的头像
Hi Ken

I've just tried this with IE7 and it works perfectly.
IE uses activex for its Flash plugin so you could have a totally different version of Flash installed for IE7.
Please can you let me know the version of flash you have installed on IE7?

Thanks

Guy
回复Guy Thomas

Re: New Module - Enhanced File Resource

Ken Gibson -

Hey Guy,

>>Hi Ken
>>I've just tried this with IE7 and it works perfectly.
>>IE uses activex for its Flash plugin so you could have a totally different version >>of Flash installed for IE7.
>>Please can you let me know the version of flash you have installed on IE7?

Machine with IE issue (Win XP):
IE 7.0 - add-ons - Shockware Flash Object - Flash10a - Won't Run
FF 3.6 - Runs fine

As I mentioned earlier (on this machine in IE 7), the Enhanced File Resource won't sucessfully "degrade" either to allow a single file upload.  Nothing happens when a single file is selected and "saved" for uplaod.

Test on another machine (Vista with IE 8.0 and FF 3.6) and works perfectly, so yes something is buggy here with this IE 7.0 install.

Ken       

回复Ken Gibson

Re: New Module - Enhanced File Resource

Ken Gibson -

Tested on another machine (XP, same version of IE 7.0) and works fine on that - so the issue is on my side w/flash.  Troubleshooting and will report back.

FYI: full debugging on is showing no errors.   

回复Ken Gibson

Re: New Module - Enhanced File Resource

Guy Thomas -
Core developers的头像 Plugin developers的头像
Hi Ken.

Thanks for the update.
It does sound like a flash issue. Its a real shame that the module has to use flash but unfortunately html4 does not have any multiple file upload capabilities.
I will be adding html5 file api support into it in a future version which will eradicate the need for flash with Firefox 3.6 and probably Chrome, Safari and Opera too. IE will have to limp along with Flash for quite some time I expect.

You wont get any useful debugging information using Moodle debugging because that only deals with server side issues. The multiple file upload feature uses javascript so you need to debug the javascript via IE7 (not a very nice thing to have to do!)

If you get any more info on the issue, please let me know.

Thanks in advance

Guy
回复Guy Thomas

Re: New Module - Enhanced File Resource

Helen Foster -
Core developers的头像 Documentation writers的头像 Moodle HQ的头像 Particularly helpful Moodlers的头像 Plugin developers的头像 Testers的头像 Translators的头像
Hi Guy,

Thanks for adding your Enhanced File Resource module to the modules and plugins database. approve I've just approved the entry and added a link to this discussion.
回复Helen Foster

Re: New Module - Enhanced File Resource

Guy Thomas -
Core developers的头像 Plugin developers的头像
Thanks, Helen.
回复Guy Thomas

本讨论区帖子已移除

本讨论区帖子的内容已移除,无法再访问。
回复删除的用户

Re: New Module - Enhanced File Resource

Guy Thomas -
Core developers的头像 Plugin developers的头像
Hi Brian

That was just because I amended the entry to say "requires PHP5".
Every time you amend something it requires re-approval.

Guy
回复Guy Thomas

Re: New Module - Enhanced File Resource

José Ángel Polo -
I have problems in mdl 1.9.3 IE8. See attachment below. Can you help me, please?
附件 typeNULL.jpg
回复José Ángel Polo

Re: New Module - Enhanced File Resource

Guy Thomas -
Core developers的头像 Plugin developers的头像
Does it fail completely at the point that you save?

It looks like its failing to find the value of a specific field.
If you get the chance, please can you try it on a test install of Moodle 1.9.7.

Thanks in advance

Guy
回复Guy Thomas

Re: New Module - Enhanced File Resource

José Ángel Polo -

Hi Guy.

In mdl 1.9.7 I have the next error (see attachment): "Undefined"

附件 undefined.jpg
回复José Ángel Polo

Re: New Module - Enhanced File Resource

José Ángel Polo -

OK. In mdl 1.9.7 I need spanish lang files. (Vista IE8)

In mdl 1.9.3 I can´t solve the error.

Great Job Guy!!

Regards. 

回复José Ángel Polo

Re: New Module - Enhanced File Resource

José Ángel Polo -

Finally, all is OK, both mdl 1.9.3 as mdl 1.9.7 Windows Vista, IE8

Thank you very much.

附件 SubidaMultiple.jpg
回复José Ángel Polo

Re: New Module - Enhanced File Resource

Guy Thomas -
Core developers的头像 Plugin developers的头像
Hi Jose.

If you get a chance to do a Spanish language file could you add it as an attachment please?

I'm learning Spanish at the moment but I am not good enough to translate this!

Thanks

Guy
回复José Ángel Polo

Re: New Module - Enhanced File Resource

Jean-Pierre Pawlak -
How did you solve the 'Undefined' error?
回复Jean-Pierre Pawlak

Re: New Module - Enhanced File Resource

José Ángel Polo -

Hi Jean-Pierre:

  1. Creating my lang folder: /mod/enhancedfile/lang/mylang_utf8
  2. Including my lang php file: /mod/enhancedfile/lang/mylang_utf8/enhancedfile.php 
回复José Ángel Polo

Re: New Module - Enhanced File Resource

paul tebbatt -
Hi Guy,

I have installed this on 1.9.7 and i am receiving the java script error as described by José Ángel Polo any ideas?
回复paul tebbatt

Re: New Module - Enhanced File Resource

Guy Thomas -
Core developers的头像 Plugin developers的头像
I think José had initial problems because of the language file.
You could try setting your language to en_utf8 and then seeing if you still get an error.
If that fixes the issue you will need to create a language file for your language (please attach the translation once you have done it and I'll add it into the download).

José also solved some issues by upgrading from 1.9.3 to 1.9.7 but of course you are already using the latest version.
回复Guy Thomas

本讨论区帖子已移除

本讨论区帖子的内容已移除,无法再访问。
回复Guy Thomas

Re: New Module - Enhanced File Resource

José Ángel Polo -

Hi Guy.

It´s possible to use this module without showing the resources? By the moment I hide the topic, or only for one grouping, but the course is very longer for me.

All my courses are topics tree format, so I have to tabulate all resources after.

If it be possible upload the files to folders without displaying resources, it would be great.


Thanks in advance.

附件 UploadTopicsTree.jpg
回复José Ángel Polo

Re: New Module - Enhanced File Resource

Richard Goddard -
I agree with Jose's request, as I don't like encouraging teachers to upload loads of files and fill the screen with (unfortunately common) meaningless file names. But I love the ease of upload!

My temporary workaround is to suggest the creation of an extra topic/date box (through the settings), and then do the enhanced file upload there, then hide the box again. This way the files are still added to the file manager but don't clutter the screen, and can be added to the student interface via "Display a directory" or "Link to a file..." in the active topic boxes.

Out of interest, and for UK users only for the time being, this plugin works nicely alongside EasyView, which is a free tool about to be released which allows Moodle users to read a Word file without installing Word, or a Word 2007 without installing a compatibility extension for Word 2003, or a static PowerPoint slideshow without a PowerPoint reader (etc). There's a preview demo at http://www.vlemiddleware.com/moodle/course/view.php?id=8 (login as a guest).

Richard Goddard



回复Richard Goddard

Re: New Module - Enhanced File Resource

Guy Thomas -
Core developers的头像 Plugin developers的头像
Hi Richard.

Good suggestion of a work around for this issue.
I will put together a better method of handling this problem soon.

EasyView looks good but I would prefer a 100% gpl free solution that can be hosted internally. I appreciate the external service is free but if the school gets used to it and the service becomes unavailable they will be forced to pay for the server solution. Also, I dislike the fact that documents seem to come down as jpegs - you can't select text etc. Its not going to be very accessible because of this.

I've been thinking about implementing something similar to EasyView using open office and JOD converter at the server end - http://artofsolving.com/opensource/jodconverter

Anyway, we just went off topic.

Guy
回复Guy Thomas

Re: New Module - Enhanced File Resource

Richard Goddard -
Guy

Again off-topic, so I suggest moving this to direct email after this if necessary!

We're very much in the "proof of concept" stage of EasyView at the moment, and if fact have a meeting tomorrow to discuss how to release the server code. Until then, we have undertaken to continue the free server service (oops!) to the invited ac.uk users (and will continue to do so indefinitely for those who don't want the server code). The problem we have is that the server-side is based on commercial software which we have had to pay a great deal of money for, and the originators of that code obviously don't want to simply see all their hard work all over the place! Remember that the server service (there I go again) is not Moodle specific.

On the text point, that's why we have (initially) put a "low graphics" link at top left, which allows the text to be copied and pasted at will. However, the roadmap does include a full copy and paste (which is already available in the commercial version).

Hope that clarifies for everybody - feel free to contact me off-list at richard@learningobjectivity.com.

Richard Goddard
回复Guy Thomas

Re: New Module - Enhanced File Resource

Lee Campion -

A simple "Add these resources to current topic" checkbox would be nice, or have that option for each individual file.

Other possible features could be:

  • Remove the file extension for the resource names
  • Set default settings for the resources (ie. "Force Download") if that's possible

It's a great module and we'll be using it a lot.  Thanks.

回复Lee Campion

Re: New Module - Enhanced File Resource

Tieku Bortei-Doku -
Why do I get this message when trying to upload a single file?

Server rejected or failed to process on upload:false8441f49e8e389a289f163597ac7d558e afaf841332583b8a5332bcc884a09b0a 64.25.232.226 POP_1_The_Ministry_and_Loyalty_Open_Book_GJR.doc
回复Tieku Bortei-Doku

Re: New Module - Enhanced File Resource

Guy Thomas -
Core developers的头像 Plugin developers的头像
This will be fixed in the next version.
It is related to some security enhancements that have been made.
回复Guy Thomas

Re: New Module - Enhanced File Resource

Ken Wan -
Would like to have an earliar version to start testing. Anyone can provide a link to the zip file of such a version ?
Many thanks.

Ken
回复Guy Thomas

Re: New Module - Enhanced File Resource

Kevin Lawrence -
Hi
I have just downloaded this mod however when I go to notifications to install, I get an error message
Module moodle_enhanced_file_mod: /var/www/mod/moodle_enhanced_file_mod/version.php was not readable

I can't find this version.phpo file in the download.
Any ideas anyone?
Thanks
Kevin
回复Kevin Lawrence

Re: New Module - Enhanced File Resource

Guy Thomas -
Core developers的头像 Plugin developers的头像
Hi Kevin.

I don't think you have followed the installation instructions correctly.
You have dumped the entire directory into your mod folder.
You are supposed to paste the contents of the "package" folder into your moodle folder so that you would get:

/var/www/mod/enhanced_file

and

/var/www/lib/gtlib_yui

Guy
回复Guy Thomas

Re: New Module - Enhanced File Resource

Paul Taylor -
Hi guy:

I installed it in the right places but the install hangs with the error that it can't find the mysql.php file. What have I missed?

Paul
回复Guy Thomas

Re: New Module - Enhanced File Resource

Guy Thomas -
Core developers的头像 Plugin developers的头像
Please note, that a new version of this module has been made available (version 2010030301):

http://moodle.org/mod/forum/discuss.php?d=145451
回复Guy Thomas

Re: New Module - Enhanced File Resource

Joachim Vogelgesang -
updated German translation
回复Joachim Vogelgesang

Re: New Module - Enhanced File Resource

Guy Thomas -
Core developers的头像 Plugin developers的头像
Thanks, Joachim!
回复Guy Thomas

Re: New Module - Enhanced File Resource

John St -
With the latest version, I am getting a 'failed to set flash upload keys" error when attempting to upload.

Your older version worked fine... Any ideas?
回复John St

Re: New Module - Enhanced File Resource

Guy Thomas -
Core developers的头像 Plugin developers的头像
@John St: Have you clicked on "notifications" on the site administration block to upgrade your database tables?

Guy
回复Guy Thomas

Re: New Module - Enhanced File Resource

John St -
Yes, it went through successfully.
回复John St

Re: New Module - Enhanced File Resource

jon catuccio -
Major problem here folks. We just rebuilt our test server this morning, and I have been testing each plugin after installing. this one seems safe. It is not.

How exactly do we uninstall this? Removing the folders, and running not. Does not work as it rips out the enitre File Upload option! We are stuck with NO FILE UPLOAD OPTION!



Errors in FF 3.5+ and IE7/8:

1. Can't upload more than 2 files; hangs with no response.

2. One (or two) file upload results in error (shown below).

3. Uninstall rips out File Upload!

We are running Php 5.x and 1.9.7.

errorcq.jpg
回复jon catuccio

Re: New Module - Enhanced File Resource

jon catuccio -
I got a little confused due to the language chosen for "Link to a File"...and mistook what was added by this plugin as the stock file upload. This is a nice feature, and I if I can provide debugging reports, let me know!
回复jon catuccio

Re: New Module - Enhanced File Resource

Guy Thomas -
Core developers的头像 Plugin developers的头像
Jon - you can provide debugging info to me via moodle messaging (I suggest you use firebug as most of the functionality is done via javascript).
I appreciate how you made the error of uninstalling the stock file upload plugin.
That is why the enhanced file upload module is labelled as "enhanced".
回复Guy Thomas

Re: New Module - Enhanced File Resource

jon catuccio -
Currently we have a File / Files Activity that does not work; it actually appears to be the same Enhanced Plugin as was recently installed but it is not labeled as such in the Activities settings.

Very strange.

We only have Link To (or upload a file) in Course > Add Resources which works to upload files but I am linking as my WMV files are over our 32mb cap, and the multimedia filter is enabled to demo this. We want the rest of the WMV as links only (not embedded).

I'm just not familiar with Moodle enough to say whether there is a Add File resource which seems to, in this case, have been overwritten by the Enhanced File Upload.

icon.gif File / Files 0 2010030301 Hide Delete



thanks
Jon
回复jon catuccio

Re: New Module - Enhanced File Resource

Guy Thomas -
Core developers的头像 Plugin developers的头像
Jon - "Link to a file or website" is the standard moodle "file" resource module.
"enhancedfile" is the multiple file upload tool.
The "enhancedfile" module lives in moodle/modules
The "file" module lives in moodle/modules/resources - this simply provides you with "Link to a file or website"
回复John St

Re: New Module - Enhanced File Resource

Moodle Admin -
Same problem i have just upgrade to 1.9.7+ from 1.8+ without a problem. I have installed the latest version of Enhanced File Resource click the notification area and all goes well. Turn editing on my test course and click "Add File or Files" choose browse then choose the files from my computer to upload then when i "save and return to course" it gives the error "failed to set flash upload keys". What can be the problem ?
附件 moodlehata.gif
回复Moodle Admin

Re: New Module - Enhanced File Resource

Guy Thomas -
Core developers的头像 Plugin developers的头像
The "flash upload keys" issue should be fixed in the next release.
In fact it is fixed in a pre-release version which you can download from:

www.ossett.wakefield.sch.uk/ossweb/index.php/file/get/moodlegpl/head/moodle_enhanced_file_mod_2010031700.zip

Just bear in mind that this version (2010031700) is a pre-release version and will have some features that are not fully implemented and also some bugs!

回复Guy Thomas

本讨论区帖子已移除

本讨论区帖子的内容已移除,无法再访问。
回复Guy Thomas

Re: New Module - Enhanced File Resource

Ken Wan -
Hi,

I've downloaded the 2010031700 version and tested on a newly downloaded
1.9.7+ moodle to exclude other potential problems. However, The "flash upload keys" issue is still there. I'm testing on linux boxes running CentOS 5.3, PHP 5.x, MySQL 5.x with Posix & zh_TW.utf-8 locales.
Could that be the problem ? Thx.

Ken
回复Ken Wan

Re: New Module - Enhanced File Resource

Guy Thomas -
Core developers的头像 Plugin developers的头像
Hi Ken.

It could be having trouble with the characters in the file names you are uploading.
Please can you post an example of a file name you are trying to upload.

Thanks

Guy
回复Ken Wan

Re: New Module - Enhanced File Resource

William Hood -
We're getting the "flash upload keys" error on both our prod (Moodle 1.9.8) and test (Moodle 1.9.7+) boxes. We're running CentOS with PHP 5.1.6, MySQL 5.0.45 (prod) and 5.0.77 (dev). The error occurred with the 2010031700 version as well as the earlier one. The files used to test the upload were the text files in the download package (CHANGELOG.txt, INSTALLATION.txt etc.).

William and Rob
回复William Hood

Re: New Module - Enhanced File Resource

Guy Thomas -
Core developers的头像 Plugin developers的头像
@William "We're getting the "flash upload keys" error..."
OK - can you try it in Firefox with the "Firebug" add on installed and switched on.
Take a look a what comes through in the "console" tab and then on the "response" tab for makeflashuploadkeys.php
附件 multiple_file_upload_firebug.jpg
回复Guy Thomas

Re: New Module - Enhanced File Resource

Gary Blakemore -
We have the same problem, this is what Firebug is reporting:
附件 enhanced-file-upload-screen-pic.jpg
回复Gary Blakemore

Re: New Module - Enhanced File Resource

Guy Thomas -
Core developers的头像 Plugin developers的头像
Hi Gary.

Check your web sever's PHP version.
I had a look at:
http://php.net/manual/en/function.json-encode.php
You need to have PHP 5.2.1+ for it to work.

Thanks

Guy
回复Guy Thomas

Re: New Module - Enhanced File Resource

Gary Blakemore -

looks like we are running PHP 5.1.4, so I'll try it out and get back to you.

Many thanks for your help.

Gary

回复Gary Blakemore

Re: New Module - Enhanced File Resource

Guy Thomas -
Core developers的头像 Plugin developers的头像
Hi Gary.

The next version will also work with PHP 5.1.4
Thanks for reporting the issue and also in helping me diagnose it.

Guy
回复Guy Thomas

Re: New Module - Enhanced File Resource

José Ángel Polo -
Spanish Translation (v 2010030301)
回复José Ángel Polo

Re: New Module - Enhanced File Resource

Guy Thomas -
Core developers的头像 Plugin developers的头像
Thanks Jose!
回复Guy Thomas

Re: New Module - Enhanced File Resource

Jason Best -

We are using moodle 1.9.7 and I am getting this problem when I try to upload multiple files. Please see image attached.

I have also tried it in Firefox and I get the same error. This was working before for weeks with no problems.

Has anyone else had this problem?

Jason

 

附件 error.jpg
回复Guy Thomas

Re: New Module - Enhanced File Resource

Nacho Aguilar -
Hi,

I have some problems with this module. Every things seems ok during the installation
I have already clicked on "notifications" on the site administration block to upgrade my database tables.

I cannot upload several files and I've got this messege when I tried to close:

Failed to set flash upload keys

I am using:
Moodle version: 1.9.7+ (Build: 20100114)
Enhanced version: 2010031200

Can anyone help me?

Thanks.
附件 Pantallazo-1.png
回复Nacho Aguilar

Re: New Module - Enhanced File Resource

Guy Thomas -
Core developers的头像 Plugin developers的头像
There is a bug in this version which I have fixed to day.
It affects files with non-latin characters.

I will send you a link to a development version for you to test.
回复Guy Thomas

Re: New Module - Enhanced File Resource

Barbara Lawrence -
Thank you for developing this module - it is a huge improvement on the standard link to a file... and our staff love it. As others have mentioned it would be great if we had the choice of adding the files without automatically displaying them in the course.

I have one problem with your new version:

In both IE7 and IE8, the Manage Files button gives me a blank screen - see the screenshot. Everything else works ok however. With full debugging on there are no error messages in the log.

In Firefox it all works very well.



附件 enhancedfiles.JPG
回复Barbara Lawrence

Re: New Module - Enhanced File Resource

Nicholas Bullen -
We're having the same issue here: not sure what can be causing it...
回复Nicholas Bullen

Re: New Module - Enhanced File Resource

d morte -
I'm having a different issue. When I go to upload files, some are grayed out and not selectable. This seems to be an issue only on the Mac. I've attached a pic. I'm running Moodle 1.9.9 and PHP 5.3.2, using FF3.6 and Opera. When I try the same files on Windows, the problem is not there.
附件 Picture_20.png
回复d morte

Re: New Module - Enhanced File Resource

Daniel Cruz -
managefiles
Hi,

Anyone can help me, how to change the managefiles background?

The module for this window is getting the site background.

Best regards.
回复d morte

Re: New Module - Enhanced File Resource

Guy Thomas -
Core developers的头像 Plugin developers的头像
Sounds like an issue with Adobe Flash for the Mac.
If Safari implement the multiple file upload API for HTML5 it will get resolved in a future release.
Future releases of this tool will use HTML5 instead of Flash.
回复Guy Thomas

Re: New Module - Enhanced File Resource

Anis Jradah -
Dear Guy,

While I was using this module on IE8, a problem occurred while adding file to a directory (without linking them), the file are always linked and shown.

This problem does not happen on Firefox nor Chrome or Opera.

Any advise?

Regards,
Anis




回复Nicholas Bullen

Re: New Module - Enhanced File Resource

Nick Thompson -
The main body area must be encapsulated in an html element with the id="content".

We've fixed this by deleting the following line from enhancedfile/lib/multifile.js

YAHOO.util.Event.addListener(iframe, 'load', function(){me.iframecontentonly(iframe)});
回复Nick Thompson

Re: New Module - Enhanced File Resource

Anis Jradah -
Thank you Nick. :D

I removed this line and everything worked fine on IE8. I also Tested it on IE7, but it did not work 伤心. (Most of our users use IE7)...

One more thing, any luck to fix hide/show in Common module settings?

Thank you again,

Regards,
Anis
回复Nick Thompson

Re: New Module - Enhanced File Resource

Guy Thomas -
Core developers的头像 Plugin developers的头像
Nick - all standard Moodle Themes have a container with the element id "content".
Without the "iframecontentonly" function you end up with a file browser which also shows the page header.
Thanks for reporting the issue.
I could fix it by checking that a content container exists before removing everything else - I'll try this soon.
回复Guy Thomas

Re: New Module - Enhanced File Resource

moodle china -

Hi,guy,I use moodle 1.9.4,I installed the mod,I can upload letter(or number) files,but failed use chinese name files, I don't know why???

回复moodle china

Re: New Module - Enhanced File Resource

Chris Prettejohn -
Hi

This looks like an excellent Module however we're having trouble getting to it work.

I'm getting the error each time I try to use it as follows:

require_js: yui_json - file not found.

We're using:

Moodle 1.9.2
PHP 5.2.6

Is this a Moodle 1.9.2 problem?

Thank you!

Chris

回复Chris Prettejohn

Re: New Module - Enhanced File Resource

Guy Thomas -
Core developers的头像 Plugin developers的头像
Yes - see server requirements "Moodle 1.9.7+ (may work with earlier but no guarantees)"
回复moodle china

Re: New Module - Enhanced File Resource

Guy Thomas -
Core developers的头像 Plugin developers的头像
Can you enter a Chinese file name as a response to the this post and I will try it out myself?
You don't need to upload any files, just paste in the file name.
Thanks
回复Guy Thomas

Broken Download Link

Ian Wild -
Plugin developers的头像

Hi all,

I've been experimenting with this module and wanted to download the latest version. Unfortunately the download link no longer works. The Ossett school website (http://www.ossett.wakefield.sch.uk/) seems to be down. Does anyone know when this will be available again?

Thanks in advance,

Ian.

回复Ian Wild

Re: Broken Download Link

Guy Thomas -
Core developers的头像 Plugin developers的头像
Its hosted on our school servers and we are currently virtualising our servers.
This may have brought down the link to our website for a short period of time.
I can confirm that the link is working again.

回复Guy Thomas

Re: Broken Download Link

Ian Wild -
Plugin developers的头像

Hi both,

Sorry for the delay getting back to you. That's great. All downloaded successfully.

Thanks,

Ian.

回复Guy Thomas

Enhanced file upload not working in IE 8

Ian Wild -
Plugin developers的头像

Hi Guy,

I appreciate others have raised this problem but, although it works very well in Firefox, in IE 8 if I press the Manage Files button, I get an empty grey window.

This is a bit of a showstopper for us, unfortunately.

Interestingly, when the window is first displayed it looks like the course files area is displayed very briefly before the window's contents blank out.

Is there a solution to this problem?

Thanks in advance,

Ian.

回复Ian Wild

Re: Enhanced file upload not working in IE 8

Guy Thomas -
Core developers的头像 Plugin developers的头像
OK - I've fixed this on my local version.
The next release should work OK.
I'll put a notice out when its available.
回复Guy Thomas

Re: Enhanced file upload not working in IE 8

Ian Wild -
Plugin developers的头像

Hi Guy,

That's great news. Sorry to be a pest but any idea when the new release is going to be available?

Thanks for the good work,

Ian.

回复Ian Wild

Re: Enhanced file upload not working in IE 8

Guy Thomas -
Core developers的头像 Plugin developers的头像
I'm not sure when the next version will be available as I am working HTML5 support into the current version - no need for Flash with Firefox 3.6.
I have HTML5 uploads working but thumbnailing of images is a bit hit and miss.
回复Guy Thomas

Re: New Module - Enhanced File Resource

Danny Wahl -
This had been working for us until we upgraded to 1.9.9+ from 1.9.8

Then the "Save and return to Course" button stopped functioning. I went and found there was an update for this plugin (our old version didn't have directory support), updated it, but still no functionality.
回复Guy Thomas

Re: New Module - Enhanced File Resource

Joachim Vogelgesang -
icon.gif does not appear in ▶ Administration ▶ Modules ▶ Activities ▶ Manage activities => File / Files, although I have put it (like all other icons of modules) in themes/my theme/pix/mod/enhacedfile.
回复Joachim Vogelgesang

Re: New Module - Enhanced File Resource

Katie Lawe -
Hi
Is there anyway of making the files I have uploaded open up in a new window automatically without having to go into each one and select it once uploaded.

Thanks
Kate
回复Guy Thomas

Re: New Module - Enhanced File Resource

Kent Villard -
I installed this module on Moodle 1.9.9+ but I'm getting the error "undefined" when I try to upload any files. I checked the discussion here and seen the item about the lang file but there is already one there. Anyone have any idea what may be going on?

回复Guy Thomas

Re: New Module - Enhanced File Resource

Francis Galdones -

Hi,

We get the following error randomly during upload using this plug-in.

******************

{filename}.{ext}

Server rejected or failed to process on upload:falseSecurity key invalid for this file, please log out and back in.

******************

Any ideas?

Thank you in advance.

 

附件 moodle-upload-error.JPG
回复Guy Thomas

Re: New Module - Enhanced File Resource

Saumil Patel -

Hi,

We have installed enhancedfile and it works great except there is one little limitation.

As administrator, I can upload files as large as 512M because thats the limit we have set.

But as a teacher, the file limit drops to 2M. I am not sure why but I am new user of Moodle.

How can I ensure that teachers also have the same 512M filesize limit applied to them ?

Note that when they use the standard single file upload process, their filesize limit is indeed 512M.

Thanks for your help,

Saumil

回复Guy Thomas

Error #2038

Thomas Kurek -

Hi, this module is great and works fine on most of our systems. Unfortunately some users face a problem when trying to upload a file. It seems like there must be a problem with firefox and / or Flash, but although Firefox and Flash are on the latest version this error still occours. We use Moodle 1.9.9

Is there a possibility to avoid this problem or to fix this issue?

Thank you very much.

Regards

附件 2010-11-01_152346.jpg
回复Guy Thomas

Error message when using this module

Rob Smith -

I'm wondering if anyone else has seen this error message and can help with a solution or any suggestions please?

I have a user in our moodle system that is enrolled as a teacher in several different courses.

Using this module to add resources they get an error message when they click 'save and return to course' after choosing the files to upload.  However, this doesn't happen on all the courses the user is enrolled in as a teacher.  In some courses the module works without any problems.

The error message reads: The following Security Checks Failed: undefined (see attached image at the bottom)

Please can anyone help?

回复Rob Smith

Tárgy: Error message when using this module

Gabor Acs -

Dear Rob,

Could you find the reason for this error?

I experienced this twice and now thinking that this is maybe caused by some security setting on the computer and have nothing to do with courses or users.

回复Guy Thomas

Re: New Module - Enhanced File Resource

Guy Thomas -
Core developers的头像 Plugin developers的头像

New Version Released 2010 - 11 - 16

File hosted at:

http://www.citricity.com/moodlegpl/enhanced_file_mod

回复Guy Thomas

Re: New Module - Enhanced File Resource

Robert Draper -

Hi Guy

Installed your Enhanced File module works a treat in firefox but in IE 8 when I try "link to directory" files upload but no directory is displayed in the resource area just the files.

Using Moodle 1.9.7

Cheers

Rob

回复Robert Draper

本讨论区帖子已移除

本讨论区帖子的内容已移除,无法再访问。
回复删除的用户

本讨论区帖子已移除

本讨论区帖子的内容已移除,无法再访问。
回复删除的用户

本讨论区帖子已移除

本讨论区帖子的内容已移除,无法再访问。
回复Guy Thomas

Re: New Module - Enhanced File Resource

Guy Thomas -
Core developers的头像 Plugin developers的头像

Merry Christmas !

New Version Released 2010 - 12 - 21

File hosted at:

http://www.citricity.com/moodlegpl/enhanced_file_mod

回复Guy Thomas

Re: New Module - Enhanced File Resource

andy burrows -

Does this version work in moodle 2.0 ?

Thanks

Andy

回复andy burrows

Re: New Module - Enhanced File Resource

Amanda Doughty -
Core developers的头像 Plugin developers的头像

Hi Guy, We are getting an error message when users try to upload badly named files (eg containg & or %).

Error on IE: Server rejected or failed to process on upload:falseSecurity key invalid for this file, please log out and back in.c4c681a88781491b2f3f38be56c373ae126520567315.+Fan+%26+Block.pdf15. Fan & Block.pdf

It looks as though clean filename functionality is not working for the flash upload. It works fine in FF using html5.

Amanda


回复andy burrows

Ynt: Re: New Module - Enhanced File Resource

kemal cilavdaroglu -

"Plugin "mod_enhancedfile" is defective or outdated, can not continue, sorry." error with Moodle 2.0.2+ and MAMP 1.8.4.

回复kemal cilavdaroglu

Re: Ynt: Re: New Module - Enhanced File Resource

Mary Cooch -
Documentation writers的头像 Moodle HQ的头像 Particularly helpful Moodlers的头像 Testers的头像 Translators的头像

Kemal- the enhanced file resource doesn't work with Moodle 2.0, only Moodle 1.9 -so far- at least -hence your error message in 2.0.2

回复Guy Thomas

Re: New Module - Enhanced File Resource

Mathias Wortmann -

Great work. I have updated the german language file to release 2010-12-21.

In my enviroment I have added a third recource type 'Just Upload'. So our teachers can use the module to upload multiple files without adding a link to a topic. For this I have changed mod_form.php around line 86. I have added

86: $radioarray[] = &MoodleQuickForm::createElement('radio', 'resourcetype', '', get_string('justupload', 'enhancedfile'), 'justupload');

Now you have to change your language file and add

$string['justupload']='Only Upload';

That's all.
Regards, Mathias

回复Mathias Wortmann

Re: New Module - Enhanced File Resource

Gautam Saha -

This is a great resource.

However this does not work on Safari or Chrome browser, even after enabling html5

回复Guy Thomas

Re: New Module - Enhanced File Resource

brad knorr -

After installing this module in 1.9.12+  everything worked install wise but when I go to upload a file(s) the progress bars never move and no file ever is uploaded.  I have tried IE 9.0.1 with flash and html 5 I have also tried with chrome 12.0.7.

 

any ideas?

 

thanks

回复brad knorr

Re: New Module - Enhanced File Resource

Paul P. -

I am having a similar problem after an upgrade from 1.9.10 to 1.9.12.  I think the problem may be theme or javascript related.  I've tried it on multiple browsers with and without the HTML 5 option.

回复Paul P.

Re: New Module - Enhanced File Resource

Acs Gabor -

I have something similar - Version 1.9.12

It works fine with firefox and IE, but with Chrome it does not work. After I choose the files and try to save, nothing happens.

Any ideas would be appreciated.

回复Acs Gabor

Re: New Module - Enhanced File Resource

Jeff Cook -

Any plans for a version for Moodle 2.0/2.1 ? tia.

 

回复Jeff Cook

Re: New Module - Enhanced File Resource

Regis Zaleman -

I Second that. The faculty at our school keeps asking for this functionality back (We upgrade to Moodle 2.0 over the summer)

This is an extremely useful module! 微笑

回复brad knorr

Re: New Module - Enhanced File Resource

Malvina Vieux -

I am also using this module that I find very useful. However I recently realised it did not work with Safari and some of our teachers cannot use it. They went back with the genuine module but it is not as user friendly.

Is there anyone who's got the same problem and came up with a solution ?

Cheers !

回复Guy Thomas

Re: New Module - Enhanced File Resource

Jean-Pierre Pawlak -

I was using this module on my 1.9.13 Moodle:
Just what Moodle needed for uploading (multiple) files.

Now Firefox updated to 7.0 and it stopped working.
On my Windows 7 computer It never did work with Safari or Chrome.
It's useless this way and I'll uninstall it.
伤心

 

 

 

回复Jean-Pierre Pawlak

Re: New Module - Enhanced File Resource

praveen v -

Can anyone please send me latest version of this module so that it works in moodle2.1 version.This is my mail id.

pravn1987@gmail.com

 

Thnx,

Praveen.v

回复Jean-Pierre Pawlak

Re: New Module - Enhanced File Resource

Thomas Kurek -

Are there any news concerning this problem with Firefox 7? I would appreciate any help I can get.

Thank you very much.

回复Guy Thomas

The module does not show

Tobias Cock -

The module is not available in the “Add a resource” dropdown menu after I have succesfully installed it on my system, se attached pdf document for installation confirmation from moodle.

I am also able to se that the module is installed on the system, see image below.
Bilde 1

I am using moodle version Moodle 1.9.5+ (Build: 20090923) and PHP Version 5.3.1.

I have also followed the installation procedure and ensured that the enhancedfile is located in the mod folder and that the gtlib_yui is located in the lib folder on my server.

I would be very grateful if someone would be able to help me with this.

Thanks
Tobias