forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 PHPnuke/Postnuke Support => Topic started by: gazraa on December 11, 2003, 12:47:10 pm

Title: disk space usage
Post by: gazraa on December 11, 2003, 12:47:10 pm
When you look at the users via the coppermine admin menu, you see what disk space allocation you have set them, and you should see how much they have used.

On my gallery everyone has used 0kb even though there are lots of images been uploaded.

It would be very handy to see as I would like to keep track of which users are taking up the most disk space.

Is it something that has ever worked? I don't remember seeing it working in previous versions either.
Title: disk space usage
Post by: gtroll on December 11, 2003, 02:26:54 pm
This may be a bug and I'm investigating a fix. Quotas do work while the usermgr may not report it...
Title: disk space usage
Post by: gazraa on December 11, 2003, 03:38:55 pm
okey dokey. it would be very handy, but it's not a high priority, for me at least.
Title: disk space usage
Post by: gtroll on December 12, 2003, 02:05:32 am
try this url
modules.php?name=coppermine&file=usermgr&page=1&sort=disku_d
Title: disk space usage
Post by: gazraa on December 12, 2003, 09:34:10 am
hmmm 0kb for all

If you can point me to which file should be handling it, maybe I can have a go at tracking the problem down too (although I'm no PHP expert, so it might take me a while)
Title: disk space usage
Post by: pinguish on December 12, 2003, 06:05:05 pm
gtroll (all)
i'm sure someone else asked this before..
the allocation only counts for pictures in the personspersonal gallerys..if they are generic images it doesn't count them. (basically it counts from which albums the images are in not based on where the image is physically stored).
I thought this was pretty sensible.
(otherwise filemanager is your friend )
Title: disk space usage
Post by: gazraa on December 13, 2003, 08:33:08 pm
ah right, so it only checks their personal galleries. That would explain the 0kb for all then.

It would be a useful feature to have where you could see how much space people are using up.

As each user gets their own directory, would it be too difficult to display the disk space of each folder?