Im sure it is possible to set the permision to a certain group on album create ? rather than having the user to change it afterwards.
Regular users can't create albums in the public gallery, no matter what group they're in. Users can only create albums within their personal user gallery.
I'm not sure this is what your question was about - if not, please re-phrase your question (more details).
GauGau
Something like this (http://forum.coppermine-gallery.net/index.php?topic=6553.0) ?
I think I understand what you want...
change the delete file... find this line and change it with my script:
delete.php
---------------------
$query = "INSERT INTO {$CONFIG['TABLE_ALBUMS']} (category, title, uploads, pos, visibility) VALUES ('$category', '" . addslashes($op['album_nm']) . "', 'NO', '{$op['album_sort']}',$category)";
zzzs.
http://forum.coppermine-gallery.net/index.php?topic=8525.0
This option is only available if you set 'users can have private galleries' to YES, in config.
duh :-[ I am so sorry I didn't even see that..
but thank you so much for your help and the fast answer Casper
greetings,
Deco
It doesn't appear that this thread has answered the original question.
Quote from: rostros on July 25, 2004, 05:43:06 PM
Im sure it is possible to set the permision to a certain group on album create ? rather than having the user to change it afterwards.
I want to do the something very similar. When a registered user creates a new album, the current default permission is that it is public and viewable by everyone. I want to change this so that all new albums created default to private and only viewable by registered users.
I have searched all over this board and through the documentation and FAQs and not found the answer to this.
The following response makes no sense at all. What line am I supposed to change?
Quote from: zzzs on August 05, 2004, 12:26:02 AM
I think I understand what you want...
change the delete file... find this line and change it with my script:
delete.php
---------------------
$query = "INSERT INTO {$CONFIG['TABLE_ALBUMS']} (category, title, uploads, pos, visibility) VALUES ('$category', '" . addslashes($op['album_nm']) . "', 'NO', '{$op['album_sort']}',$category)";
zzzs.
The link mentioned by Nibbler below, is dead.
Quote from: Nibbler on August 05, 2004, 01:16:12 AM
http://forum.coppermine-gallery.net/index.php?topic=8525.0
Please help me with this.
Thanks.
Bubba