bphelp/code field member page display
-
hello,
i need to display one line(field-3) of profils in LIST of profil. Its very important for me.
@bphelp give me this code but i have just “Field-name :” and nothing else..doesn’t work :add_action(‘bp_directory_members_item’, ‘bphelp_dpioml’);
function bphelp_dpioml(){
$bphelp_my_profile_field_3=’Field-Name’;
if( is_user_logged_in() && bp_is_members_component() ) { ?>
<div class=”bph_xprofile_fields” style=” margin-left: 25%;”><?php echo $bphelp_my_profile_field_3 ?>: <?php echo bp_member_profile_data( ‘field=’.$bphelp_my_profile_field_3 ); ?><br />
</div><?php
}
}
- The topic ‘bphelp/code field member page display’ is closed to new replies.