How to choose another user How to choose another user
 

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

Main Menu

How to choose another user

Started by ewise, February 26, 2014, 06:20:11 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ewise

Hi,
After uploading photos how to choose another user who would author the photos?
Thank you so much.

gmc

Coppermine sets the owner to the user uploading (or batch adding) the files. Don't know of any interface in Coppermine to change owner...
However it can be quite simple to change the owner of all pics in given album via phpMyAdmin.

You will need some data values from other tables (or more complex SQL)
For example to change owner of all pics in album with aid '3' to user with user_is 8 and cpg table prefix of 'cpg_':
UPDATE cpg_pictures SET owner_id = '8' where aid = '3'

Other criteria can of course be used as appropriate... Always a good idea to backup your databases before updating.

Thanks!
Greg
My Coppermine Gallery
Need a web hosting account? See my gallery for an offer for CPG Forum users.
Send me money