Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Change uploader name for picture + change date?  (Read 2183 times)

0 Members and 1 Guest are viewing this topic.

udgang99

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 78
Change uploader name for picture + change date?
« on: July 12, 2006, 11:30:13 pm »

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.
« Last Edit: July 13, 2006, 12:57:05 am by Nibbler »
Logged

Nibbler

  • Guest
Re: Change uploader name for picture + change date?
« Reply #1 on: July 12, 2006, 11:36:33 pm »

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.

Code: [Select]
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.
Logged

udgang99

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 78
Re: Change uploader name for picture + change date?
« Reply #2 on: July 12, 2006, 11:57:49 pm »

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"...
« Last Edit: July 13, 2006, 12:12:04 am by udgang99 »
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 20 queries.