[SOLVED] Hide Menu Link unless Subscribed

5 years 6 months ago - 5 years 5 months ago #307993 by DavidLi
Hello, I am trying to display a menu link for an article for a small number of users.
I have secured the article and the Menu link via Paid Subscriptions successfully.
But, the link itself still displays for all registered users (I have it set that way currently).

Solution?

Thanx!!

Please Log in to join the conversation.

5 years 6 months ago #307998 by krileon
Replied by krileon on topic Hide Menu Link unless Subscribed
CBSubs can't remove the menu item from display. It can only protect its endpoint. It can however remove a module from display so if it was displayed on a separate menu module that might accomplish what you're wanting. Your alternative is to protect the menu item using normal Joomla ACL by adjusting its Access parameter then using CBSubs to give users the usergroup needed to access that menu item.


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: DavidLi

Please Log in to join the conversation.

5 years 6 months ago #308010 by DavidLi
Replied by DavidLi on topic Hide Menu Link unless Subscribed
I went with the Menu Module option. Didn't quite know how to implement the ACL version..Meets the need for now. Thanx!

For learning: I can create a new User group type ie: Admin / Registered / CB Control Group / etc?
And somehow Paid Subscriptions can add users to the CB Control Group?

Please Log in to join the conversation.

5 years 5 months ago #308017 by krileon
Replied by krileon on topic Hide Menu Link unless Subscribed

For learning: I can create a new User group type ie: Admin / Registered / CB Control Group / etc?

Yup, you'd have something like the below basically.

Public
- Registered
- - New Usergroup Here

This ensures they inherit Registered permissions making it easier to setup.

And somehow Paid Subscriptions can add users to the CB Control Group?

Yup, under the Access tab you can configure your plan to control a usergroup. This should add and remove the usergroup from the user as they subscribe/expire.


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: DavidLi

Please Log in to join the conversation.

5 years 5 months ago #308020 by DavidLi
Replied by DavidLi on topic Hide Menu Link unless Subscribed
That worked great. Thanx for the help!
The following user(s) said Thank You: krileon

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.623 seconds

Facebook Twitter LinkedIn