Batch add - wrong user quota Batch add - wrong user quota
 

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

Batch add - wrong user quota

Started by Phantek, May 15, 2005, 09:39:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Phantek

I just used the batch add to include some files that a user on my gallery has uploaded.  Everything went well and all the photos were properly added to the user's album.  However, when I click on "users" in my admin options, it shows those files as being uploaded by my account.  In other words, it shows the total of the file sizes as being part of my quota, not the user's.  I want these photos to be included as part of the quota for the user who uploaded them.  Is there any way to do this?

kegobeer

Not that I'm aware of.  The batch add process is an admin feature, that's why the images show up as yours.  I guess you could use phpMyAdmin to manually edit the pictures table and change the owner from you to your member.
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

Phantek

Thanks, I'll give that a shot then.

Do you happen to know of a link to another topic which helpfully points me towards the right spot in the database to do this?  If not, no worries... I'll poke around phpMyAdmin.  Thanks.

Tranz

Before poking around the database, make sure to back it up.

kegobeer

You're the first to ask about this - there aren't any posts to refer.  You'll have to change owner_name and owner_id.
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

Phantek

Thanks for the reminder, TranzNDance.  I suppose that would be a good idea.

And kegobeer, I guess I should feel special for being the first.  Either that, or troublesome. 

Phantek

Okay, I did it and it worked.  Clearly, it's not preferrable.  But at least it works.