ZenphotoCMS Forum
Image Moderation - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Image Moderation (/thread-4390.html)



Image Moderation - Vincent_ - 04-01-2009

So I've been digging around ZenPhoto in search for a way for my client's website to have image moderation... here's what I have already figured out...

My plan is to make sure that all the images and albums are not set to show by default... so that means that this code is going to need to be used within the process of the loading of the image/album...

`

$image->set('show', 0);

`

...and now the problem is the fact that I cant find a place to place this code dynamically [b]when the image/album is discovered for the first time[/b]

Does anyone have any idea how i should be able to achieve this without putting this line into the guts of the program and wondering where it is later on?




Image Moderation - Donkikong - 04-01-2009

Why do you need image moderation?
Are you allowing registered users to upload images to their own password-protected album or to an album with joint access rights?
I suggest modifying the registration script to create a password protected album named the same as their username and access rights to view / edit their album only.

You might be able to do this in a plugin, and so preserve the core zen code.




Image Moderation - sbillard - 04-01-2009

Have you looked at the schedule content utility?




Image Moderation - Vincent_ - 05-01-2009

The idea of a schedule content utility sounds good... but where is it? I've had a look look here and there and can't find anything...




Image Moderation - sbillard - 05-01-2009

did you look on the admin overview page under "Utility functions"?