Change uploader name for picture + change date? Change uploader name for picture + change date?
 

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

Change uploader name for picture + change date?

Started by udgang99, July 12, 2006, 11:30:13 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

udgang99

Two question :

1: Is there a way where I can upload a bunch of pictures, and later change the name of the uploader from me to someone else? Like if I uploaded a picture that wasn't mine, and after the "owner" of that picture has signed up, I change the credite from me to him.

2. I have a bunch of "old" pictures, that I'd like to date back to when they were created. Like if I uploaded a picture today, but wanted to set a "fake" uploaddate to like "january 1st 2001" ? This way, if I sorted the pictures after "date" this (faked) old picture would read as the oldest.

Nibbler

One shall be the number of questions thou shalt ask and the number of the questions shall be one !

You can modify the database directly.

UPDATE cpg_pictures SET `owner_id` = '7' ,`owner_name` = 'user name' WHERE pid = 123

Where 123 is the numberof the pic to change ownership thereof.

udgang99

#2
Thank you, kind sir!

I take it that that was the answere for question number 1 ... I'll post the second question in another thread, then (here: http://forum.coppermine-gallery.net/index.php?topic=33817.0) !

Again - thanks!!!


****
edit: Hmmmm - seems like I'm not clever enough to actually find that database ... would that be accessible via an ftp-client? Or do I have to go through the mySQl-stuff???

***
edit: I figured it out !!
answer: Yes, I have to go through the mySQL "system"...