Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

Interesting problem: CB tab only for one subgroup but need substitution tab to appear on other subtab for other group

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
8 years 10 months ago - 8 years 10 months ago #275725 by timstohr
Hey Kyle,

Merry Christmas.

I have a tab (Send Private Messages) that I want for one usergroup to appear in CB menu. Another usergroup will have to buy a subscription to get access to the tab. So far so good...

I would like the tab in CB Menu to disappear though for those that have bought the subscription and the tab to appear in position Column 1. When I am using substitution and put the disappearance in Menu down to CB conditional and conditioning on Usergroup, my substitution field also disappears...

Only possibility is to have both?

Also, is it possible to include a CAPTCHA for non-registered users when they want to send a PM?
Last edit: 8 years 10 months ago by timstohr.

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

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
8 years 10 months ago #275726 by timstohr
Further "problem"... I need to duplicate the photos tab so that I can hide one for one usergroup and show it for another... but I cannot do that since they are systems tabs... What am I doing wrong?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48464
  • Thanks: 8280
  • Karma: 1443
8 years 10 months ago #275772 by krileon
CB Menu is a dropdown menu. It doesn't hold tabs. So I've no idea what you're trying to do in that regard, sorry. You can add new menu entries using CB Auto Actions, which has an Access parameter to limit who the new menu entry is visible to.

If you want a tab to be limited to a subscription then use CBSubs Fields Tabs Protection as it can protect access to a tab base off the profile owner and/or the viewers subscription.

Also, is it possible to include a CAPTCHA for non-registered users when they want to send a PM?

We've no control over UddeIM. UddeIM I believe has a Captcha functionality though. It maybe a part of the UddeIM premium though.

Further "problem"... I need to duplicate the photos tab so that I can hide one for one usergroup and show it for another... but I cannot do that since they are systems tabs... What am I doing wrong?

You can't make new plugin tabs. CB Gallery however lets you display any gallery in any of its gallery tabs so you could have the Video tab show Photos for example, but I wouldn't get too comfortable with this functionality as it's planned to be removed. The only other way to do what you're wanting is to substitute in the tab using a Custom HTML field in another tab and the tab substitution usage shown in the below tutorial.

www.joomlapolis.com/support/tutorials/107-use-cases/18353-using-substitutions-throughout-cb


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