Advanced search  

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

Pages: [1]   Go Down

Author Topic: Making album upload public  (Read 4778 times)

0 Members and 1 Guest are viewing this topic.

fangweile

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 103
  • Saranghaeyo ^_^
    • All Koreans - Home of Korean Actors and Actresses
Making album upload public
« on: August 29, 2007, 10:25:11 am »

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.
« Last Edit: August 29, 2007, 07:27:21 pm by Nibbler »
Logged
[My Coppermine Galleries]
All Koreans, Lim Eun-kyeong's IFC
Saranghae 김태희

Nibbler

  • Guest
Re: Making album upload public
« Reply #1 on: August 29, 2007, 01:51:14 pm »

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

Web-Man

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Making album upload public
« Reply #2 on: August 29, 2007, 03:46:00 pm »

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

Nibbler

  • Guest
Re: Making album upload public
« Reply #3 on: August 29, 2007, 06:05:37 pm »

Code: [Select]
UPDATE cpg_albums SET uploads = 'YES'
change the prefix as appropriate.
Logged

Web-Man

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Making album upload public
« Reply #4 on: August 29, 2007, 07:10:59 pm »

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

tnks Nibbler
Logged

Nibbler

  • Guest
Re: Making album upload public
« Reply #5 on: August 29, 2007, 07:27:01 pm »

You can change the default in delete.php

Code: [Select]
$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.
Logged

Web-Man

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Making album upload public
« Reply #6 on: August 29, 2007, 07:56:40 pm »

Nibbler perfect, thank you for the help
Logged
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 20 queries.