Installation is like 1.2.1.
It works only with MySQL but it's easy get it to work with PostgreSQL. The reason I haven't done it yet, is I can't test any other database. Could somebody help me? I can't test Windows neither.
This packgae contains new filemanager which allow you to share directories with other courses. Resources can use those uploaded files.
Private Folder is for messages, which can be sent also to outside your course.
Returnfolder is like student's portfolio and teachers can publish student's files within course.
There is also stuff of other peoples (Hotpot and dialogue).
When 1.3 comes I will make some improvments.
Thanks a lot for your work on this. I want to have a look at it, but the link doesn't seem to be working.
Is your name a version of the biblical name Timothy/Timote?
Finnish name Timo or Timoteus is biblical name. Teemu is not. Pronouncing of Teemu and Timo is quite different. For an english speaker Timo is easy. Teemu is not pronounced at all like "feed" or "Team". If you know how to pronounce spanish word "Mesa" you should have the idea. BTW I think that Sumi is japanese word (dark ?) and name. I have polish roots and the name was originally Sawicki. My grandfather and his his sister changed that. Sumi is pronounced like in japanese, only letter S is little bit different. It would be interesting to see the correct spelling of "Sumi" in japanese way.
Cannot find server or DNS Error
You could upload again or send it to me at webmasterATdiscoverlanguageDOTcom and I hope it will go through (not sure about the email limit there, how big is the file?).
(PS I like "Timotheus", it means "honoring God", sounds rather august even though I am not really religious. Also an interesting relation is "tadhg" which is pronounced like "teague" which has been used as a Gaelic verson of Tim (or vice versa?) and means "poet, philosopher". However, this name apparently has sometimes been used in a derogatory way to refer to Nationalists in Ireland.)
That file is that normal Moodle tar.gz size (6 MB).
Is this compatible with 1.3.2?
Did you mean 1.3.3 version instead of 1.3.2??
how do I have to install this new feature? I have made a moodle update, as usual, but the shared files module doesn't work for me. I go to the files and I press "share", but nothing happens. It seems as if my moodle install is blind to that. I did something wrong, but I don't know what. Any help?
Thank you all in advance, specially to Teemu. I have seen how this new characteristic works in the Mickey/Donald demo and it is wonderfull!
I really like this feature, hope this will be included in the next official release of moodle...
May the force be with you....
(!$CFG->slasharguments) ? "?file=/": "/";
Otherwise it's seems to work a ok on Windows . Keep it up
- Janne -
ps. Would return folder be more extensible if it be implemented as module?
I forgot the slasharguments from Returnfolder. I'm going to fix that soon. It takes some time to make Returnfolder module but I'm going make that anyway.
yes, my database has the mdl_shared_dir table with fields:
Thanks for all!,
I'm running moodle in a Windows XP under Apache HTTP server (Apache 2.0).
I have updated another installation. At the beginning there have appeared so many errors such as "Table 'mdl_config' already exists" and finished with "Error: Main database NOT set up successfully". After that I have entered the admin page and there have appeared some logs telling me everything was updating correctly. All the old features seem to work fine, but I'm still beeing unable to share files.
I have found something in the logs, I hope it will be of some help,
Error: Turn off debugging to hide this error.
SELECT * FROM pgenfa_log_display WHERE module = 'course' AND action = 'view'
Found more than one record in get_record_sql !
Array ( [course] => Array ( [module] => course  => view [action] => view  => course [mtable] => course  => fullname [field] => fullname ) )
Thanks a lof,
Just for educational purposes. How did you know from looking at the Apache error logs Pau sent you that there was a problem with the "Data Submit" & the "Return folder"?
Thanks in advance.
Thank you very much Teemu, now it works fine.
I've been playing with the Return folder. It seems it is not working properly yet.
Students can upload files. As a teacher I can mark the "Show" box and then other students can see the uploaded files. But "Show files to all course's students..." doesn't work for me. I can't "Remove" neither. It seems it's same problem as yesterday.
I send you the error.log file.
alter table mdl_course add to_everybody int(1) unsigned not null;
This should fix "Show files to all course's students...".
I'm certain that I can fix file deleting. Can you see this message after selecting the files to be removed (and after "Save Changes"):
Are you sure, that you want to remove all the selected files
If you can see this message, I know what's the problem.
I'd like to try it out, is there going to be a version available again soon?
I have just proved the new returnfolder.php and, after altering the mdl_course table, I think it is working properly.
I can see the message "Are you sure you want to remove all the selected files", but if I choose I want it, it works, so it's okay.
Very, very nice work. Thank you Teemu,
Your student folder sounds like something I am looking for, and the other features sound very interesting. I would like to try this but have a question. I don't see a list anywhere of the files that you have made changes to. Do we have to upgrade all of the files you have included in your zip (basically the entire moodle program)? Or, could you have a version with only the files that have you have changed? And then we would only have to upload those files to use your new features.
I'll trust you. But, I am assuming that at the least the theme file doesn't need to be upgraded.
Thanks for putting up your work here. I would still really like to put the shared folders into Moodle, but it still needs a few more things before I can do that:
- The publishing interface needs to be changed to make it work with longer lists of courses (possibly thousands).
- It should be possible to say "Publish to all".
- When a teacher is browsing a shared folder it should be clear what course it is from.
- I also would like this whole sharing capability made optional, to be controlled by a configuration flag to enable/disable it.
If you have time could you package the current shared folders for me and I'll see what I can do to work on these. And of course if you would like to implement these things I would be extra grateful!
I have made two publishing interfaces. When there are more than 50 visible courses, there are two multiselect boxes like suggested before.
I can do those other three things too by myself.
Because you can use shared files with scorm, resource files and resource folders, You need these files from the extra package:
You need only one table:
CREATE TABLE mdl_shared_dir (
id int(10) unsigned NOT NULL auto_increment,
dir varchar(255) NOT NULL,
orig_course int(10) unsigned NOT NULL default '0',
dest_course int(10) unsigned NOT NULL default '0',
PRIMARY KEY (id)
Next time I'm in Finland, I will bring you a bottle of Jim Beam--a smokey Tennessee Bourbon Whiskey--good stuff. I'm looking forward to testing this.
How to make shared folders work with resources if you are using 1.5? It needs some work. I will do that.
Is there a folder sharing solution that works with 1.5.x? I would really like to have some folders that are shared between courses.