This topic has 16 replies, 2 voices, and was last updated 6 years by Kieran_SQ.

  • Author
  • #191330
     emmanuel
    Participant

    hello how to get the country of the user to show here on the members page see attachment

    Attachments:
    You must be logged in to view attached files.
    #191332
     Kieran_SQ
    Moderator

    Hi,

    I have added the below code to your site via WP Admin > Appearance > Editor > SweetDate Child > Functions.php to show the users country.

    COPY CODE
    // Custom Fields on Members Directory
    // //members page fields 
    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'] = 'About me';
    //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(
    'I am a',
    'Marital status',
    'Country'
    );
    
    }

    You can add, edit or remove other fields by following this article https://archived.seventhqueen.com/sweetdate/article/add-profile-information-member-name-members-directory .

    Thanks,

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #191336
     emmanuel
    Participant

    ok how to get it to show but country and city allow with the I am a, Marital status, City fields

    #191337
     Kieran_SQ
    Moderator

    Hi,

    As per the support article I shared you can add, edit or remove fields by adding to the code. I have updated this for you in WP Admin > Appearance > Editor > SweetDate Child > Functions.php

    Code changed from

    COPY CODE
    // Custom Fields on Members Directory
    // //members page fields 
    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'] = 'About me';
    //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(
    'I am a',
    'Marital status',
    'Country'
    );
    
    }

    Code changed to

    COPY CODE
    // Custom Fields on Members Directory
    // //members page fields 
    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'] = 'About me';
    //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(
    'I am a',
    'Marital status',
    'City',
    'Country'
    );
    
    }

    Note that I added the field titled City before Country, you can use the same format to show any fields in the order you desire.

    I have also added the below CSS fix that will allow all of the defined fields to show as in some cases it may extend outside of the area allowed.

    .search-item .date, .search-item .date a {height: auto;}

    Thanks,

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #191352
     emmanuel
    Participant

    hi thanks but the country is not show properly on the members page see attachment

    #191353
     emmanuel
    Participant

    sorry i forgot to paste the attachment here it is

    Attachments:
    You must be logged in to view attached files.
    #191359
     Kieran_SQ
    Moderator

    Hi,

    I have already applied a CSS fix for this as per my previous reply. Please purge your cache whilst on the members page (Ctrl+F5) to see changes.

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    Attachments:
    You must be logged in to view attached files.
    #191365
     emmanuel
    Participant

    ok, could the frame around the profile be hide or remove see attachment

    Attachments:
    You must be logged in to view attached files.
    #191368
     Kieran_SQ
    Moderator

    Hi,

    You can use the below CSS to remove the border for the individual profiles in the members directory

    .members .search-item {border: none;}

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #191369
     emmanuel
    Participant

    thank can the frame around the picture be hidden too

    Attachments:
    You must be logged in to view attached files.
    #191372
     Kieran_SQ
    Moderator

    Hi,

    You can use the below CSS to remove the border around the user avatar

    #members-list .search-item .avatar {border: none !important;}

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #191373
     emmanuel
    Participant

    thanks i notice on the mobile website when a page is open and you click the login or sign up button this would happen see attachment

    Attachments:
    You must be logged in to view attached files.
    #191376
     Kieran_SQ
    Moderator

    Hi,

    This comes from another ticket where the z-index of the menu was increased. You can use the below CSS to increase the z-index of the modal for mobile.

    COPY CODE
    @media only screen and (max-width: 767px) {
    .reveal-modal {z-index: 99999;}
    }

    Please make sure to purge your website cache and device browser cache to see the changes.

    Thanks,

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #191377
     emmanuel
    Participant

    ok can a member get a refund whenever they choose a membership level and they do not need it any more

    #191378
     Kieran_SQ
    Moderator

    Hi,

    Please follow this support article on Paid Memberships Pro on how to process a refund via their plugin.

    https://www.paidmembershipspro.com/how-to-process-a-refund/

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #191387
     emmanuel
    Participant

    hi thanks alot for the assistance today

    #191388
     Kieran_SQ
    Moderator

    You’re welcome, feel free to open a new ticket any time with any other questions and we’ll be happy to assist.

    Kieran.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

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

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?