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  (Read 3743 times)

0 Members and 1 Guest are viewing this topic.

Neosporin

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Visitors can upload files
« on: June 14, 2009, 12:59:58 pm »

I was wondering if there was a way for 1.4 to mass-update the permissions for the albums so users can upload files.

There is an older post (http://forum.coppermine-gallery.net/index.php?topic=9726.0) talking about how to do it in 1.3 but I didn't know if this method was out-dated or not.

Also, on creating a new album, is it possible to have it automatically enable the option for user uploads?
Logged

Neosporin

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: Visitors can upload files
« Reply #1 on: June 14, 2009, 01:04:49 pm »

Okay, I've fixed the default permissions thing, but I'd still like to know if I can set all of the permissions - maybe using a similar SQL query as to the one above :)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Visitors can upload files
« Reply #2 on: June 14, 2009, 01:54:37 pm »

The query has remained the same: run
Code: [Select]
UPDATE yourCoppermineTablePrefix_albums SET uploads = 'YES';in a tool like phpMyAdmin to set public uploads to yes for all albums inside your database.
Logged

Neosporin

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: Visitors can upload files
« Reply #3 on: June 14, 2009, 02:02:49 pm »

The query has remained the same: run
Code: [Select]
UPDATE yourCoppermineTablePrefix_albums SET uploads = 'YES';in a tool like phpMyAdmin to set public uploads to yes for all albums inside your database.

Okay, thanks for the help :D
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 20 queries.