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: Visitors can upload files (for all albums)  (Read 13277 times)

0 Members and 1 Guest are viewing this topic.

Harrr

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Visitors can upload files (for all albums)
« on: September 07, 2004, 10:35:47 am »

Say you have a hundred albums. How would you change the 'Visitors can upload files' for all of them, other than go to the properties of each one and change it there.

Maybe someone who knows the DB can give me an SQL statement, though it would be a good feature to have a screen with all albums listed and checkboxes for some properties which you tick/untick and then apply changes.

Thanks in advance.
Logged

mstralka

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 178
Re: Visitors can upload files (for all albums)
« Reply #1 on: September 07, 2004, 12:18:34 pm »

This will turn on uploading for every album in your system.  To limit it to some albums I would need more details.
Code: [Select]
UPDATE cpg132_albums SET uploads = 'YES'
Logged
GO IRISH

nukeworker

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 83
  • Visit NukeWorker.com
    • Nuclear Jobs
Re: Visitors can upload files (for all albums)
« Reply #2 on: March 21, 2005, 09:43:21 pm »

This should be added to the FAQ.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Visitors can upload files (for all albums)
« Reply #3 on: March 23, 2005, 10:36:11 am »

moving this from the cpg1.3 standalone support board to the approved feature request board for cpg1.5
There should rather be an admin settable option in the future imo.

Joachim
Logged

nukeworker

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 83
  • Visit NukeWorker.com
    • Nuclear Jobs
Re: Visitors can upload files (for all albums)
« Reply #4 on: March 23, 2005, 12:52:58 pm »

moving this from the cpg1.3 standalone support board to the approved feature request board for cpg1.5
There should rather be an admin settable option in the future imo.

Joachim

One question.

I ran this query, so far so good. -- I notice that it also changes the setting for the personal gallerys as well.  -- Does that mean that I'm allowing "uer A" to post in "user B"'s gallery??

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Visitors can upload files (for all albums)
« Reply #5 on: March 24, 2005, 01:15:25 am »

That shouldn't be the case.  Have you tried it yet?  Just create a few test users, create albums for them, and try uploading.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

nukeworker

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 83
  • Visit NukeWorker.com
    • Nuclear Jobs
Re: Visitors can upload files (for all albums)
« Reply #6 on: March 24, 2005, 03:51:03 pm »

That shouldn't be the case.  Have you tried it yet?  Just create a few test users, create albums for them, and try uploading.

I tested it, everything is fine.

griswold

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Visitors can upload files (for all albums)
« Reply #7 on: March 24, 2005, 07:58:45 pm »

Where would you change the insert sql to set YES as default. I tried changing the db default but when I add a new album, it still sets it as NO.
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here
Pages: [1]   Go Up
 

Page created in 0.035 seconds with 19 queries.