This topic has 6 replies, 2 voices, and was last updated 11 years by SQadmin.

  • Author
  • #3415
     D3NE
    Participant

    Hi, before everything, this is not working for me:

    https://archived.seventhqueen.com/forums/topic/how-to-add-more-tabs-next-to-the-profile-image

    Did anything changed on the new update?, how do I do to translate, add, and modify the tabs that are shown on the profile of the users?…

    Thanks.

    #3421
     SQadmin
    Keymaster

    Hi,
    Regarding that section, nothing has changed in the last update.
    If you add the code just like in the example it should work. You need to change the name to match your fields group name from ‘name’ => __(‘Social’, ‘kleo_framework’) to ‘name’ => __(‘My group name’, ‘kleo_framework’)

    Paste your added code if you can’t figure it out.
    Also you need to have the sweetdate-child theme activated.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #3467
     D3NE
    Participant
    This reply has been set as private.
    #3553
     SQadmin
    Keymaster

    Hi, You should have followed the topic and add the code just like there:

    COPY CODE
    
    
    add_action('after_setup_theme','kleo_my_actions');
    function kleo_my_actions()
    {
        global $bp_tabs;
    $bp_tabs['looking-for'] = array(
        'type' => 'cite',
        'name' => apply_filters('kleo_extra_tab1', __('Looking for', 'kleo_framework')),
        'group' => apply_filters('kleo_extra_tab1', 'Looking for'),
        'class' => 'citetab'
    );
    
    $bp_tabs['base'] = array(
        'type' => 'regular',
        'name' => apply_filters('kleo_extra_tab2',__('About me', 'kleo_framework')),
        'group' => 'Base',
        'class' => 'regulartab'
    );
    
    /* Bp-Album tab - only if plugin installed */
        $bp_tabs['bp-album'] = array(
            'type' => 'bp_album',
            'name' => __('My photos', 'kleo_framework'),
            'class' => 'mySlider'
        );
    }
    

    You should edit the name attribute (ex: ‘name’ => __(‘My photos’, ‘kleo_framework’),) to match yours

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

    Sorry I think I’m just not getting it… I keep receiving the error that I pointed before.

    #3657
     D3NE
    Participant

    Do I need to install bp-album or rtmedia?, the photos are showing ok to me… should I do that?

    #3674
     SQadmin
    Keymaster

    bp-album is included with the theme. you can install rtMedia if you want.
    Please paste here the code you added to your functions.php

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 7 posts - 1 through 7 (of 7 total)

The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?