Skip to Content Skip to Menu

🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

CB Activity module stopped working on J4

  • kdave321
  • kdave321
  • OFFLINE
  • Posts: 196
  • Thanks: 25
  • Karma: 2
1 month 4 days 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: 48616
  • Thanks: 8302
  • Karma: 1446
1 month 3 days 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
  • OFFLINE
  • Posts: 196
  • Thanks: 25
  • Karma: 2
1 month 3 days ago - 1 month 3 days 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: 1 month 3 days ago by kdave321.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48616
  • Thanks: 8302
  • Karma: 1446
1 month 19 hours ago #339688 by krileon
Replied by krileon on topic CB Activity module stopped working on J4

I put debugging code at the top of /modules/mod_cbactivity/mod_cbactivity.php - and it's not even running!

Is the module itself published? If so then check within System > Manage > Extensions search "CB Activity" and be sure the CB Activity module is there and published as that's the extension itself.


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
  • OFFLINE
  • Posts: 196
  • Thanks: 25
  • Karma: 2
1 month 18 hours ago - 1 month 18 hours ago #339692 by kdave321
Replied by kdave321 on topic CB Activity module stopped working on J4
OK, searching in manage I see both the module and plugin - "6.1.1+build.2024.09.24.17.47.31.dc6223263 " - enabled and not locked. Module is published and I have all permissions.

I see Joomla 4 changed how modules are loaded.  Then I noticed the position was wrong - "Position 3" , but that still worked in my old template. I changed to Position 2 and still didn't show. I then selected my old template to be used on that menu item - and it worked!

So somehow the new template, which is just Cassiopeia with my additions, is not loading it. This is rather bizarre as I am loading numerous other modules thru-out the site the same way (to position 2).

---> I just changed position to main-top and it displays on the new template now. thanks.
Last edit: 1 month 18 hours ago by kdave321. Reason: fixed
The following user(s) said Thank You: krileon

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

Moderators: beatnantkrileon
Powered by Kunena Forum