-
Leendert van der Ree replied to the topic field visibility in the forum How-to & Troubleshooting 10 years, 7 months ago
that does the trick. Thank you
-
Leendert van der Ree replied to the topic field visibility in the forum How-to & Troubleshooting 10 years, 7 months ago
@shanebp Had support from the developer of xprofile. He thinks has something to do with buddypress. I don’t know. What I do know is that if I have the following code in the members-loop file:
<?php $hidden_fields = bp_xprofile_get_hidden_fields_for_user(bp_get_member_user_id()) ; ?>
<?php if (xprofile_get_field_data(‘field_name’) &&…[Read more] -
Leendert van der Ree replied to the topic field visibility in the forum How-to & Troubleshooting 10 years, 7 months ago
@shanebp Thanks. I used the code and put it in the members-loop. No result. I can see the fields in the admin section as well as in the profile. I can change visibility to one of the four possibilities. But none shows up in the members listing. I don’t get it.
-
Leendert van der Ree started the topic field visibility in the forum How-to & Troubleshooting 10 years, 7 months ago
Hi,
trying to display profile fields. In the admin or user settings I can set the visibility to public, members or me only.
When in the members-loop.php I can set certain fields to show up. However these fields will always show up, no matter how the visibility is set.
Is there a way to do something like: if bp_field_visibility of field xyz is…[Read more]
@lvdree
Active 7 years, 2 months ago