This is an extension for the great Moodle e-Learning system. It allows the students to download all resources (documents, images, presentations, ...) of a course in a zip-file. The block checks and respects the rights given for a user.
Install
Download the file and unzip it into your Moodle blocks folder. Log into your Moodle as admin and select Modules → Blocks → Manage Blocks. Here you can change the settings and activate/deactivate it.
Once it is activated, you can add the resource-download block to any course you like.
Things to consider
Because every user may have different access-rights and resources can be hidden dynamically, the zip has to be created on-the-fly in-memory individually for every user. This needs quite a bit of memory. So make sure that the memory_limit in the php.ini file is big enough. If the zip's are not created, try increasing this value first.
The blog-post Moodle Block Resource-Download describes the technical basics and internas of this block in german.
Features
- Respects access-rights of users.
- File-exclusion can be configured with patterns.
- Files can be excluded by size.
Downloads