Moodle Plugins directory: Media collection | Moodle.org

Media collection
Activities ::: mod_mediagallery
Maintained by
Adam Olley
Part of set Media gallery.
This plugin allows instructors/teachers to create a space for students to submit "galleries". These galleries can be based on images, audio or video.
Latest release:
1521 sites
496 downloads
51 fans
Current versions available: 6
Media collection is an activity that enables users to create galleries (of image/audio/video). The galleries themselves have many display options the user can choose such as displaying in a grid or carousel, and defining the number of items to show per row/column and such.
Each item can have metadata supplied (title, publisher, medium, production date, etc).
When viewing a gallery, selecting an item brings up a lightbox interface that allows the user to view a larger version of the item along with the metadata. Social options are also visible in the lightbox interface (liking & commenting).
Contributors
Adam Olley (Lead maintainer)
UNSW UNSW
Damien Bezborodov
Please login to view contributors details and/or to contact them
There is not currently a way to add custom metadata, sorry.
"Reset not implemented
Media collections !"
Are you logged in as the user that created those items and gallery? Deletion of both is working for me on 3.9.
One of our learning and teaching specialists is working with art and design teachers and they need a Moodle activity which enables students to post visual media in a gallery format like this and, importantly, to give their peers feedback. Currently the 'completion' is based on simply opening up the activity which doesn't enable learners/and teachers to check they have fully participated in the activity.
I've started working on adding custom activity completion (based on numbers of added galleries, items, and comments). There's still work to do, but I thought I should check whether you would be interested in this before I keep working on it. Could you take a look? The work in progress is available here:
https://github.com/james-cnz/moodle-mod_mediagallery/tree/activity_completion_wip
I don't know if there's a clean way to update completion status in the browser for comments, immediately after comments are added or deleted. It takes a page refresh for this to show. Would this be a show stopper?
Cheers,
James
I don't think the completion state showing or not immediately after commenting is a big deal. That sort of delay isn't uncommon with other activities and their completion states.
Once you're ready - open a pull request and we can work on getting the code reviewed and integrated.
Sorry I'm taking so long, other things getting in the way. I've run into a problem recently, and I was wondering if you could help. I'm trying to test the code I've added to mod_mediagallery\privacy\provider::delete_data_for_users(), and I can't get the function to run. I don't know how to trigger it in Moodle, so I'm trying to call it directly instead. I've made a file test.php, and am accessing it with something like:
http://[server]/mod/mediagallery/test.php?id=[cmid]&action=delete_data_for_users&user1id=[user1id]&user2id=[user2id]
I'm getting the error: Field "param1" does not exist in table "mediagallery_gallery"
On line 553 of /mod/mediagallery/classes/privacy/provider.php
Do you know if this could be a problem in your code, or am I just calling it wrong?
I think I've figured out the issue with delete_data_for_users(), and I've made a pull request for it. I'd like to wait until that and the code check fixes pull request are integrated (if they're OK) before making a pull request for custom activity completion, so I can test the code I added to delete_data_for_users(), and run code checks on my changes. Other than that, I think it's about ready. Am I right that the other related plugins are deprecated now, so I don't need to test that my changes are compatible with them?