This topic has 9 replies, 2 voices, and was last updated 9 years by Laura.

  • Author
  • #39285
     sealagency
    Participant

    hello,

    I ask you to help with a problem I can not solve,

    We added and modify user profile fields and categories. As you can see from the attached file.
    I would like to
    – Change the name of the category “base” and that it always appears in the top face of the avatar, now if i change the name category “base” to “profile” for example, it disappears in front of the avatar.
    – Change the display order always in front of the current avatar: At the present moment “Base – photo”, to “Apropos de moi, Profil (change from base), Photos”

    Thanks for help

    Attachments:
    You must be logged in to view attached files.
    #39306
     Laura
    Moderator

    Hello, you can share with me your ftp and wp-admin, also what tabs you want to show next to profile photo? please say the name as you want it. Order and any other tip for me to help you fix it 🙂

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

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

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

    Always happy to help you 🙂

    #39350
     sealagency
    Participant
    This reply has been set as private.
    #39400
     Laura
    Moderator

    Hello, i need your website link in order to add it for you, i will share the code and tell you how to do it 🙂
    Go to sweetdate child theme functions.php and add the following:

    COPY CODE
    
    //Profile tabs
     
    add_action('after_setup_theme','kleo_my_custom_tabs');
    function kleo_my_custom_tabs() 
    {
        global $bp_tabs;
        $bp_tabs = array();
    /* This is the code you need to use as a base for each profile tab, the display changes if you use 
    Regular type or Cite tab, cite is a quote, bigger style for a lot of text, while regular is small
    When wanting to change the style, change it at type and class , citetab , regulartab 
    You can start to copy the custom code from here */
        $bp_tabs['CUSTOMGROUP'] = array(
                'type' => 'regular',
                'name' => __('Profil', 'kleo_framework'),
                'group' => 'Profil',
                'class' => 'regulartab'
        );
    /* To here, the above code is what you need to copy and paste to make new tabs.
    The order of the tabs changes as it is in the code. */
                 $bp_tabs['A-propos-de-moi'] = array(
                'type' => 'regular',
                'name' => __('A propos de moi', 'kleo_framework'),
                'group' => 'A propos de moi',
                'class' => 'regulartab'
        );
        /* rtMedia tab - only if plugin installed */
        if (class_exists('RTMedia')) 
        {
            $bp_tabs['rtmedia'] = array(
                    'type' => 'rt_media',
                    'name' => __('Photos', 'kleo_framework'),
                    'class' => 'mySlider'
            );
        }
     
        /* Bp-Album tab - only if plugin installed */
        elseif (function_exists('bpa_init')) {
            $bp_tabs['bp-album'] = array(
                    'type' => 'bp_album',
                    'name' => __('My photos', 'kleo_framework'),
                    'class' => 'mySlider'
            );
        }    
        
    } 
    

    Acteur – comédien – figurant are separated groups? or 1? I suggest to not use special symbols as names like –
    This code explains how to do it, also check:
    https://archived.seventhqueen.com/forums/topic/how-to-add-tabs-next-to-profile-image-extended

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

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

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

    Always happy to help you 🙂

    #39606
     sealagency
    Participant

    YES !
    it’s work perfectly with this code

    COPY CODE
      .....
       $bp_tabs['A propos de moi'] = array(
                 $bp_tabs['A propos de moi'] = array(
                'type' => 'cite',
                'name' => __('A propos de moi', 'kleo_framework'),
                'group' => 'A propos de moi',
                'class' => 'citetab'
        );
    
        $bp_tabs['Profil'] = array(
                'type' => 'regular',
                'name' => __('Profil', 'kleo_framework'),
                'group' => 'Profil',
                'class' => 'regulartab'
        );
    
        if (class_exists('RTMedia'))
        {
            $bp_tabs['rtmedia'] = array(
                    'type' => 'rt_media',
                    'name' => __('Photos', 'kleo_framework'),
                    'class' => 'mySlider'
            );
        }

    Very big thanks
    If I could I would do you a kiss!

    Acteur – comédien – figurant are separated groups? or 1? I suggest to not use special symbols as names like –
    This code explains how to do it, also check:

    Yes is one group, but this group is not use in custom tabs. It’s annoying to use “-” anyway?
    I can use “,” but I prefer “-” …

    Attachments:
    You must be logged in to view attached files.
    #39693
     Laura
    Moderator

    Hello, so its solved or need something else?

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

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

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

    Always happy to help you 🙂

    #42972
     sealagency
    Participant

    Hello,

    In the same vein, some members send videos via rtmedia in their albums, is it possible to add a tab “videos” and display thumbnail or something. Because now there is no indication that a profile has video!

    Thanks

    Attachments:
    You must be logged in to view attached files.
    #43063
     Laura
    Moderator

    Hello, i know rtmedia pro adds some features like playlists tab, you can check it out here: https://rtcamp.com/products/rtmedia-pro/

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

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

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

    Always happy to help you 🙂

    #43316
     sealagency
    Participant

    Hello Laura,

    Yes rtmedia pro adds some features, but i do not think the value for money is very profitable …

    #43361
     Laura
    Moderator

    Hello, you can try looking for a plugin that does that in https://buddypress.org/extend/plugins/

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

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

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

    Always happy to help you 🙂

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

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

Log in with your credentials

Forgot your details?