Skip to Content Skip to Menu

CB Activity module stopped working on J4

  • kdave321
  • kdave321
  • ONLINE
  • Posts: 191
  • Thanks: 24
  • Karma: 1
3 days 2 hours ago #339668 by kdave321
I have multiple activity streams working thru-out my site.

I created a distinct page for a logged-in member to see an Activity Feed - all his own activity plus connections, following, etc.  The CB Activity module displays on that 1 page.

This worked great in Joomla 3 but doesn't display anything at all in Joomla 4. I had made no changes to settings or files between them, so it's odd J4 would break it unless J4 triggered different logic.

What has been working is "user.connections" in the stream asset. I also tried "user, user.connections, following" but still nothing.

Any ideas?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
2 days 7 hours ago #339674 by krileon
Replied by krileon on topic CB Activity module stopped working on J4
Profile activity streams check profile access permissions. Can you see that users profile and the stream on their profile? If not it won't render in the module. The only exception is if it's just hidden from profile by moving it to a not shown on profile tab position. As for what could limit access it could be CB Privacy, CB Conditional, or even CB Paid Subscriptions depending on your configuration.


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.

  • kdave321
  • kdave321
  • ONLINE
  • Posts: 191
  • Thanks: 24
  • Karma: 1
2 days 3 hours ago - 2 days 2 hours ago #339680 by kdave321
Replied by kdave321 on topic CB Activity module stopped working on J4
Yes, I'm admin and I can see all profiles. I haven't changed any permissions.

This seems like a really basic use pattern, but I have tried everything in asset/stream, etc, and nothing happens.

So I have one stream on the profile which I use like the blog. The user can post and people can comment.  Works great and I can see in the #__comprofiler_plugin_activity this entry:

| 364 |       100 |     ### | profile.### |        0 | NULL  | NULL  | This is a new post. |       0 |     0 |      0 |         1 | 2024-11-22 21:26:15 | NULL     | {"action":{"id":0,"message":""},"link":{"url":"","media":,"thumbnail":true,"details":true},"gallery":""} | 1732310775.364 |

### is my user id.

The "Module 143"  Activity Stream is used by the CB Activity Module, and all I have there is :
Stream)  Asset = user
Filters) Include Assets = user,user.connections,following
, with no other changes to default.

This works great on J3, but just blank on J4. I'm not using CB Privacy or Conditionals here.

I have debugging turned on and no crash messages.

I put debugging code at the top of  /modules/mod_cbactivity/mod_cbactivity.php - and it's not even running!
Last edit: 2 days 2 hours ago by kdave321.

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

Moderators: beatnantkrileon
Powered by Kunena Forum