This topic has 100 replies, 3 voices, and was last updated 8 years by Radu.

  • Author
  • #165995
     Radu
    Moderator
    Not marked as solution
    #166006
     king
    Participant
    Not marked as solution
    #166361
     Radu
    Moderator
    Not marked as solution
    #166384
     king
    Participant
    Not marked as solution
    #166567
     Radu
    Moderator
    Not marked as solution
    #166605
     king
    Participant
    Not marked as solution
    #166905
     Radu
    Moderator
    Not marked as solution
    #166937
     king
    Participant
    Not marked as solution
    #167143
     Radu
    Moderator
    Not marked as solution
    #168017
     king
    Participant
    Not marked as solution
    #168417
     Radu
    Moderator
    Not marked as solution
    #168489
     king
    Participant
    Not marked as solution
    #168652
     Radu
    Moderator
    Hi, Done, I will close this ticket and I will mark it as resolved. The updated code that pulls all fields it's
    function overwrite_mebers_dir_meta() {
        $marital_status = bp_get_member_profile_data('field=Statut');
        //$i_am_a = bp_get_member_profile_data('field=Je suis', bp_displayed_user_id());
        $i_am_a = xprofile_get_field_data( 'Je suis', bp_loggedin_user_id(), $multi_format = 'comma' );
    	$output['age'] = apply_filters('kleo_bp_meta_after_age', get_member_age(bp_get_member_user_id())) . ' ANS';
        $output['Statut'] = $marital_status;
        $output['Je suis'] = $i_am_a;
        $city = bp_get_member_profile_data('field=Ville');
        $department = bp_get_member_profile_data('field=Département');
        $country = bp_get_member_profile_data('field=Pays');
    	$output['Ville'] = $city;
    	$output['Département'] = $department;
    	$output['Pays'] = $country;
    	$output['À propos de moi'] = $about_me;
    	$kleo_config['bp_members_details_field'] = 'À propos de moi';
    
        return $output;
    }
    add_filter('kleo_bp_meta_fields', 'overwrite_mebers_dir_meta'); 
    
    Also a css prevent displaying all fields cuz it's limited to 26px height use also the css to have all displayed.
    .search-item .date, .search-item .date a {
        height: initial !important;
    }
    
    Cheers R.
    #168672
     king
    Participant
    Not marked as solution
    #168762
     Radu
    Moderator
    Not marked as solution
    #168787
     king
    Participant
    Not marked as solution
    #168871
     Radu
    Moderator
    Not marked as solution
    #171669
     king
    Participant
    Not marked as solution
    #171744
     Radu
    Moderator
    Not marked as solution
    #173638
     king
    Participant
    Not marked as solution
    #173795
     Radu
    Moderator
    Not marked as solution
Viewing 21 posts - 81 through 101 (of 101 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?