Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Changing image owner  (Read 2801 times)

0 Members and 1 Guest are viewing this topic.

n3n

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 173
Changing image owner
« on: April 22, 2006, 02:40:25 pm »

hi,

I've uploaded several thousands of images to my gallery using my admin account. However, i wish to keep this account name
low key for security reasons.

Is there any way to (batch) change an image owner ? Tried renaming my user account but
that (obviously) did not work.


Cheers
« Last Edit: April 22, 2006, 03:07:49 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: Changing image owner
« Reply #1 on: April 22, 2006, 02:54:07 pm »

Only by manually changing the database.

Code: [Select]
UPDATE cpg_pictures SET owner_id = [newid], owner_name = '[new name]' WHERE owner_id = [oldid]
Logged

n3n

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 173
Re: Changing image owner
« Reply #2 on: April 22, 2006, 02:57:43 pm »

Ok tnx alot Nibber,

Topic can be marked solved.
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 15 queries.