Visitors can upload files (for all albums) Visitors can upload files (for all albums)
 

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

Visitors can upload files (for all albums)

Started by Harrr, September 07, 2004, 10:35:47 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Harrr

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.

mstralka

This will turn on uploading for every album in your system.  To limit it to some albums I would need more details.

UPDATE cpg132_albums SET uploads = 'YES'
GO IRISH


Joachim Müller

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

nukeworker

Quote from: GauGau 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

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

That shouldn't be the case.  Have you tried it yet?  Just create a few test users, create albums for them, and try uploading.
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

Quote from: kegobeer 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.

I tested it, everything is fine.

griswold

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.

Casper

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