Is it possible to enable all registered users the option to edit file information. Im running my gallery on an Intranet so all users I know personally and can be trusted, although I do not want them all to have full admin rights so they can mess with the config menus. I would like all users to be able to edit/add/delete keywords and descriptions, etc. Right now only the Admin and the uploader of the file can make these kind of changes.
Again, Im not so worried about security but I would like to hide config functions from users who may potentially screw things up inadvertently.
So bottom line, can this be done without giving everyone full admin rights?
Thanks in advance.
I have just done this with my own site. If you know how to edit PHP it is not hard. If you do not know how to then you will simply be cautious, or as some one who does to walk you through the following, easy to do, steps. Don't let the way things look scare you.
Here is what you must change
Step one..... Get the "edit file information" button to appear for files you do not own.
in the file "Displayimage.php"
change line 74
use // to comment out a line starting with "if ((USER_ADMIN_MODE && $CURRENT_ALBUM_DATA['category']"
change line 78
use the // to comment out line the ending } symbol (this is just after the next EOT)
Note do not use the begin comment symbol /*; and do not comment out the information between these lines as they are the ones that allow you to have the buttons for editing.
Ok that only gives you the buttons to work, now you need the permissions to be ignored.
Step two
in the file "EditOnePic.php"
change line 61
use the // to comment out that line that starts wtih "if (!(GALLERY_ADMIN_MODE || $pic['category'] == FIRST_USER_CAT + USER_ID"
change line. 209
use the // to comment out that line that starts wtih "if (!(GALLERY_ADMIN_MODE || $pic['category'] == FIRST_USER_CAT + USER_ID"
Save both files
Now you should be able to see the edit file button for files you do not own, and also be able to edit them.
I hope this help.