Visitors can upload files - YES Visitors can upload files - YES
 

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]

Main Menu

Visitors can upload files - YES

Started by Mrj, December 09, 2010, 03:30:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Mrj

Hi,
Sorry for my english but I'm from Poland ;)

I have a small problem. When user make album, the option "Visitors can upload files" is automatically disabled. So if administrator doesn't change it, other users can't upload files to this album. I would like to have automatically enabled this option but I don't know what to do. I think I must make some changes in the files *.php.

I hope you can help me.

Αndré

Open delete.php, find
$query = "INSERT INTO {$CONFIG['TABLE_ALBUMS']} (category, title, uploads, pos, description, owner) VALUES ('$category', '$get_album_name', 'NO', '{$position}', '', '$user_id')";
and replace with
$query = "INSERT INTO {$CONFIG['TABLE_ALBUMS']} (category, title, uploads, pos, description, owner) VALUES ('$category', '$get_album_name', 'YES', '{$position}', '', '$user_id')";

breatheheavy

I tried changing the permissions to YES but under:

QuoteVisitors can upload files Yes / No
No is selected for everyone. How can I fix this?

My gallery is: http://www.breatheheavy.com/xray/

Αndré

breatheheavy, please don't hijack other's threads nor post unrelated questions. Please upgrade your gallery to the latest cpg1.5.x release (currently cpg1.5.18) before you start a new thread with a meaningful subject in the correct board. Thanks.