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
Comments
Also I forgot to mention that this will only work with the development version (nightly builds and SVN after 1.2.6).
Thanks again!
EDIT: How come that your site is not accessible at all?
EDIT2: Now it works again!
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?
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 link sent by registration is automatically generated by `register_user`. Why you're getting that error, though, I'm not sure.
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?
What I did was sign up an account and saw all the albums, I don't want them to see all of the albums, only theirs.
Also, I think it would be good to have this plugin take care of a few things for administrators. Basically it creates a personal album for a user, with the option to create it unpublished. Which is awesome. Shouldn't it automatically assign certain rights to a user upon creation though? For my purposes I'd want them to be assigned only "Album" and "Upload" rights. So basically, when they create an account, they can begin to immediately upload pictures to their album. And also, I don't have to worry that they'll have full access to the site's administration.