Making album upload public Making album upload public
 

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

Making album upload public

Started by fangweile, August 29, 2007, 10:25:11 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

fangweile

Coppermine Version: Coppermine Photo Gallery 1.4.12
Integrate with SMF 1.1.3


I have set already to group manager the following settings:

Registered => Public albums upload 

allowed = yes
approval = no
Guest => Publics albums upload
allowed = no
approval = no

but still my members can't upload to my public album.

I check the album properties and found there the option of "Visitors can upload files *" under "Permissions for this album"

This option is set to default "no" which means visitors can't upload photos to that album.
I try to set it to "yes" and found out that the album is now can use by my members. My members now can upload photos to that album if it set to "yes"

But it said with asterisk that this option is depending on group settings.
My group settings for public upload are set above which is allowing my member to upload photos on public album.

If the option "visitor can upload files" is set to "no", my registered members can't upload files to that album. why is this so?  ???

Is there any way to fix this cause I don't want to edit all my album's properties one by one just to set the option to "yes". ? Do I really need to do it and set it to yes manually?? ::)

Hope someone could help. Waiting for your response, thanks in advance.
[My Coppermine Galleries]
All Koreans, Lim Eun-kyeong's IFC
Saranghae 김태희

Nibbler

Visitors means anyone who visits the gallery. It does not mean guests. You can set the album permissions en masse using phpmyadmin (uploads => 'YES')

Web-Man

I can change in phpmyadmin for one single album at time, how can i do it for all albuns?

Nibbler

UPDATE cpg_albums SET uploads = 'YES'

change the prefix as appropriate.

Web-Man

When i create a new album i can make that command again? and again, and again?

tnks Nibbler

Nibbler

You can change the default in delete.php

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

Just change the NO to YES.

Web-Man

Nibbler perfect, thank you for the help