The issue comes full circle back to you being unable to substitute in the owner of the photos information. This means you've no way of linking it to the owner of the photo. So no that's probably not very doable either. Once the Asset column is implemented it'll include more targeted information such as the following.
gallery.profile.PROFILE_ID.photos.PHOTO_ID
This usage will be replacing Type, Subtype, Parent, and Item columns entirely. It contains the owner of the entry and the entry id, which should allow triggers to send emails or PMs for example based off that profile id. The above is just an example though as I don't know yet how I'm going to format the assets for various plugin activity nor how it's going to migrate properly on install.
Ideally it should format it as follows.
gallery.GALLERY_ASSET.ITEM_TYPE.ITEM_ID
So lets say I upload a photo to my profile gallery then it becomes the following for example.
gallery.profile.42.photos.12
This is predictably parseable so CB Activity theoretically should be able to rebuild the objects. For albums you'd just have the following.
gallery.profile.42.album.9
Looking further into the future for GJ you'd have the following.
groupjive.global.group.3
The default asset for GJ will be "global" which is independent from the owner and user_id of the activity entry it self would just be the group owner most likely.
This is all a bit confusing right now I'm sure, but I haven't even started on this API so I can't really be any more clear than what is to come until I've started implementing it. There probably needs to be a way for CB Gallery to extend CB Activity and rebuild the gallery object so you'd have access to the gallery object and the photo object through CB Gallery, but I don't know yet.
Kyle (Krileon)
Community Builder Team Member
Before posting on forums:
Read FAQ thoroughly
+
Read our Documentation
+
Search the forums
CB links:
Documentation
-
Localization
-
CB Quickstart
-
CB Paid Subscriptions
-
Add-Ons
-
Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please
send me a private message
with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.