Compatible with: 2.9
New languages:
English [UK]Français [FR]
English [UK] | Français [FR] |
Version 0.1 Early release, please consider as a beta version and do not use it for production
Compatible with the Piwigo 2.9.1
Tested with the following themes : Bootstrap Darkroom, Bootstrap default, clear, dark, elegant
Not tested with a lot of other plugins activated, especially those interacting with URL arguments
# How does the plugin work
From each private album, there's a new "Share" sub menu displayed on the category (album) page.
From this menu, you can share this album.
One shared, you are provided with a unique http(s) link giving access to this album.
Behind the scene :
* A unique Piwigo user is created with a random password assigned. By default, user type is set to 'generic'
* This user is granted to browse the selected (and only) category album. When logging with the specific link, the user is logged in and redirected
Requirements to share an album :
- The share function can only be managed by Administrator users
- The share function is only available for private albums
# Todo list / Upcoming features
* Event handler on user deletion to remove the associated album share (in case of deletion of a auto generated user by an administrator)
* Cleanup code, better error handling
* An decent administration / configuration interface
* List of the currently shared albums and associated actions (regenerate link, cancel share)
* Option to remove the menus from user interface, especially to hide Identification menu
* Option to share an album for n days instead of forever
* A sanity check function which checks that shared albums, associated users, users granted visibility, etc... are coherent