Skip to Content Skip to Menu

How to properly setup menu item and CB Activity

  • jabba84
  • jabba84
  • OFFLINE
  • Posts: 92
  • Thanks: 5
  • Karma: 0
2 days 17 hours ago #340749 by jabba84
I need to use only CB Activity and the user profile management features. I've configured Joomla user groups and access levels as follows:
  • Registered
    • Active License
    • Expired License
When a user subscribes (I'm using Membership Pro), they are added to the Active License group. When the subscription expires, they are moved to the Expired License group. I also created the corresponding access levels.Here’s how I’d like the site to behave:
  • In the main site menu, I want a "Community" button that links to the CB Activity → Recent Activity page, and make it visible to everyone (including Public).
  • When a Public user or someone in the Expired License group accesses the page, they should not see the feed, but only a message like "Register to see the feed" (I can handle that with a module).
  • If a user with an Active License accesses the page, they should see the full activity feed from all users (even non-friends) and be able to post/reply/comment, etc.
How can I correctly configure this setup? I’d also like to make sure that when a user is moved to the Expired License group, they stop receiving notifications and their profile becomes "frozen" until they reactivate their subscription.Thanks in advance!

WebMaster & JoomlaLover @ www.pixed.it

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49007
  • Thanks: 8374
  • Karma: 1455
2 days 15 hours ago #340750 by krileon
Create 2 view access levels for your 2 different states. Example as follows.

Active License
- Active License
- Super Users
- Manager
- Administrator

Expired License
- Expired License
- Guest

Now create 2 different community menu items. 1 for CB Activity and set its access to Active License. Then 1 for your error page (e.g. Joomla article) and set it to Expired License.

Next in CB Activity > Streams edit the Recent Activity stream (or whatever stream your menu item is linking to) and set its access to Active License.

This would be substantially easier with CB Paid Subscriptions as you'd just protect the stream URL and it'd block access automatically and send them to subscribe.


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.

Moderators: beatnantkrileon
Powered by Kunena Forum