Changing image owner Changing image owner
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Changing image owner

Started by n3n, April 22, 2006, 02:40:25 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

n3n

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

Nibbler

Only by manually changing the database.

UPDATE cpg_pictures SET owner_id = [newid], owner_name = '[new name]' WHERE owner_id = [oldid]

n3n

Ok tnx alot Nibber,

Topic can be marked solved.