can i change default album settings? can i change default album settings?
 

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

can i change default album settings?

Started by hugooooo, May 01, 2014, 02:01:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

hugooooo

hi,
i am not sure if this is the right place to ask (sorry if it's not), but this board makes most sense to me...

i would like to change the default album settings:
- permissions: album can be viewed by [one default usergroup], the other default-permissions are fine with my gallery
- thumbnail = random pic (would be nice, but not so important)

so that the users of my gallery have these settings as default when they create a new album. they should be able to change if they wish.

is that possible?

thanks for any advice!

ΑndrĂ©

Either you add the values to the corresponding query in delete.php:
$query = "INSERT INTO {$CONFIG['TABLE_ALBUMS']} (category, title, uploads, pos, description, owner) VALUES ('$category', '$get_album_name', 'NO', '{$position}', '', '$user_id')";
or adjust the default values of the albums table in your MySQL database (with a tool like phpMyAdmin).