Setting User Albums

ablank

Joined: 2005-05-12
Posts: 3
Posted: Wed, 2005-05-25 22:46

I've been trying out Beta3 and enjoying it. I've found one concern though. I imported lots of data and users from my existing Gallery install. When the users log in it creates their "User Album".

Is there any way to make an existing album the "User Album" for a specific user? Since I already had what were esentially "User Albums" before. I'd like to take advantage of the new features associated with this like having them go into their folder when they log in. I've tried changing the folder name/title, but that made no difference, and have looked through the database, but found nothing obvious linking the album to the user.

TIA
Adam

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Thu, 2005-05-26 00:34

if you're ok with tinkering with the db you can do this.. look in the g2_PluginParameterMap table for rows with g_pluginId='useralbum' and g_parameterName='albumId'. The g_itemId column has the id of the user, g_parameterValue has the id of their user album.. you can change these to the albums you imported, then delete the ones that got created. Visit site admin / maintenance and run the flush database cache task after making changes directly in the db.

 
ablank

Joined: 2005-05-12
Posts: 3
Posted: Thu, 2005-05-26 04:29

That works perfectly! Thanks for the solution!