move useralbum to different owner

dracula

Joined: 2005-10-14
Posts: 61
Posted: Wed, 2007-06-27 20:52

I am trying to figure out how g2 knows which useralbum belongs to a user.
My problem is that I have a user A with a lot of images, subalbums etc. then I created user B and want to remove user A but keep the useralbums of user A as useralbum of User B without moving the albums from user A to B.
I tried to change the g_id in g2_users table, but that didn't help.
any ideas?
The reason why I want it this complicated is that the viewcount and rating remain the same.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2007-06-28 16:07

user-albums are mapped to users in the PluginParameterMap. look for rows with pluginId = 'useralbum'

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage