Hi Janne,
I have a test site and love to test blocks and modules. I'm looking for a good way for users to upload an assignment to be checked by the course facilitator on a weekly basis but with no time limitations like the assignment module--so basically an open return folder. Feedback on the assignments could be given via the dialogue module.
What is the return userdir module?
It this but made to module.
I call it Return/user folder or directory module because I have some other plans for it, so eventually it isn't just a returnfolder.
If you have Moodle version 1.5 dev then you could try It and give your opinion about it. It's not ready yet but it should work in test usage.
I'm actually having problems with restoring, hopefully I'll learn how Eloy's backup/restore libraries work.
- Janne -
Hi Janne,
I was waiting for 1.5 to become a little more stable before uploading it, but when I do I'll test your user directory module. I had tested Teemu's returnfolder, but that was a long time ago and I think it has changed some since then.
And Teemu,
What's your Form module? Sounds like something I've been thinking about for awhile--I want to test that too!
Cool guys!
Teemu
Well I've installed it in version 1.4+ and it's working a ok
Teemu
Open lib.php and write this replace move_uploaded_file part with (line 263):
if (!(move_uploaded_file($upload->tmp_name, $newfile))) {
// Try to copy file
if(!(copy($upload->tmp_name, $newfile))) {
error($struploadproblem);
}
}
So basically you'll try to use copy function if move_uploaded_file fails. Why it fails? Are there any error messages on screen or error_log?
- Janne -
Student accounts
student1:bart
cartman:meatball
Teacher account
teacher:homer
- Janne -
Hi Janne
I was checking out the return folder at: http://edu.jaiko.fi/dev
I uploaded a html file and deleted it again and then the upload function disapeared. I logged in as teacher again but no upload function
What happened?
Jacob
The module looks great Janne. The one thing I was thinking was to be able to add feedback (comments) to an uploaded file and it sounds like your plans will take care of everything.
The only thing I can think of is that instead of having the Show All option to be clicked for each file, have the option be in setting up the module. So you could make the entire folder either a private one (student can only see their files) or an "open" folder (everyone can see all of the files), or by group.
Warning: Unable to create '/home/mediamaisteri/5/moddata/userdir/1/77/file_1099299384.doc': No such file or directory in /var/www/mediamaisteri/moodle/mod/userdir/lib.php on line 263
Warning: Unable to move '/tmp/phpGTwhHe' to '/home/mediamaisteri/5/moddata/userdir/1/77/file_1099299384.doc' in /var/www/mediamaisteri/moodle/mod/userdir/lib.php on line 263
Warning: Unable to create '/home/mediamaisteri/5/moddata/userdir/1/77/file_1099299384.doc': No such file or directory in /var/www/mediamaisteri/moodle/mod/userdir/lib.php on line 265
It shows that Max size is 0 kB in file uploading page but I adjusted that to 5 MB when I created the activity.
Teemu
I've installed the returnfolder module in the production site after having seen it working in the mediamaisteri web. No doubt, it will work properly. I'll tell you if any problem.
Instead of "returnfolder toward one teacher" it could become a "sharefolder" that could be shared with :
- One teacher (as now) for grading, comments, ... or, just for storage and so, be able to include images in journals, forums, wikis, dialogues, ...
- the group he/she belongs to, to help in collaborative works, i.e. extending it to be group aware.
- the whole course participants.
And yes! it will be useful for the teacher to upload files also.
Nothing more at this time.
- Janne -
Hi Janne,
Ok, is this for 1.5?
Just installed userdir_new on test site and get error: Parse error: parse error, unexpected '=', expecting T_STRING or T_VARIABLE or '{' or '$' in /..../test/mod/userdir/view.php on line 128
Also, you might put the lang file into a lang folder just to make it more clear where it should go.
Chardelle

One addition


May be other differences around. I don't remember ... (Spanish es_es lang, ...)
Also this last version hasn't been in production. May have some bugs , so take care and test it first. And tell me about them.

i read about it with much interest from http://docs.moodle.org/en/Return_folder_module