I would like to allow visitors to my zenphoto site to edit the descriptions and tags for any photo (or album) on the site. So, I guess I am looking for an “Administrator-lite†feature.
I run a website for a girl’s softball team. I take photos at the games and throw them up on the web. The girls like to see their teammates in action and have asked to be able to change captions and add tags. Zenphoto allows that and more (as an administrator) but I would like to prevent them from accidentally deleting a photo (or whole album!).
Any thoughts? Is this something implemented as a custom theme? Or is this a “hack the core†solution? Or, already there and I’m just too stupid to see it??
Comments
Anything you do will take some kind of hacking of zenphoto. Maybe the best approach would be to assign "view all albums" rights the girls. Then you would have to hack the `zenJavascript()` function add `VIEWALL_RIGHTS` to the test which enables the ajax js. Then the girls could make the changes on the image page. (They could also make other ajax edit changes such as album titles. If you did not want that, the test could be further restricted to just the image.php page.)
I think your comment about accidental deletion is correct. I am less worried as I play more with the admin screens. The chance of an error is pretty low.
I will likely not make changes to `zenJavascript()` at this point to avoid issues with upgrades; but, I appreciate your pointer to the correct function in the event that I care to in the future.
Question: Is there a way to place a link to the login screen (in place of the "Admin Toolbox" link) for when the girls are not logged on? It seems like that is a "Theme" thing (I am using the default theme).
For info, the site is stars93.com/gallery and the albums in the 08-09 season are the ones that I am working on most. Thanks for the great product (and support)!!