Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Visitors can upload files  (Read 3354 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.032 seconds with 19 queries.