I am pleased to announce the release of my Personal album filter.
What this filter will do is to create an album for each user that registers so that each user has his own album to which he can upload. When a user submits the registration form, a new album will be created. This album is then assigned to the new user once verified. All of this is done automatically.
This plugin also comes with an option to disallow users from moving, copying, or renaming their personal albums. In this way administrators can easily keep track of the gallery and personal albums are actually personal.
filter-personal_album can be downloaded from http://www.archlinuxgallery.com/filter-personal_album.zip
Thanks
Also I forgot to mention that this will only work with the development version (nightly builds and SVN after 1.2.6).
Ahh, I should've done that in the first place. I've added a page for the plugin (and will add a changelog if/when it needs updating): http://www.archlinuxgallery.com/index.php?p=pages&title=personal-album-filter
Thanks again!
I've released an update that will (hopefully) make sure that the filters are triggered and makes personal album creation SEO friendly. The new version can be found on its plugin page.
(I originally posted this to the comments of the News page, but here's my situation...)
I've tried to use this plugin and when I try to create a user I get the following:
Fatal error: Call to undefined function seoFriendlyURL() in /[path-to-zen]/plugins/filter-personal_album.php on line 84
I’ve looked at it and I’m not entirely sure why I’d be getting this error, please let me know what I can do to fix this. I’d love to try it out because it would help me out tremendously for a project that I am working on!
Btw, does this make an album that is private and only visible to the user and the admins only?
zenphoto no longer uses that function (seoFriendlyURL()) if I'm not mistaken. I'll fix that as soon as I get out of class
That should be fairly easy to do - by unpublishing an album, only users who are assigned to that album (and admins) can see it. I can add an option to automatically unpublish personal albums.
I just uploaded the new version. You can find it from the plugin's page: http://www.archlinuxgallery.com/index.php?p=pages&title=personal-album-filter
Can a user, once they register and validate their email, upload pics? If not, can that be done?
Also, I don't know what this is attributed to but when I tested it out with a new user to an email account of mine, I get a mostly-blank page with the following error:
Zenphoto Error: the requested object was not found.
Page: PAGES:
Return to Site
How do I fix this?
The new user's rights can be set via the user_groups plugin. To work with the filter, you will need to create a template with the rights you want. Then, under the options for the register_user plugin, you will need to set the default group to the template you just created.
The link sent by registration is automatically generated by register_user. Why you're getting that error, though, I'm not sure.
I fixed the error somehow (can't remember what I did!).
On to a problem though: say I have a client, and they register and validate themselves through their email link. What I want is for them to only see their album (i.e., client1album, not client2album) and upload only to their newly created album, what do the internal settings need to be?
I created client1 and could see all the albums as soon as I logged in, despite unpublishing them. When they first log in, they should only see their album and be allowed to upload to it. How can I go about making that happen?
If the albums are unpublished, then your users must either have Admin rights or Manage all albums rights. If you want your user to upload, then simply give him Upload rights. You can automatically manage new user rights as I described above.