Skip to Content Skip to Menu

CB Menu menubar

  • uwe2023
  • uwe2023
  • ONLINE
  • Posts: 107
  • Thanks: 18
  • Karma: 2
1 week 4 days ago #339570 by uwe2023
CB Menu menubar was created by uwe2023
Hi, I have the idea to display a CB Menu tab in a module to Joomla Cassiopeia position "topbar", so that users will always see their new messages and activities. At the moment the CB Menu-tab switches to another layout, if you leave your own profile, and activities and messages will not be displayed there.

Is there a way to show user always new activities and messages as in the CB Menu menubar, even if they are not on their own profile? Maybe the same view as if they are on a not-CB-content-site?

Best regards Uwe

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
1 week 3 days ago #339575 by krileon
Replied by krileon on topic CB Menu menubar
CB Activity Bot will let you substitute in the notification icon anywhere your site supports Joomla content plugins with the following.
Code:
[cbactivity:notifications /]

CB Activity Module also has a mode for displaying the icon.

As for profile messages there isn't an option to display it outside of profile beyond using the menubar, but you can enable new private message notification in CB Activity and then just display the activity icon so they'll be notified of new messages. It's also possible to display a new message link using the CB Workflows Module and it can also be displayed in the CB Login Module, but it won't be the popover and will just be a link to messages.


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.

  • uwe2023
  • uwe2023
  • ONLINE
  • Posts: 107
  • Thanks: 18
  • Karma: 2
1 week 3 days ago #339581 by uwe2023
Replied by uwe2023 on topic CB Menu menubar
Hi Kyle, ok, thank you for your reply. The first step works. The second part of your reply is more difficult for me, because CB Activity is a complex system. Enabling new private message notification: where? CB Activity>Notificatios? It´s enable, the entry is "cb_notif_pm". Or anywhere else? There isn´t also a possibility there to enable an icon...I guess I´m doing it wrong, but I also tried it with CB Activity>Streams, but there is no chapter private messages.

Best regards Uwe

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
1 week 2 days ago #339583 by krileon
Replied by krileon on topic CB Menu menubar
Notifications are enabled in CB Activity > Parameters > Notifications > Notify. You can either force enable it for everyone or have it be dependent on a field so users can toggle the notification on/off as needed. This would then create a new CB Activity notification when they receive a message so that the only popover icon you need is CB Activity.

Am working on a solution for inserting the PMS icon anywhere you want using PHP and will see if I can find a way to substitute it in, but worst case can use a Code field to render it anywhere.

forge.joomlapolis.com/issues/9516


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: 48541
  • Thanks: 8290
  • Karma: 1445
1 week 2 days ago #339584 by krileon
Replied by krileon on topic CB Menu menubar
Ok, I've a pending MR awaiting review. Once reviewed and merged we'll release a new build release adding new functionality to the PMS feature for easily rendering its icon outside of profiles. There will be 2 ways to do this.

The first way is using the PMS global. This will of course require PHP, but can be done in a Code action for example. Example as follows.
Code:
global $_CB_PMS; return ( $_CB_PMS->getPMSicon( USER_ID_HERE )[0] ?? null );

The other way is to use the PM field in CB > Field Management. A new display option of "Icon with Popover" is being added. Once selected it'll cause the PM field to display the popover icon if the field belongs to the viewing user. Next you can substitute it in anywhere you like using the below.

[cb:userfield field="pm" /]

For this usecase I'd recommend moving the field to a tab that's in a not shown on profile position so you don't end up with 2 popover icons on profile and while both will work it'll seam a bit odd.

I will reply here when this release is available.


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.

  • uwe2023
  • uwe2023
  • ONLINE
  • Posts: 107
  • Thanks: 18
  • Karma: 2
1 week 2 days ago #339585 by uwe2023
Replied by uwe2023 on topic CB Menu menubar
Hi Kyle, great, thank you, so long!

Best regards Uwe

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

Moderators: beatnantkrileon
Powered by Kunena Forum