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: Changing upload permissions for ALL albums with one click?  (Read 2526 times)

0 Members and 1 Guest are viewing this topic.

DefenceTalk.com

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 230
    • http://www.defencetalk.com
Changing upload permissions for ALL albums with one click?
« on: November 11, 2003, 04:13:41 am »

Hi,

I have somewhere close to 174 Albums, and changing default upload permissions on them one by one is a pain!!! I would like to know if there is quicker and easier way to do this? I tried going into phpmyadmin tool and editing the table... but too takes long. Any solution?

Thanks
Logged
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.defencetalk.com%2Fpictures%2Fsignature_cpg.php&hash=c0098ed5314d39beb9e8799c7c8787a9a0353b45)

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Changing upload permissions for ALL albums with one click?
« Reply #1 on: November 11, 2003, 04:18:21 am »

Use SQL with phpMyAdmin
Logged
SANIsoft PHP applications for E Biz

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Changing upload permissions for ALL albums with one click?
« Reply #2 on: November 11, 2003, 07:35:06 am »

something like
Code: [Select]
UPDATE `cpg11d_albums` SET `uploads` = 'YES' WHERE `AID` > '25';(This will make all albums uploadable that are newer than your album # 25. Leaving out the "WHERE" bit will make them all uploadable...
Hope you get the idea...

GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 18 queries.