| 
Welcome, Guest

[#1613] Tab Managment Issue
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: [#1613] Tab Managment Issue

[#1613] Tab Managment Issue 3 years, 2 months ago #90837

  • dcr
  • dcr
  • OFFLINE
  • Fresh Boarder
    Fresh Boarder
  • Posts: 1
  • Karma: -
Hello,

I have a whole bunch of tabs within my profile section on my site.

Is there a way to make a control panel or something to allow users to disable certain tabs when they go to update their profiles?

Some of the tabs on my my site aren't always going to be used and look very sloppy when left blank.

Thanks

Post edited by: krileon, at: 2010/03/18 16:43
The topic has been locked.

Re:Tab Managment Issue 3 years, 2 months ago #90936

  • krileon
  • krileon
  • OFFLINE
  • Moderator
    Moderator
  • Posts: 24022
  • Karma: 695
dcr wrote:
Hello,

I have a whole bunch of tabs within my profile section on my site.

Is there a way to make a control panel or something to allow users to disable certain tabs when they go to update their profiles?

Some of the tabs on my my site aren't always going to be used and look very sloppy when left blank.

Thanks


Will be possible with not yet released privacy plugin.
Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly
CB links: Documentation - Templates - CBSubs - Hosting - Forge - Incubator - GroupJive
--
If you are a Advanced, Professional, Developer, or CBSubs 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 Advanced, 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 EST to 4:00 PM EST. 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.
--
My personal site(s)/link(s): AllMySocials - Tutorials
The topic has been locked.

Re:Tab Managment Issue 3 years, 2 months ago #90938

  • Rapunzl
  • Rapunzl
  • OFFLINE
  • Platinum Boarder
    Platinum Boarder
  • Posts: 3297
  • Karma: 108
You can hide empty tabs and fields in CB Configuration too.
Jamie (Rapunzl)
Community Builder Team Member

Before posting on forums: Read all CB Articles | Specially the FAQ | Help us help you
CB links: Subscribe to CB documentation | Our templates | Paid Subscriptions | Get Hosting | Our Forge
Visit my CB Profile

My personal site Rapunzl's Reality always under reconstruction
The topic has been locked.

Re:Tab Managment Issue 2 years, 3 months ago #124092

  • citydan
  • citydan
  • OFFLINE
  • Junior Boarder
    Junior Boarder
  • Posts: 29
  • Karma: -
I have "Show empty tabs" set to "No" because I want empty tabs to be hidden, but it's not working. Tabs are showing no matter what. One is a CB Sobi2 plugin tab but the other one is just a regular CB tab.

Is there another setting somewhere that I'm missing?
The topic has been locked.

Re:Tab Managment Issue 2 years, 2 months ago #126858

  • mikeprince
  • mikeprince
  • OFFLINE
  • Junior Boarder
    Junior Boarder
  • Posts: 31
  • Karma: -
I couldn't find any way to hide tabs from editing, via CB config or the privacy plugin. Valid reasons for hiding them include tabs that only had read only fields, tabs that had no fields, or tabs that I just didn't want to be visible on the edit profile tabs, e.g. Portrait - unnecessary since there is a menu option to update picture anyway. In addition the Portait tab is always ordered first, which makes getting to important and frequently requested options (like for a user to change their password) quite confusing.

In the end I resorted to the following hack:

In comprofiler.class.php, in function getEditTabs, replace
$oContent .= $this->_getEditTabContents( $oTab, $user, $output, $formatting, $reason, true );
with something like
if (($oTab->tabid != 20) and ($oTab->tabid != 29))
{
$oContent .= $this->_getEditTabContents( $oTab, $user, $output, $formatting, $reason, true );
}

The tabid values are the ones that correspond to the ones you want to hide, and can be found in CB Tab Manager.
Cheers
-- Mike --

Record, share and compare with BUBO Listing at www.bubo.org
The topic has been locked.

Re:Tab Managment Issue 2 years, 2 months ago #126964

  • krileon
  • krileon
  • OFFLINE
  • Moderator
    Moderator
  • Posts: 24022
  • Karma: 695
This is possible with latest CB Privacy, just edit the Tab in Tab Management and set the parameter Front-end edit: to No.
Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly
CB links: Documentation - Templates - CBSubs - Hosting - Forge - Incubator - GroupJive
--
If you are a Advanced, Professional, Developer, or CBSubs 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 Advanced, 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 EST to 4:00 PM EST. 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.
--
My personal site(s)/link(s): AllMySocials - Tutorials
The topic has been locked.
  • Page:
  • 1
  • 2
Time to create page: 1.06 seconds