Skip to Content Skip to Menu

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

[SOLVED] hide a tabs from my own profil

  • smFruen
  • smFruen
  • OFFLINE
  • Posts: 116
  • Thanks: 5
  • Karma: 3
8 years 3 weeks ago - 8 years 2 weeks ago #286724 by smFruen
hide a tabs from my own profil

have try this



only show on other people's profiles
hide the tab on my (viewer) own profile
Attachments:
Last edit: 8 years 2 weeks ago by krileon. Reason: Added [SOLVED] tag to subject

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48454
  • Thanks: 8280
  • Karma: 1443
8 years 3 weeks ago #286736 by krileon
Replied by krileon on topic hide field or a taps from my own profil
You want to hide them from the users self, but not other users? You want to hide them always from display? You want to hide them from everyone except users self? Please be more specific.


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.

  • smFruen
  • smFruen
  • OFFLINE
  • Posts: 116
  • Thanks: 5
  • Karma: 3
8 years 3 weeks ago - 8 years 3 weeks ago #286737 by smFruen
Replied by smFruen on topic hide field or a taps from my own profil
Sorry i want my tab to show on all profil and for all but not show the tab on my own profil,

eks

user A logged in he see the tab on all profil but not on his own profil

user B logged in he look on user A profil and he can se the tabs. User B look on he own profil profil B he can not see the tab

it is a tab where add user to friend, and i will not add my self to friend,
Last edit: 8 years 3 weeks ago by smFruen.

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

  • smFruen
  • smFruen
  • OFFLINE
  • Posts: 116
  • Thanks: 5
  • Karma: 3
8 years 3 weeks ago #286743 by smFruen
Replied by smFruen on topic hide field or a taps from my own profil
it works on a field

[cb:if user_id!="myid" ] this is hide on the viewing users profil [/cb:if]

:)

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48454
  • Thanks: 8280
  • Karma: 1443
8 years 3 weeks ago #286744 by krileon
Replied by krileon on topic hide field or a taps from my own profil
You'll need to use CB Conditional for that and it's Custom > Value condition as follows.

Display: Field conditional self
If...
Field: Custom > Value
Value...
Value: [user_id]
Translate Value: No
Is...
Operator: Equal To
To...
Value: [cb:userdata field="user_id" user="#me" /]
Translate Value: No
Then...
Mode: Hide
For...
Registration: No
Profile Edit: No
Profile View: Yes
Userlists Search: No
Userlists View: No

That will hide the field on profile view if the user viewing the field is the users self. Same usage applies to tabs as well.


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.

  • smFruen
  • smFruen
  • OFFLINE
  • Posts: 116
  • Thanks: 5
  • Karma: 3
8 years 3 weeks ago #286747 by smFruen
Replied by smFruen on topic hide field or a taps from my own profil
thanks work fin on a tab

:) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :)

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

Moderators: beatnantkrileon
Powered by Kunena Forum