Skip to Content Skip to Menu

Questions about auto action and gallery

  • liaskas
  • liaskas
  • ONLINE
  • Posts: 485
  • Thanks: 41
  • Karma: 3
  • Add-ons
1 day 5 hours ago #342607 by liaskas
Questions about auto action and gallery

Question 1
We have an auto action that logs an activity post whenever we approve an uploaded media to a users gallery.
In this auto action we have set in Action Tab / Flair -> "Adult".
The description of the Flair field says "Optionally select Flair to tag post with" so we expect every new cb activity post that is created by this auto action to show with Flair tag.
Well... this does not happen! 

Question 2
In the past, every user had the ability to move an uploaded image inside an Album if the image is not currently inside an Album. How ca he do this action now? There is no option to set the Album that the image belongs to, even when he uploads the image. The only way is to upload the image inside the Album but this is not always convenient.

Can you please advise on both?
Thank you

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49845
  • Thanks: 8515
  • Karma: 1465
10 hours 45 minutes ago - 10 hours 42 minutes ago #342608 by krileon
Replied by krileon on topic Questions about auto action and gallery

Question 1
We have an auto action that logs an activity post whenever we approve an uploaded media to a users gallery.
In this auto action we have set in Action Tab / Flair -> "Adult".
The description of the Flair field says "Optionally select Flair to tag post with" so we expect every new cb activity post that is created by this auto action to show with Flair tag.
Well... this does not happen!

That sounds like a bug in the auto action. Will take a look and see why it's not applying flair.

Question 2
In the past, every user had the ability to move an uploaded image inside an Album if the image is not currently inside an Album. How ca he do this action now? There is no option to set the Album that the image belongs to, even when he uploads the image. The only way is to upload the image inside the Album but this is not always convenient.

That's not possible anymore in the current. They need to share into the album they want it to belong to. Quick album switching will be implemented back in in a future release as I didn't have time to get that implemented before release. Made a feature ticket to keep track of this as was just tracking internally.

forge.joomlapolis.com/issues/9770


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.
Last edit: 10 hours 42 minutes ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49845
  • Thanks: 8515
  • Karma: 1465
10 hours 23 minutes ago #342615 by krileon
Replied by krileon on topic Questions about auto action and gallery
Ok, retested CB Auto Actions application of Flair. Seams to be working fine. Please be sure you have both CB Activity and CB Auto Actions on their latest build releases.

Auto Action
 

Result
 


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.

  • liaskas
  • liaskas
  • ONLINE
  • Posts: 485
  • Thanks: 41
  • Karma: 3
  • Add-ons
7 hours 12 minutes ago #342620 by liaskas
Replied by liaskas on topic Questions about auto action and gallery
I just updated to the latest release of CB Activity. The auto actions plugin was already the latest release.

I logged in as a registered user and uploaded an image to my gallery.
  1. A new activity is created (backend). It should not be created yet because the auto action is triggered with gallery_onAfterApproveGalleryItem.
  2. The gallery item needs approval so the admin approves it in frontend.
  3. The gallery item never appeared on cb activity page.
  4. Checking again the activity in backend.
  • Activity Tab -> Published: No
  • Activity Tab -> Asset: gallery.photos.47351
  • Features Tab: -> Flair: Empty field.
May this be ralated to the fact that the gallery items need approval?
 

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49845
  • Thanks: 8515
  • Karma: 1465
6 hours 44 minutes ago #342622 by krileon
Replied by krileon on topic Questions about auto action and gallery
I don't think that's your auto action logging that. That's the built in activity within CB Activity > Parameters > Activity. CB Activity has over a dozen activity and notification logging capabilities just built right in. Toggle them on/off as needed.


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.

  • liaskas
  • liaskas
  • ONLINE
  • Posts: 485
  • Thanks: 41
  • Karma: 3
  • Add-ons
6 hours 9 minutes ago - 5 hours 54 minutes ago #342626 by liaskas
Replied by liaskas on topic Questions about auto action and gallery
The problem is something deeper.

I have set everything in CB Activity > Parameters > Activity

Testing...
  1. User uploaded image. Nothing shows in activity (backend)
  2. Admin approves image.
  3. An activity (backend) a new activity is created with Asset -> "gallery..1" and as an owner it shows the admin. The activity is not published and the flair is in place.
The owner must not be the admin!
The Asset "gallery..1" i do not know where it came from!
The activity must be published.

Auto action settings:

Triggers: gallery_onAfterApproveGalleryItem
Type: CB Activity
User: Automatic
Access: Everybody

Conditions
1
Field:Value
Custom Value: [var1_asset]
Operator: Is REGEX
Value: /^profile\./
2
Field:Value
Custom Value: [var1_asset]
Operator: Is Not REGEX
Value: /\.uploads$/

Action
Mode: Activity
Method: Create
Stream: Profile Activity
Published: empty field
Asset: gallery.[var1_type].[var1_id]
Title: empty field
Message: empty field
Owner: [var1_user_id]
Flair: Adult
Cooments: Same as stream
Likes Asset: empty field
Dynamic Group Asset:  empty field
System:  empty field
Date:  empty field
Load By: By Asset Only
Group Asset: gallery.%

 
Last edit: 5 hours 54 minutes ago by liaskas. Reason: Added the auto action settings

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

Moderators: beatnantkrileon
Powered by Kunena Forum