Skip to content

Share Album is a Piwigo plugin to enable private categories sharing via a public URL

Notifications You must be signed in to change notification settings

anae-git/piwigo-ShareAlbum

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Share Album is a piwigo plugin to enable simple per album share function. For any private album, you can generate and share a unique URL that you can share with the users you trust in enough to browse an album.

Usage

In the administrative area, you can from the Plugin > Share album screens :

  • Individually share albums (create a new share)
  • For each shared album, you can : copy the one-click share URL, regenerate this unique link, cancel it The same features are available when you navigate (as an administrator) in your albums.

Administrative functions :

  • Optionnaly remove breadcrumbs on shared albums
  • Optionnaly hide menus on shared albums (user name not shown, no albums navigation but current album)

Versions history

  • Version 11.6
    • Fixed a language file issue
  • Version 11.5
    • Fixed #74 Uncaught error - following 11.4 upgrade
  • Version 11.4
    • Added #72 Allow non-administrators to create share-urls (via a sharealbum_powerusers group)
    • Added #43 (and duplicate #73) Shares can now be applied recursively to include nested / sub-albums (There's a new option in the configuration page to activate this feature. Please not that existing shares will not modified, you need to cancel and recreate them)
  • Version 11.3
    • Added #68 Admin add sort by last visit date
    • Added #69 Admin default sort by creation date DESC
    • Added #70 Add default number of photos per page for shared albums
    • Fixed #26 Localization issue. Created users are now set a locale equal to default Piwigo locale
  • Version 11.2
    • Fixed #61 When users use different share link, the get cookies related errors
    • Added #65 Share option should only be available on albums which contains at least 1 picture
    • Added #58 Admin interface : lines are too long and displayed on 2 lines : optional display of the share link (but keep copy paste feature)
    • Added #59 Admin interface : Implement sort in the shared albums list
    • Added #66 Admin interface : Restrict max displayed length of the album
    • Added #60 Admin interface - Implement multi select
  • Version 11.1
    • Fixed #64 Piwigo 11 compatibility
  • Version 1.10
    • Fixed #53 1 of 3 albums won't show up in the picklist
    • Fixed #56 Share option should be available only on private albums containing at least picture
    • Fixed #57 Share icon with Bootstrap Darkroom theme displays the text "Share". To be removed
  • Version 1.9
    • Fixed #51 After upgrade to 1.7 no private albums recognized : Virtual albums are now detected as well as physical albums
  • Version 1.7
    • Fixed #50 Administration page, albums were not sorted (share a new album)
    • Fixed #38 Mobile device browsing, the share icon does not have a text description
  • Version 1.6
    • Added version number into plugin (instead of auto) for better identification
    • Implemented New administration pages features : create shares, renew share, cancel share. Copy share URL to clipboard
  • Version 1.5
    • Fixed #47 Host not filled in correctly (probably when using a reverse proxy. Alternate method for host detection
    • Fixed #40 You are not authorised to access the requested page. Thanks to drenghel
    • Fixed #42 Can't find Share Button
  • Version 1.4
    • Fixed #45 Modus theme compatibiliy
  • Version 1.3
    • Implemented #29 Manage users within a group
    • Fixed #31 Translation : Activity logs shown below
  • Version 1.2.2
    • Fixed #7 Interaction with CSS in LocalFiles Editor
    • Fixed #23 Translation missing for french : Connection log for selected album
  • Version 1.2.1
    • Fixed #22 Fatal error: Class 'Share_Album_maintain' not found
  • Version 1.2
    • Implemented #19 List visits / ip of visitors of a shared album when clicking on the number of visits
    • Implemented #14 Add option to "remember me" users logged in via shared link
    • Fixed #18 Click on Connect within identification menu should trigger warning
  • Version 1.1
    • Fixed #17 Warning: [mysql error 1146] Table 'xxx.piwigo_sharealbum' doesn't exist
  • Version 1.0
    • Implemented #15 Add number of visits and last visit using the shared link enhancement
    • Implemented #13 Provide a way to logout guest user when browsing in shared link mode enhancement
    • Implemented #2 Administration / List of the currently shared albums
    • Fixed #12 When browsing in guest mode, access to identification.php produces undifined index category errors
    • Fixed #10 Prevent codes smaller or longer than expected
    • Fixed #9 Share button shows on categories (with subcategories) page
  • Version 0.5 Beta rele∏ase
    • Implemented Issue #8 (bigs38) Return to the album view enhancement : Album name now links to the category page
  • Version 0.4 Early release
    • Compatible with the Piwigo 2.9
    • Implemented Issue #5 Option - Remove breadcrumbs and display only album name
    • Implemented Issue #6 Option - Hide menus albums accessed though unique URL
    • Fixed translations
  • Version 0.3 Early release, please consider as a beta version and do not use it for production
  • Version 0.2 Early release, please consider as a beta version and do not use it for production. Fixed package
  • Version 0.1 Early release, please consider as a beta version and do not use it for production Compatible with the Piwigo 2.9 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

See issues list on GitHub : https:/petitssuisses/piwigo-ShareAlbum/issues

Author

Arnaud (petitssuisses) http://piwigo.org/forum/profile.php?id=19052

About

Share Album is a Piwigo plugin to enable private categories sharing via a public URL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 81.8%
  • Smarty 14.4%
  • HTML 2.8%
  • CSS 1.0%