View Single Post
Old August 26th, 2010, 02:24 PM   #101 (permalink)
Chuck S
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
Luciano some background on how Photopost Pro does member albums.

All the entries are stored in the categories table. There is one major destinction in the categories table of Pro that tells it the category is a personal album.

Categories are marked with

cattype = 'c'

Personal Albums are marked with

cattype='a'

So to grab all personal albums you can do a query to grab category list with cattype equals a. The userid who owns the album is stored in the parent field of the table. As far as permissions there are only two permisson settings a user can do in Pro. It is a public album or a private album. That setting is recorded as yes or no in the private field in the table. If the setting is yes for private then the password field in the table will also have an entry and not be null.

These are all fields in the categories table so I think you can alter your script to import albums.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote