Pages (2): 1 2   
Member
Member
kagutsuchi   23-10-2009, 22:52
#1

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

Member
Member
sbillard   24-10-2009, 01:41
#2

Congratulations! It is nice to see things like this showing up in the community.

Member
Member
kagutsuchi   31-10-2009, 21:33
#3

Thanks

Also I forgot to mention that this will only work with the development version (nightly builds and SVN after 1.2.6).

Administrator
Administrator
acrylian   01-11-2009, 10:48
#4

Great, I will add it to the plugins page. It would be great if you could setup a small plugin page for this so we can link to this in case you do future updates/improvements.

Member
Member
kagutsuchi   02-11-2009, 21:15
#5

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!

Administrator
Administrator
acrylian   03-11-2009, 11:06
#6

Also thanks, I will update the entry.

EDIT: How come that your site is not accessible at all?

EDIT2: Now it works again!

Member
Member
kagutsuchi   06-11-2009, 18:36
#7

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.

Member
Member
statvoid   08-12-2009, 16:09
#8

(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?

Administrator
Administrator
acrylian   08-12-2009, 16:26
#9

Try enabling the plugin filter-zenphoto_seo.php

Member
Member
statvoid   08-12-2009, 17:01
#10

It is enabled.

Member
Member
kagutsuchi   08-12-2009, 17:32
#11

zenphoto no longer uses that function (seoFriendlyURL()) if I'm not mistaken. I'll fix that as soon as I get out of class

Member
Member
statvoid   08-12-2009, 18:38
#12

Thanks! And do the created albums become private to just that user and the admins? And how would I go about doing that if not?

Member
Member
kagutsuchi   08-12-2009, 18:46
#13

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.

Member
Member
statvoid   08-12-2009, 19:06
#14

That would be a savior! I look forward to the fix!

Member
Member
kagutsuchi   08-12-2009, 19:12
#15

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

Member
Member
statvoid   09-12-2009, 17:02
#16

Excellent! Works perfectly! I appreciate it, thanks!

Member
Member
statvoid   09-12-2009, 22:32
#17

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?

Member
Member
kagutsuchi   09-12-2009, 22:56
#18

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.

Member
Member
statvoid   09-12-2009, 23:02
#19

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?

Member
Member
kagutsuchi   09-12-2009, 23:09
#20

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.

Pages (2): 1 2   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.