Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: custom filter for xprofile needed(you need this too)


Burt Adsit
Participant

@burtadsit

The theme and the profile back end don’t support this right now but there is a mod you can try.

Change line 11 which reads:

<?php if ( bp_field_has_data()) : ?>

To read:

<?php if ( bp_field_has_data() && bp_field_has_public_data()) : ?>

In /bp-themes/buddypress-member/profile/profile-loop.php

Then you will manually have to use phpmyadmin and go into the table bp_xprofile_fields and change all the profile field records that are parent fields and have \’0\’ in the column \’is_public\’ to \’1\’ for the fields you want to show on the profile and \’0\’ for the fields you don\’t want to show.

Parent fields are the ones that have a \’0\’ in the \’parent_id\’ column.

Skip to toolbar