How to change the default permisson for a new album?! How to change the default permisson for a new album?!
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

How to change the default permisson for a new album?!

Started by sv00sj, June 30, 2005, 12:42:09 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sv00sj

Hi!

When I create a new album, the 'Permission for this album" is auto. set to "Evereybody". Is there a way that I can change this, and make the default setting for new albums be "Members of the 'Registered' group"?!


Nibbler

Yes, how to do this has been posted in the boards previously, please try a search.

sv00sj

Quote from: Nibbler on June 30, 2005, 01:25:44 PM
Yes, how to do this has been posted in the boards previously, please try a search.

Hi!

I've searched, but I can't find an answer to my question. I want "Reg. user" group to be default.

Nibbler

delete.php

$query = "INSERT INTO {$CONFIG['TABLE_ALBUMS']} (category, title, uploads, pos) VALUES ('$category', '" . addslashes($op['album_nm']) . "', 'NO',  '{$op['album_sort']}')";

change to

$query = "INSERT INTO {$CONFIG['TABLE_ALBUMS']} (category, title, uploads, pos, visibility) VALUES ('$category', '" . addslashes($op['album_nm']) . "', 'NO',  '{$op['album_sort']}', 2)";