Skip to content

Daltonstudio/hypegallery_expozeum

Repository files navigation

Museum plugin for hypeGallery

This is a plugin that adds a public museum in Elgg for hypeGallery photos. Assigned curators can toggle images as 'selected' which will appear in the Museum. It has a user setting for owners which they can toggle in the case they don't want to be selected for the museum if they wish and sends notifications when photo's are selected for the museum.

FEATURES

  1. Menu item for admins and curators to toggle a hypeGallery image as 'selected for the museum'.
  2. Curator roles can be given to a user, using the admin user hover menu.
  3. Adds a new responsive museum page with a topbar menu item.
  4. Owners of the image will get a message that they are selected.
  5. Owners of images that are selected but are 'not public' will get a message that they were selected, but won't be in the museum untill they change their album privacy to 'public'. If after a week they still haven't. Their image will be toggled unset for the museum again by the daily cron.
  6. User has a usersettings page for the museum, giving them the option to 'not be curated'. This means their images can't be selected by the curators.
  7. When users visit the usersettings page and they currently have items in the museum, they will be warned that setting the option to 'no' will remove their image(s) from the museum.
  8. If they proceed and set their setting to 'no', all current museum items of the user will be unset and the items will not appear in the museum anymore.

NOTES

  1. Images must be completely public, since the museum is a public place, if images are selected that are not public, the user will get a notification asking him to make his album public. Untill he does, his image won't appear in the museum and will be 'unset' after a week. If he changes his accessettings, the image will be featured in the museum.
  2. Daily Cron 'must' be configured for garbage items to be collected and removed.
  3. This is a hypeGallery addon, so hypeGallery must be installed and enabled for this to work.

CREDITS

Based on Juho Jaakkola's 'featured-content' plugin for Elgg. Elgg-featured_content

TODO

  1. Add a cron to clean up the NON-PUBLIC entities that have the md expozeum->true set longer then one week ago since they have a week to change their access for the container album to public (need to figure that out, actually just the way to get the entities where the metadata is set on that particular timestamp...)

About

Museum addon for hypeGalery with a curator function

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published