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: How to change the default permisson for a new album?!  (Read 3689 times)

0 Members and 1 Guest are viewing this topic.

sv00sj

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
How to change the default permisson for a new album?!
« on: June 30, 2005, 12:42:09 am »

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"?!

« Last Edit: September 09, 2005, 09:40:05 am by GauGau »
Logged

Nibbler

  • Guest
Re: How to change the default permisson for a new album?!
« Reply #1 on: June 30, 2005, 01:25:44 pm »

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

sv00sj

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: How to change the default permisson for a new album?!
« Reply #2 on: July 01, 2005, 01:25:32 am »

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

Nibbler

  • Guest
Re: How to change the default permisson for a new album?!
« Reply #3 on: July 01, 2005, 03:47:09 pm »

delete.php

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

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

yohooo8

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: How to change the default permisson for a new album?!
« Reply #4 on: September 09, 2005, 09:37:04 am »

Thanks  :)
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.