Advanced search  

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]

Pages: [1]   Go Down

Author Topic: can i change default album settings?  (Read 4416 times)

0 Members and 1 Guest are viewing this topic.

hugooooo

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
can i change default album settings?
« on: May 01, 2014, 02:01:52 pm »

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!
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: can i change default album settings?
« Reply #1 on: May 02, 2014, 09:35:23 am »

Either you add the values to the corresponding query in delete.php:
Code: [Select]
$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).
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.