Skip to Content Skip to Menu

[#6788] CB Groupjive Auto Action

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
7 years 2 months ago - 7 years 2 months ago #297419 by timstohr
[#6788] CB Groupjive Auto Action was created by timstohr
Hi Kyle,
I have set up the activity in Groupjive using CB Auto Action.
For some reason when I create a comment it gets the asset "groupjive.group.52" which is exactly what I want.
If I post comments now to that asset, the comments also get the asset "groupjive.group.52" and the comments appear on every post in that group.

How can I solve this?
Last edit: 7 years 2 months ago by krileon. Reason: Added [#6788] tag to subject

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48534
  • Thanks: 8290
  • Karma: 1445
7 years 2 months ago - 7 years 2 months ago #297450 by krileon
Replied by krileon on topic CB Groupjive Auto Action
Ah, yeah that's certainly not right. It's due to the asset override in GJs core activity parsing class, which shouldn't be there. Comments on posts made on a GJ stream should be tied to the activity unless it's on activity of say GJ Photos (then they're tied to that photo). Have added a bug ticket and fixed for a nightly build. Quickfix is below if you don't want to wait. Note this will not retroactively fix comments incorrectly linked (there is no way to automate fixing them, sorry).

IN: components/com_comprofiler/plugin/libraries/CB/Plugin/GroupJive/Trigger/ActivityTrigger.php
ON: Lines 199 - 200
DELETE:
Code:
$row->params()->set( 'overrides.tags_asset', 'asset' ); $row->params()->set( 'overrides.comments_asset', 'asset' );

IN: components/com_comprofiler/plugin/libraries/CB/Plugin/GroupJive/Trigger/ActivityTrigger.php
ON: Lines 298 - 299
DELETE:
Code:
$row->params()->set( 'overrides.tags_asset', 'asset' ); $row->params()->set( 'overrides.comments_asset', 'asset' );

forge.joomlapolis.com/issues/6788


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: 7 years 2 months ago by krileon.

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

Moderators: beatnantkrileon
Powered by Kunena Forum