This topic has 6 replies, 2 voices, and was last updated 10 years by Abe.

  • Author
  • #8924
     frenzzy
    Participant

    I have a couple of questions:

    1. On a member’s page how do I make the ‘My Photos the default tab’
    see here: http://unibuddy.me/members/mesholasmith/#about-me

    2. How do limit the picture size being uploaded to the Photo Album.

    3. (a) How do I remove matching System. (b) How do I match only male and female and not female – female or male to male.

    4. From a member activity, when you click an uploaded picture there is a Page xx menu added to the breadcrumb menu bar. see here: http://unibuddy.me/members/mesholasmith/album/picture/3/ http://unibuddy.me/members/mesholasmith/

    5. How do I reduce the number of fields shown on the member profile see image below
    https://www.dropbox.com/s/aqayh58pvv4glv5/question.png

    6. On member directory, How do I reduce the space between the excess space. Please see image below: https://www.dropbox.com/s/st4b9jlrqq7nzri/question%202.png

    Thanks

    #9005
     Abe
    Keymaster

    Hello,
    1.
    You should see this topic for changing those tabs https://archived.seventhqueen.com/forums/topic/how-to-add-more-tabs-next-to-the-profile-image. You move the photos array in the code so it will be the first one like this:

    COPY CODE
    
    add_action('after_setup_theme','kleo_my_custom_tabs');
    function kleo_my_custom_tabs()
    {
        global $bp_tabs;
        $bp_tabs = array();
     
        /* rtMedia tab - only if plugin installed */
        if (class_exists('RTMedia'))
        {
            $bp_tabs['rtmedia'] = array(
                    'type' => 'rt_media',
                    'name' => __('My work', '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'
            );
        }
        $bp_tabs['looking-for'] = array(
                'type' => 'cite',
                'name' =>  __('Looking for', 'kleo_framework'),
                'group' => 'Looking for',
                'class' => 'citetab'
        );
     
        $bp_tabs['base'] = array(
                'type' => 'regular',
                'name' => __('About me', 'kleo_framework'),
                'group' => 'Base',
                'class' => 'regulartab'
        );
    
        
        $bp_tabs['social'] = array(
                'type' => 'regular',
                'name' => __('Social', 'kleo_framework'),
                'class' => 'regulartab'
        );
    }
    

    2. Add this code to you sweetdate-child/functions.php and you will enable bp-album menu in WP admin:

    COPY CODE
    
    add_action( 'admin_menu', 'bp_album_add_admin_menu' );
    

    3.
    a) add this code to sweetdate-child/functions.php

    COPY CODE
    
    add_action('after_setup_theme','kleo_my_hearts_actions');
     
    function kleo_my_hearts_actions()
    {
       /* disable matching on member profile */
        remove_action('kleo_bp_before_profile_name', 'kleo_bp_compatibility_match');      
    }
    

    b) See this topic for changing matching system: https://archived.seventhqueen.com/forums/topic/match-numbers

    4. We will take a look

    5. Those are all the fields added to your groups in Users -Profile fields. Leave to that group only the fields you want.

    6. Add this css to Sweetdate – Styling options – Quick css to remove some of the height

    COPY CODE
    
    .search-item .search-body {
        height: auto;
        margin-bottom: 0;
    }
    

    To show more members in one line you have to edit this template located in sweetdate/members/members-loop.php and replace “four columns” with “three columns”

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

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #9015
     frenzzy
    Participant

    Thanks you soo much! I really appreciate your response.
    I will make the edits, if I run into any issue I will sure let you know.

    #9018
     frenzzy
    Participant

    Hi,

    CSS code is not working: What I intend doing is to reduce the space between a member’s name and the view profile button.

    #9019
     frenzzy
    Participant

    Hi,

    1. The Album tab was not activated when i added the code.

    2. It’s like you skipped my question number 2 🙁

    5. How do I show only fields I want and not all?

    6. CSS code is not working: What I intend doing is to reduce the space between a member’s name and the view profile button. How do I achieve this?

    #9023
     frenzzy
    Participant

    Hi,

    For Question 5, is there a way to display the Album tab on the profile only. I am using the RTmedia for users to upload music and videos only and BP-Album for pictures only. I don’t want the RTmedia tab on the profile. Would appreciate if this can be done.

    #9117
     Abe
    Keymaster

    Hi,

    1 and 5. This code will show bpAlbum images in the tab even when you have rtMedia

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

    2. My answer is there 🙂

    5. Not such an easy way but see this topic and adapt it to your needs. You require some PHP knowledge: https://archived.seventhqueen.com/forums/topic/hide-members-real-names

    6. css works. make sure to get the whole code. to reduce the height even more add also this css:

    COPY CODE
    
    .search-item .date {
        display: none;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

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?