[Solved]: Default permissions for newly created albums [Solved]: Default permissions for newly created albums
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

[Solved]: Default permissions for newly created albums

Started by DefenceTalk.com, June 02, 2004, 03:15:26 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DefenceTalk.com

Hi,

Anyway to change default permissions for newly created albums? Currently its set to NO so if you create say 100 albums, you have to manually change it through the gallery admin config or through one of the database tools.

Anyway to change the default NO to YES???

Thanks
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.defencetalk.com%2Fpictures%2Fsignature_cpg.php&hash=c0098ed5314d39beb9e8799c7c8787a9a0353b45)

Nibbler

For upload permission you will need to change delete.php.


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


Just change the NO to YES

DefenceTalk.com

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.defencetalk.com%2Fpictures%2Fsignature_cpg.php&hash=c0098ed5314d39beb9e8799c7c8787a9a0353b45)