ZenphotoCMS Forum
Garland theme user disable check-boxes - 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: Garland theme user disable check-boxes (/thread-10607.html)



Garland theme user disable check-boxes - kalli - 2012-11-24

Hi all,
I use the Garland theme and would like to hide all users except the admins the edit boxes.
Users should delete can label their albums and pictures, but not publish, move, etc.
on which side of the check boxes for the user provided so that I can remove the instruction?

rgds
kalli




Garland theme user disable check-boxes - acrylian - 2012-11-24

The theme does not matter for user things. If you haven't please read here first:
http://www.zenphoto.org/news/an-overview-of-zenphoto-users




Garland theme user disable check-boxes - kalli - 2012-11-24

I've read.
It may be that I am in the wrong forum because I need information about programming.
I wanted to know which instruction is responsible for the representation of the user pages, as the name of the page is to remove the representation of all the checkboxes from the programming.

rgds
kalli




Garland theme user disable check-boxes - acrylian - 2012-11-24

Maybe I don't understand what you are after then. If you don't want your users to do certain things, don't give them the rights.

Otherwise you will have to hack the backend which you naturally will lead to issues on updates.




Garland theme user disable check-boxes - kalli - 2012-11-24

that's exactly what I want.
I have to make changes in the following programming:
For the user pages the "div box-edit" are hidden.
with user rights all rights are linked.
I can not, unfortunately, the user assign individual rights.
Either he can edit his own album or not.
There is no possibility to assign individual users edit rights. (Users may publish pictures or not. Users can delete images or not, etc.)




Garland theme user disable check-boxes - acrylian - 2012-11-24

Well, the Zenphoto concept is that a user that has rights to an item has rights to an item.

You have hack the related admin backend file and the related admin user handling. That probably will involve changes to the authority class. I don't recommend doing this . You might run into trouble in other places and you will have to do it again every time you upgrade.

Another way would be just to hide them via CSS.

You could also submit a issue ticket on GitHub so we might consider more rights. My colleague will be able to tell more.




Garland theme user disable check-boxes - kalli - 2012-11-24

Thanks for the information.

greetings
kalli