Skip to Content Skip to Menu

CB gallery comments outside CB ?

  • activha
  • activha
  • ONLINE
  • Posts: 2327
  • Thanks: 117
  • Karma: 13
7 years 9 months ago #289287 by activha
CB gallery comments outside CB ? was created by activha
Hello

CB gallery re-work with comments on photos is a huge step forward :-)

We use auto action to have activity input each time our users add a new hotspot with compojoom hotspots component and show the picture of the added hotspot.

Would it be possible to have CB comment system on this photo ?
Is it possible to use CB comment system outside of CB to show it on an hotspot display view for instance ?

I have another question for CB gallery : is it possible to display gallery items outside of CB ?
For instance if one of our users would like to pin another user's video or photo on its private space (which is basically a k2 user display), how could we do it ?

Thanks for your ideas
best regards
Jean

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48437
  • Thanks: 8275
  • Karma: 1443
7 years 9 months ago #289295 by krileon
Replied by krileon on topic CB gallery comments outside CB ?

Would it be possible to have CB comment system on this photo ?
Is it possible to use CB comment system outside of CB to show it on an hotspot display view for instance ?

If it fires a CB trigger, yes. Otherwise you need to know how to use CB Activity API which is very early in its development. It'll be refined with CB Activity 4.0.0 where it'll function more like CB Gallery (roughly 3 lines of code to render a comment stream).

I have another question for CB gallery : is it possible to display gallery items outside of CB ?
For instance if one of our users would like to pin another user's video or photo on its private space (which is basically a k2 user display), how could we do it ?

There's no share functionality yet for gallery images, but I guess they could just right click and copy the image URL. The way CB Gallery works is it prepares its gallery object, caches the gallery parameters to the user session, and generates and ID that's used to link those cached parameters to the gallery object. This allows the gallery parameters to persist from page to page. So I've no idea how directly sharing the image URL will work in this case. The share functionality will likely generate a string that rebuilds the gallery from it, 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.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum