I am using Community builder pro in my CB 1.4 site.
Using that extension one can define to show or hide a content if a field does include or not include something, like
{SHOW_IF name=david}this content{/SHOW_IF}
Now What I want to do is to make the user to be able to set privacy of each field with following options:
public
Connections
Co-Workers
Friends
...
Basically user to adjust which information can be seen by who?
To do this, I can define a field for each specific field, say privacy_phone with multi-select where user can select for instane if public or connections (even connection types) can see his/her phone number. This will be selected in the Profiel Edit Page.
Now on the profile page, I will have something like
Instead of AAAAA I am looking for a CB code which checks if visitor is users connection or even co-worker type connection and then displays the field (phone in this case).
We're not the developers of CB Profile Pro. Please contact the developers of your extension for support. We do not provide support for other developers products.
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.
There is no conditional code for types. It's not stored in a field so you've no means to obtain a viewing users type based on the displayed users profile. You could try using CB Query Field and substitutions to get the viewing users type based off the displayed users type, but no guarantee this would work; you'd then use the results of the query field in your IF substitution. The above conditions are not in CBs substitution format however, but likely Profile Pros, which again we can not help with.
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.