singapore: the smallest big galery
home » forum » Feature Requests » Cleanup script

You are not logged in.

#1 2006-02-03 10:03:17

stubbsini
Member

Cleanup script

Is it possible to create a cleanup script that enables you to 'cleanup' an individual gallery or subgallery? How about several subgalleries in different parent galleries? Maybe on a screen with say 5 dropdown boxes or a list box enabling you to select galleries that have just been created...

I have an ever increasing number of galleries/subs/ on my site (organised by band/artist name), so the cleanup script takes longer to run each time.

I haven't looked at the code behind, it but I'm guessing it won't be as simple as editing a path to a gallery?

Andy

http://www.shoot-first.com

Offline

 

#2 2006-02-03 15:47:38

pavian
Moderator

Re: Cleanup script

uhm why are you actually running the cleanup-skript that often?

Offline

 

#3 2006-02-04 01:55:14

tamlyn
Lead Developer

Re: Cleanup script

ditto

also v0.10.0 should pretty much eliminate the need for the cleanup script.

Offline

 

#4 2006-02-04 14:56:03

stubbsini
Member

Re: Cleanup script

I run it each time I create a new gallery, as I do not have permission to upload any images to it.

...and also because I was told to:

http://www.sgal.org/forum/viewtopic.php?id=635

Taking this into account I'm guessing, from the two responses thus far, that there is an obvious solution to my question/ineptitude?

Andy

Last edited by stubbsini (2006-02-04 15:34:52)

Offline

 

#5 2006-02-06 18:39:26

tamlyn
Lead Developer

Re: Cleanup script

That problem arises from mixing web and ftp uploads. If you do everything via FTP then you own them and you can do what you like. v0.10.0 should have addressed this by explicitly chmodding everything it touches.

Offline