Replace (or add in some cases) these files and go to "Configure variables". You should see many errors because we don't want to replace every table in the database. Only one table (mdl_shared_dir) should be added.
Please notice that you must first enable Shared folders in "Configure variables", because Martin told so .
Martin said that it's possible to take this feature to 1.5 but it works with 1.4. I hope that you first put it to the test installation.
Chardelle, don't forget that bottle of whisky .
Teemu
Thanks for your contributions Teemu. I won't.
I'll test this as soon as I can. How's your return folder coming along? Any plans for it?
Chardelle
good addition to Moodle
Maybe 3 small typos errors in :
moodle/mod/resource/type/directory/directory.html
1 - add ) before { in line 7
2 - remove php line 8
3 - remove php line 10
7 if (can_use_shared_folders()) {
8 php choose_from_menu($merged_dirs, "reference", $form->reference,
get_string("maindirectory", "resource"), '', '');
9 } else {
10 php choose_from_menu($dirs, "reference", $form->reference,
get_string("maindirectory", "resource"), '', '');
}
Thanks for your work,
Bernard
Teemu
> I was hoping for 1.4 but
> it wasn't quite ready in
> time ... so 1.5 seems
> certain.
Wow, really? That's terrific!
-- Art
Teemu,
AWESOME!! Great new feature
Just testing it on my test server and it seems to work really well. I especially like how folders can be shared BUT the folder creator has complete control over content. Courses sharing it only have read access.
I have discovered that when material is shared between courses the person is prompted to "enrol" in the originating course. E.g.
Course 1 has a file called sample.doc and shares the folder with course 2
A student enrolled in course 2 clicks on a link for sample.doc and is asked to enrol in course 1
Should this happen?
Jeff
Teemu
Teemu,
I didn't think so (otherwise they could just enrol in the other course to gain access to the files).
BTW - My test was on Moodle 1.5 development (2004082300) ** same as moodle 1.4 beta??
Jeff
There's one new file (moodle/file.php). I also repaired minor bugs in some files (moodle/mod/resource/coursefiles.php line 926), (moodle/mod/scorm/coursefiles.php line 926) and (moodle/files/index.php line 396).
Teemu
Teemu
One were count_records() function call and the other count_records_select() function call. Both had ASC thing in it. It wasn't easy to find, because only the display mode were affected.
Teemu
Teemu
Teemu
You are so dedicated to this and making sure the files and functions are up to date and as bug free as possible. Thank you.
Do you think that Martin might let you
- upload the Moodle+Shared Folders zip you created to CVS?
- upload the files which need to be changed.
It is my understanding that CVS will allow code to be copied over modified code and not change it. If there is a conflict, it will let one know so the coding can be clarified.
I am setting up a web site this evening just to test out "Shared Folders".
WP1
All I need to do is overwrite the various files and then it should work?
Thank-you
Teemu
Teemu
This is really up to Martin. He can either decide to put your code straight into the HEAD branch or he may prefer to create a new branch in CVS for your code. In the later case only developers who choose to check out that branch would get your code. We could then test it thoroughly and merge it onto HEAD when everyone is happy. Of course Martin may also decide not to put your code into the main CVS at all but I think that would be a pity.
Teemu
Just curious, is this feature still on track to be included in 1.5?
Currently I use symbolic links to achieve cross-course file sharing, but that causes problems in backup (the shared folders get back up multiple times, as the symbolic links aren't differentiated). The other solution of putting files in the site files folder is not as secure as I'd like (people can download if they guess the filename).
Thanks a lot in advance for the feedback,
Tim.
I wonder if share folder module works on 1.4.3+ anyone tried? Is this module still active?
What do you think Martin? Is it possible that it will be included?
Where can I get the latest source coude? I would like to check it for security issues
skodak
Teemu
Please notice that you must first enable Shared folders in "Configure variables".
I found some bugs but I can't upload the latest version, because it's over 100 kB. If anybody wants the latest version, please email me.
Teemu
Hi Teemu
This looks great. However we are looking to be able to have a resource of materials that can be shared across a number of courses and available to students from within their courses. On my test server, running Moodle 1.4, only the teachers can see the shared resources. Is it possible for students to access the shared resource?
Also is it possible to have a copy of the latest version? Your parent message suggests emailing you, but I do not have your email address.
Thanks for your great work.
Graham
Only the newest version of shared folders works properly.
Teemu
Teemu
Teemu
Teemu
kind regards
Wayne
Teemu
How will be solved backup? I am sure people will expect it to work when transfering courses from site to site.
skodak
Have you planned any surprises which make that difficult Petr?
No! I just changed the file.php to handle file access security a bit. It should be much easier to implement than before
Hello Teemu,
If I have a lot of resources (about 500MB of PDF's) that I would want to have available in a number of courses would shared folders be a solution for me?
What exactly would happen if I made a backup of course with references to the shared folder. Will they work? Without unnecessarily (where is aspell when you need it? I have no idea whether I spelled that word correctly) replicating the data in the folder?
Is this feature still on track for inclusion in 1.5? Or am I asking you a question that you also do not know?
Apologies for my bombardment of questions...
[Edit:] Just looking around some more. Would metacourses help me at all? Over to my moodle 1.5 dev test site...
I now see that metacourses will not solve my problem. The courses that are enrolled in the metacourse are not allowed to see its files.
I am really looking for something that uses something like symbolic links to a collection of files (within the Moodle GUI) so that the course can be cloned without enlarging the diskspace used.
Am I correct in understanding that this is not possible now?
Teemu I dont think its included in 1.5?
Teemu
I hope this feature will be in standard in 1.6.
I can't find latest version in cvs. Where can I find it ?
Thanks for your great work, Teemu.
Andre
Teemu
Hope you'll find a better way in addressing to this problem. Hope to hear more for you. By the way, very nice module indeed but not yet ready to implement it a part of moodle.
Your the man! Teemu!
It is very interesting to see what the future of file management will be in new versions of Moodle. Many thing are halfway and/or overlapping: shared folders, myfiles block, metacourses, the DMS, ...
I hope there will be a unified direction soon that takes the best out of all of these!