This topic has 3 replies, 2 voices, and was last updated 11 years by Tenshi.

  • Author
  • #3285
     Tenshi
    Participant

    Hello! I have a question about being able to customize/format how the Member list looks like. I want to transform it like this: http://puu.sh/4zHvQ.png

    I used this code (after searching the support forums) to make custom fields appear there:

    COPY CODE
    
    add_action('after_setup_theme','kleo_my_member_data');
    function kleo_my_member_data() 
    {
        global $kleo_config;
        //this is the details field, right now it take the "About me" field content 
        $kleo_config['bp_members_details_field'] = 'Introduction';
        //this display the fields under the name, eq: 36 / Woman / Divorced / Berlin. Modify with the names of the fields you want to appear there
        $kleo_config['bp_members_loop_meta'] = array(
            'Class',
            'Level',
            'Max Raw Damage',
            'Region',
            'PUG Type'
        );
    }
    

    In summary, how to make it such that:

    1) The field titles (Class, Level, Damage, Region, PUG Type) appear beside the answers.
    2) Be able to make it into a list, not one long line/sentence.

    Thank you!

    #3434
     Tenshi
    Participant

    bump~

    #3572
     SQadmin
    Keymaster

    Hi,
    To make them appear like that, you need to redefine the function that is rendering this section.See the file attached.bp_ren

    Also add this css to Sweetdate-> Styling options -> Quick css

    COPY CODE
    
    .search-item .date, .search-item .date a {height:auto}
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    Attachments:
    You must be logged in to view attached files.
    #3575
     Tenshi
    Participant

    OMG THANK YOU! Works perfectly~

    http://puu.sh/4DJZg.png

    I’m so happy!

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Displaying Fields under Name/Avatar in Member List’ is closed to new replies.

Log in with your credentials

Forgot your details?