How to change the default permisson for a new album?! How to change the default permisson for a new album?!
 

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

Main Menu

How to change the default permisson for a new album?!

Started by sv00sj, June 30, 2005, 12:42:09 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sv00sj

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


Nibbler

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

sv00sj

Quote from: Nibbler on June 30, 2005, 01:25:44 PM
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.

Nibbler

delete.php

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

change to

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