Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: [Solved]: Default permissions for newly created albums  (Read 3757 times)

0 Members and 1 Guest are viewing this topic.

DefenceTalk.com

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 230
    • http://www.defencetalk.com
[Solved]: Default permissions for newly created albums
« on: June 02, 2004, 03:15:26 am »

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
« Last Edit: June 04, 2004, 07:35:48 am by GauGau »
Logged
(http://www.defencetalk.com/pictures/signature_cpg.php)

Nibbler

  • Guest
Re: Default permissions for newly created albums
« Reply #1 on: June 02, 2004, 08:00:11 pm »

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

Code: [Select]
$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
Logged

DefenceTalk.com

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 230
    • http://www.defencetalk.com
Re: Default permissions for newly created albums
« Reply #2 on: June 04, 2004, 06:07:14 am »

Thank You.
Logged
(http://www.defencetalk.com/pictures/signature_cpg.php)
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 18 queries.