Skip to Content Skip to Menu

Module for filtering the activity feed

  • krileon
  • krileon
  • ONLINE
  • Posts: 50666
  • Thanks: 8684
  • Karma: 1474
1 month 2 weeks ago #344301 by krileon
Replied by krileon on topic Module for filtering the activity feed
The following is not currently exposed as a supported direct filter. Am looking into adding support for allowing it.

index.php?option=com_comprofiler&view=pluginclass&plugin=cbactivity&action=activity&stream=1&flair=FLAIR_ID_HERE

The following however is, but you will lose the ability to post and filter on such a view.

index.php?option=com_comprofiler&view=pluginclass&plugin=cbactivity&action=activity.flair&stream=1&flair=FLAIR_ID_HERE


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.

  • krileon
  • krileon
  • ONLINE
  • Posts: 50666
  • Thanks: 8684
  • Karma: 1474
1 month 2 weeks ago #344302 by krileon
Replied by krileon on topic Module for filtering the activity feed
Ok, this is now implemented in latest CB Activity build release. All of the following are fully functional and tested.

Filter
Code:
index.php?option=com_comprofiler&view=pluginclass&plugin=cbactivity&action=activity&stream=STREAM_ID_HERE&filter=FILTER_ID_HERE

Hashtag
Code:
index.php?option=com_comprofiler&view=pluginclass&plugin=cbactivity&action=activity&stream=STREAM_ID_HERE&hashtag=HASHTAG_HERE

Mentioned
Code:
index.php?option=com_comprofiler&view=pluginclass&plugin=cbactivity&action=activity&stream=STREAM_ID_HERE&mentioned=USERNAME_HERE

Flair
Code:
index.php?option=com_comprofiler&view=pluginclass&plugin=cbactivity&action=activity&stream=STREAM_ID_HERE&flair=FLAIR_ID_HERE

Date
Code:
index.php?option=com_comprofiler&view=pluginclass&plugin=cbactivity&action=activity&stream=STREAM_ID_HERE&date=DATE_OR_DATERANGE_HERE

Post
Code:
index.php?option=com_comprofiler&view=pluginclass&plugin=cbactivity&action=activity&stream=STREAM_ID_HERE&search=SEARCH_HERE


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.

  • Latypov
  • Latypov
  • OFFLINE
  • Posts: 13
  • Thanks: 2
  • Karma: 0
1 month 1 week ago #344309 by Latypov
Replied by Latypov on topic Module for filtering the activity feed
I installed plug_cbactivity_7.1.0+build.2026.07.17.13.23.53.008b67637
I created a menu with a link to the activity feed with a filter for the Question flair (screen 1)
When I click this menu, posts with this flair aren't displayed (screen 2)
If I then change the menu to the feed without selecting a filter (screen 4), the link is correct (screen 4)

You have a very good component for administrators who like to customize the site to their needs. But some settings are difficult to guess. I've read a lot of the documentation for your component, but a lot of the information is outdated. Perhaps you could create short overviews with various setup scenarios. If such resources exist, please recommend some.
Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 50666
  • Thanks: 8684
  • Karma: 1474
1 month 1 week ago #344313 by krileon
Replied by krileon on topic Module for filtering the activity feed
Those menu items use the Recent Activity stream. If you've changed that streams settings then that might be where your problem is.

As for changing the endpoint after the fact and it leaving behind the flair selected in the URL that's a Joomla bug we've no workaround for as it doesn't discard the existing URL parameters.

Use the URLs I've provided above in a custom URL. Don't create a CB Activity specific menu item for them. They are to filter an existing menu item. Example as follows.

Menu 1
Menu Item Type: Community Builder > Plugin
Plugin: CB Activity
Action: Activity
Stream: Profile Activity

Menu 2
Menu Item Type: System Links > URL
Link:
Code:
index.php?option=com_comprofiler&view=pluginclass&plugin=cbactivity&action=activity&stream=STREAM_ID_HERE&flair=FLAIR_ID_HERE&Itemid=MENU_ID_HERE

Replace STREAM_ID_HERE with the stream id for the stream in Menu 1. Replace FLAIR_ID_HERE with the id of the flair you want to display. Replace MENU_ID_HERE with the id of Menu 1. This will then effectively filter Menu 1.

I've added a feature ticket to improve the flair, hashtags, etc.. menu items to support specifying the stream.

forge.joomlapolis.com/issues/9911

You have a very good component for administrators who like to customize the site to their needs. But some settings are difficult to guess. I've read a lot of the documentation for your component, but a lot of the information is outdated. Perhaps you could create short overviews with various setup scenarios. If such resources exist, please recommend some.

I would love to create more resources, but I just don't have the time. We're a 2 person operation here. We'll be rewriting our plugins to function as standalone Joomla extensions (so no longer dependent on core CB) in the future. When that happens we'll be implementing Guided Tours for every extension to walk you through all basic configuration of each extension plus some use case tutorials. For now though feel free to ask away on our forums should you have any question and we'll be happy to answer.


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.

  • krileon
  • krileon
  • ONLINE
  • Posts: 50666
  • Thanks: 8684
  • Karma: 1474
1 month 1 week ago #344314 by krileon
Replied by krileon on topic Module for filtering the activity feed
Ok, the Flair menu endpoint is now fixed in latest CB Activity build release. You'll be able to select the Stream now for that endpoint.


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.
The following user(s) said Thank You: Latypov

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

  • Latypov
  • Latypov
  • OFFLINE
  • Posts: 13
  • Thanks: 2
  • Karma: 0
1 month 1 week ago #344317 by Latypov
Replied by Latypov on topic Module for filtering the activity feed
I have installed a new version of the plugin. Everything is working correctly now. Both links and menus. Thanks for the technical support!
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