How to change Owner name How to change Owner name
 

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 change Owner name

Started by patexocet, October 17, 2005, 12:52:53 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

patexocet

Hello,

I want to change the owner_name for many pictures in one operation. How can I do that.

Thank you for your help.

Pat

Stramm

assume the user name is Stramm and you want to change it to Kelly
1. in the admin menu click users, search for Stramm and change his name to Kelly.. unfortunately this will only change his name in profile and for the new pics but not for the old ones. I think that needs improvement in new CPG versions

2. To avoid this use phpmyadmin and execute a command like that one
UPDATE `cpg_pictures` set  owner_name='Kelly' WHERE  owner_name='Stramm';

change the cpg to your table prefix. Backup your database before you mess with it

patexocet

Thank you Stramm, it works fine...

Pat