Forum Replies Created

Viewing 40 posts - 361 through 400 (of 480 total)
  • Author
  • in reply to: Change the background on register page #11105
     Abe
    Keymaster

    Hi, You can add it by css:

    COPY CODE
    
    .register.buddypress #main {
        background: #f4f4f4;
    }
    

    To add data to register page you have to edit sweetdate/registration.register.php

    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.

    in reply to: BP-album lightbox #11046
     Abe
    Keymaster

    Hi, Add this css to hide it. to replace it with the close button is not that easy and requires modifying prettyphoto plugin

    .pp_expand {display:hidden !important;}
    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.

    in reply to: display **** in profile tab when user is not a friend #11044
     Abe
    Keymaster

    Hi, This is outside the scope of this support forum. Please hire a developer if you are doing changes to the theme that implies coding.
    The below code hides the “I am a” field for non-friends

    COPY CODE
    
    add_filter('bp_get_the_profile_field_value', 'my_value_filter', 10, 3);
    function my_value_filter($value, $type, $id) {
    	$field = new BP_XProfile_Field( $id );
    	$field_name = $field->name;
    	
    	if ($field_name == "I am a" && !kleo_bp_is_friend() && !bp_is_my_profile() ) {
    		return '***';
    	}
    	return $value;
    }
    
    
    function kleo_bp_is_friend() {
    
    	global $bp;
    
    	if ( 'is_friend' == friends_check_friendship_status( $bp->loggedin_user->id, $bp->displayed_user->id ) )
    	{
    		return true;
    	}
    	return false;
    
    }
    
    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.

    in reply to: Text overflow on drop down fields #10937
     Abe
    Keymaster

    Hello, I see what your problem is. Please add this CSS in Sweetdate – Styling options – Quick css

    COPY CODE
    
    form.custom div.custom.dropdown a.current {overflow:hidden;}
    form.custom div.custom.dropdown a.selector {background: #fff;}
    
    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.

    in reply to: How to get remove full name and instead use username #10866
     Abe
    Keymaster

    Hi, Indeed that code had some issues. Please add this to sweetdate-child/functions.php

    COPY CODE
    
    
    add_filter( 'xprofile_group_fields', 'dk_bp_remove_xprofile_fullname_field', 10, 2 );
    /**
    * Removes the default BuddyPress xprofile fullname field
    *
    * @param array $fields Array with field names
    * @return array Array with filtered fields
    *
    * @author Daan Kortenbach
    */
    function dk_bp_remove_xprofile_fullname_field( $fields ){
    
    if( ! bp_is_register_page() )
    return $fields;
    
    // Remove item from array.
    foreach ($fields as $key => $value ) {
    
    	if ( $value->id == 1 ) {
    		$fields[ $key ] = array();
    
    	}
    }
    // Return the fields
    return $fields;
    }
    
    add_action( 'bp_after_signup_profile_fields', 'dk_bp_add_xprofile_fullname_field_hidden' );
    /**
    * Adds the default BuddyPress xprofile fullname field as a hidden field
    *
    * @return string
    *
    * @author Daan Kortenbach
    */
    function dk_bp_add_xprofile_fullname_field_hidden(){
    
    if( ! bp_is_register_page() )
    return;
    
    echo '<input type="hidden" name="field_1" id="field_1" value="x">';
    }
    
    
    add_action( 'bp_core_signup_user', 'dk_bp_core_signup_user' );
    /**
    * Sets the correct user values
    *
    * @param integer $user_id
    * @return void
    *
    * @author Daan Kortenbach
    */
    function dk_bp_core_signup_user( $user_id ) {
    
    // Get user data
    $user = get_userdata( $user_id );
    
    // Update xprofile fullname
    xprofile_set_field_data( BP_XPROFILE_FULLNAME_FIELD_NAME, $user_id, $user->user_login );
    
    // Set new user data
    $userdata = array(
    'ID' => $user_id,
    'user_nicename' => $user->user_login,
    'display_name' => $user->user_login,
    'nickname' => $user->user_login
    );
    
    // Update user
    wp_update_user( $userdata );
    }
    

    and this css to Sweetdate – Styling options – Quick css

    COPY CODE
    
    #field-visibility-settings-toggle-, #field-visibility-settings- {
        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.

    in reply to: replace "-" by "everything" in the search form #10833
     Abe
    Keymaster

    Hi, You only need to replace the “-” symbol with Everything since that is the default behavior.
    – copy sweetdate/custom_buddypress/kleo-bp-search.php to sweetdate-child/custom_buddypress/kleo-bp-search.php
    – edit the file copied and at line 131 change

    COPY CODE
    
    <option value=''> </option>
    

    to

    COPY CODE
    
    <option value=''>Everything</option>
    

    PS. You must 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

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

    in reply to: Sticky Post Bug #10812
     Abe
    Keymaster

    Please add this css in Sweetdate – Styling options – Quick css, I think we saw the problem

    COPY CODE
    
    article.sticky {float: none;}
    

    We will include this fixes in next update tomorrow

    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.

    in reply to: Activity page – 3 columns #10810
     Abe
    Keymaster

    Put this code in your sweetdate-child/functions.php and let the magic happen 🙂

    COPY CODE
    
    //Activity page 3 columns
    add_action('kleo_before_page','my_three_columns_activity');
    
    function my_three_columns_activity() {
    	if(BP_ACTIVITY_SLUG == bp_current_component()) {
    		add_filter('kleo_buddypress_content_class', create_function('', 'return "six";'));
    		add_filter('kleo_sidebar_class', create_function('', 'return "three";'));
    		add_action('kleo_buddypress_before_content', 'kleo_sidebar');
    		add_action('kleo_buddypress_after_content', 'kleo_extra_sidebar');
    	}
    }
    
    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.

    in reply to: >> Menu bar size #10804
     Abe
    Keymaster

    Hi, for 2, add this css:

    COPY CODE
    
    @media only screen and (max-width: 940px) {
    #header .eight.columns {
        display: inline-block!important;
        width: auto;
    }
    }
    
    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.

    in reply to: mobile site not appearing as the same as demo #10758
     Abe
    Keymaster

    Hello, Thank you very much.
    You just needed to enable the sticky menu.
    Here is the CSS that will make the text white only for small screens

    @media only screen and (max-width: 940px) {
    #header a:not(.button) {
        color: #fff;
    }
    }
    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.

    in reply to: logo resize #10754
     Abe
    Keymaster

    Hi, You can make the #main area transparent with this CSS

    COPY CODE
    
    #main { background: transparent; }
    

    if you want if for a specific page you can referrer the specific body class of that page for example

    COPY CODE
    
    .page-id-523 #main { background: transparent; }
    
    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.

    in reply to: Add Friend & Private Message Buttons #10751
     Abe
    Keymaster

    With this css they are horizontally aligned

    COPY CODE
    
    #profile .two.columns {
        clear: left;
        float: left;
        left: 0;
        width: inherit;
    }
    

    See here: http://d.pr/i/jEjr

    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.

    in reply to: Customize Options in PMPpro level #10731
     Abe
    Keymaster

    Hello, You can apply those restrictions you see with the arrow in Sweetdate – Memberships

    If you want to change the text in those lines see this topic: https://archived.seventhqueen.com/forums/topic/extra-membership-restrictions-how-to

    Extra details on membership should be added in the details field in Memberships – Levels

    Checkmark icon is added using Fontawesome icon font. If you want to change it add this css in Sweetdate- Styling options – Quick css

    COPY CODE
    
    
    .membership .bullet-item:before {
        color: #0095C2;
        content: "";
        font: 13px 'FontAwesome';
        margin-right: 6px;
    }
    

    and replace the icon inside the content: “”
    here is the icon list: http://fortawesome.github.io/Font-Awesome/3.2.1/cheatsheet/

    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.

    in reply to: Call To Action Hover on img_rounded #10685
     Abe
    Keymaster

    Hello, Try adding this css to Sweetdate – Styling options – Quick css

    COPY CODE
    
    .carousel-stories a.imagelink .read, .circle-image a.imagelink .read {display:none;}
    .carousel-stories a.imagelink:hover .overlay, .circle-image a.imagelink:hover .overlay {background: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.

    in reply to: Changing Groups Widget Background Color #10681
     Abe
    Keymaster

    Hello, Change the bg with this CSS added to Sweetdate – Styling options – Quick css

    COPY CODE
    
    .buddypress.widgets ul.item-list {background: #ccc}
    

    Change the #ccc color

    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.

    in reply to: How to add text under profile avatar when logged in #10672
     Abe
    Keymaster

    Hi,
    Adding this css to Sweetdate – Styling options – Quick css will do the trick

    COPY CODE
    
    .image-hover .profile-hover-link {
        display: block !important;
    }
    
    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.

    in reply to: Changing Background of Top Links Area #10666
     Abe
    Keymaster

    Hi, For background color:

    COPY CODE
    
    .top-links {background: #000000;}
    
    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.

    in reply to: Top Link Colors #10612
     Abe
    Keymaster

    Hi, Change the background color by adding this css to Sweetdate – Styling options – Quick CSS and change the color in the code

    COPY CODE
    
    .top-links {background: #000;}
    
    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.

    in reply to: rev slider images not showing up on mobile #10595
     Abe
    Keymaster

    Hi and sorry for the late reply
    You should add the CSS as I said above to enable Revolution Slider on mobile and another one that isn’t forcing a minimum height, Both css rules are here:

    COPY CODE
    
    .rev_slider_wrapper {display:block!important;}
    .page-template-page-templatesfront-page-php .rev_slider_wrapper {
        min-height: inherit;
    }
    
    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.

    in reply to: Add Friend & Private Message Buttons #10590
     Abe
    Keymaster

    Hi, Try this CSS

    COPY CODE
    
    #profile .two.columns {
        clear: left;
        float: left;
        width: inherit;
    }
    
    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.

    in reply to: Character Limit ? #10580
     Abe
    Keymaster

    Hi, thank you and sorry for the later reply,

    I see there is no such plugin out there. I have found this topic, hope it helps
    http://wpquestions.com/question/show/id/3529
    The first code should work for all fields and you should put it in sweetdate-child/functions.php

    COPY CODE
    
    function filter_profile_data( $data ) {
    
    	return substr( $data, 0, 100);
    
    }
    
    add_filter( 'bp_get_member_profile_data', 'filter_profile_data' );
    
    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.

    in reply to: Jquery issue #10566
     Abe
    Keymaster

    Hi, in our original assets/scripts/app.js we had this function

    COPY CODE
    
    function isMobile() {
    	if (
    		(navigator.userAgent.indexOf('iPhone') != -1) || (navigator.userAgent.indexOf('iPod') != -1)
    		|| (navigator.userAgent.indexOf('iPad') != -1)
    		|| ((navigator.userAgent.indexOf('Android') != -1) && (navigator.userAgent.indexOf('Mobile') != -1))
    	) {
    		return true;
    	}
    	else {
    		return false;
    	}
    }
    
    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.

    in reply to: w3tc settings imported #10537
     Abe
    Keymaster

    And also added this into our sweetdate-child/functions.php that is excluding those css files from minification

    COPY CODE
    
    //Minify
    add_filter('bwp_minify_style_ignore', 'exclude_my_css');
    
    function exclude_my_css($excluded)
    {
        $excluded = array('app','foundation','foundation-responsive');
        return $excluded;
    }
    
    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.

     Abe
    Keymaster

    Hello, Easy way with this CSS

    COPY CODE
    
    
    .form-search, .form-header, .form-footer {
        background: rgba(0,0,0,0.5);
        border: none;
    }
    

    0.5 is the transparency from 0 to 1

    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.

    in reply to: Checkbox Error #10295
     Abe
    Keymaster

    Hello, Thank you very much for letting us know. Add this css to Sweetdate – Styling options – Quick css to fix it. This will be available in next theme update also

    COPY CODE
    
    .form-search .kleo-checkbox label {
        display: block;
    }
    
    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.

    in reply to: rev slider images not showing up on mobile #10289
     Abe
    Keymaster

    Hi, Indeed it is disabled for mobile. Add this CSS to Sweetdate – Styling options – Quick css to enable it

    COPY CODE
    
    .rev_slider_wrapper {display:block!important;}
    
    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.

    in reply to: Xprofile Fields Plugin Compatability with Sweet date #10285
     Abe
    Keymaster

    Hello, I developed this function to show the age instead of the date. Add it to your functions.php file

    COPY CODE
    
    add_filter( 'bp_get_the_profile_field_value', 'kleo_get_field_value', 15, 3);
    
    	function kleo_get_field_value($value, $type, $field_id) {
    
    			$value_to_return = $value;
    	
    			$field = new BP_XProfile_Field($field_id);
    			
    			if ($type == 'datebox') {
    				$value_to_return = floor((time() - strtotime($field->data->value))/31556926);
    			}
    			
    			return $value_to_return;
    	}
    
    
    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.

     Abe
    Keymaster

    Hello, Try with this CSS

    COPY CODE
    
    .tabs.pill.custom dd a {
        font-size: 12px;
        height: 30px;
        line-height: 30px;
        padding: 0 5px;
    }
    
    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.

    in reply to: members page #10279
     Abe
    Keymaster

    Hi, Related to the tabs that appear next to the image this is the topic:
    https://archived.seventhqueen.com/forums/topic/how-to-add-more-tabs-next-to-the-profile-image

    and you should change
    ‘group’ => ‘Base’,
    to
    ‘group’ => ‘Chi sono’,

    To remove the matching
    https://archived.seventhqueen.com/forums/topic/removereplace-the-love-hearts-in-site
    and you can keep only the part with the matching removing

    COPY CODE
    
    //remove matching
    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');      
    }
     
     
    
    
    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.

    in reply to: Text color on Members Directory #10166
     Abe
    Keymaster

    For that you have to add this CSS to Sweetdate – Styling options – QUick css

    COPY CODE
    
    .search-item .date, .search-item .date a {color: black;}
    
    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.

    in reply to: Sign up requiring full name #10163
     Abe
    Keymaster

    Hello,
    You need to edit the template that generated the popup, which is in sweetdate/page-parts/general-register-modal.php and just remove this part:

    COPY CODE
    
          <div class="six columns">
            <input type="text" id="fullname" name="field_1" class="inputbox" required placeholder="<?php _e("Your full name", 'kleo_framework');?>">
          </div>
    

    I am glad you like our theme. Thank you

    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.

    in reply to: Two Questions about the home page #10162
     Abe
    Keymaster

    HI,
    To hide the activity you should add this CSS to Sweetdate – Styling options – Quick css:

    COPY CODE
    
    span.activity {display:none}
    

    If you want to change shortcode functionality you need to copy the function named kleo_status_icon from sweetdate/custom_buddypress/bp-functions.php to you child theme functions.php and modify as you wish there.
    As attributes he can have the ones from bellow with the default values
    ‘type’ => ‘total’,
    ‘image’ => ”,
    ‘subtitle’ => ”
    Type can be the field value of the Sex field you set in Sweetdate – Buddypress

    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.

    in reply to: No info is shown #10160
     Abe
    Keymaster

    Hi, Try leaving your name of the groups in English. Then modify the below code to match your group names and add it to the main theme functions.php at the end just before the ending ?> line
    After that this strings should appear in WPML string translation
    You’ll notice I have wrapped the name attribute in a translation tag __() and leaved the group attribute in the english name just like it is added in buddypress users profile fields

    COPY CODE
    
    //my changes to profile tabs
    add_action('after_setup_theme','kleo_my_custom_tabs');
    function kleo_my_custom_tabs()
    {
        global $bp_tabs;
            
        $bp_tabs = array();
        $bp_tabs[] = array(
                'type' => 'regular',
                'name' =>  __("About me","kleo_framework"), //this is the showed tab name
                'group' => 'About me', // this must be the same as the profile fields group name
                'class' => 'regulartab'
        );
        $bp_tabs[] = array(
                'type' => 'regular',
                'name' => __("Myself Summary", "kleo_framework"),
                'group' => "Myself Summary",
                'class' => 'regulartab'
        );
        $bp_tabs[] = array(
                    'type' => 'regular',
                    'name' => __("Looking for","kleo_framework"),
                    'group' => "Looking for",
                    'class' => 'regulartab'
        );
            
        $bp_tabs[] = array(
                    'type' => 'regular',
                    'name' => __("Lifestyle","kleo_framework"),
                    'group' => "Lifestyle",
                    'class' => 'regulartab'
        );
        $bp_tabs[] = array(
                    'type' => 'regular',
                    'name' => __("Physical","kleo_framework"),
                    'group' => "Physical",
                    'class' => 'regulartab'
        );
            
            
            
        /* 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'
            );
        }
    }
    
    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.

    in reply to: Sidebar widget CSS Issue #10151
     Abe
    Keymaster

    Hi, Add this CSS please

    COPY CODE
    
    .widgets-container.sidebar_location .widgets ul li:before {
        content: "";
    }
    .widgets-container.sidebar_location .media-tabs-container .rt-media-tab-panel ul li {width:auto;}
    
    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.

    in reply to: Total Member Number Mismatch #10124
     Abe
    Keymaster

    Hi, I did a function to count all members that have profile fields added
    Add it to your sweetdate-child/functions.php and then put the function name like I said above

    COPY CODE
    
    //My total numbers
    function my_total_count() {
    	global $wpdb;
    
    	$sql = "SELECT ".$wpdb->base_prefix."bp_xprofile_data.user_id FROM ".$wpdb->base_prefix."bp_xprofile_data 
    			JOIN ".$wpdb->base_prefix."bp_xprofile_fields ON ".$wpdb->base_prefix."bp_xprofile_data.field_id = ".$wpdb->base_prefix."bp_xprofile_fields.id 
    			$where";
    
    	$match_ids = $wpdb->get_col($sql);
    	return count($match_ids); 
    }
    
    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.

    in reply to: No info is shown #10119
     Abe
    Keymaster

    Here is the code:

    COPY CODE
    
    //my changes to profile tabs
    add_action('after_setup_theme','kleo_my_custom_tabs');
    function kleo_my_custom_tabs()
    {
        global $bp_tabs;
    		
        $bp_tabs = array();
        $bp_tabs[] = array(
                'type' => 'regular',
                'name' =>  "Лични данни (About me)", //this is the showed tab name
                'group' => 'Лични данни (About me)', // this must be the same as the profile fields group name
                'class' => 'regulartab'
        );
     
        $bp_tabs[] = array(
                'type' => 'regular',
                'name' => "Обобщение за мен (Myself Summary)",
                'group' => "Обобщение за мен (Myself Summary)",
                'class' => 'regulartab'
        );
     
        $bp_tabs[] = array(
    				'type' => 'regular',
    				'name' => "Търся (Looking for)",
    				'group' => "Търся (Looking for)",
    				'class' => 'regulartab'
        );
    		
        $bp_tabs[] = array(
    				'type' => 'regular',
    				'name' => "Стил на живот (Lifestyle)",
    				'group' => "Стил на живот (Lifestyle)",
    				'class' => 'regulartab'
        );
        $bp_tabs[] = array(
    				'type' => 'regular',
    				'name' => "Физически данни (Physical)",
    				'group' => "Физически данни (Physical)",
    				'class' => 'regulartab'
        );
    		
    		
    		
        /* 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'
            );
        }
    }
    

    For it to work the names added above in the “group” attribute must exactly match the profile fields Group as in Users – Profile fields(even a white space after the name)

    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.

    in reply to: Registration box linked to button color? #10098
     Abe
    Keymaster

    Hi, Try adding this CSS to Sweetdate -Styling options – Quick css

    COPY CODE
    
    .front-form-button { background: white ! Important;}
    
    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.

    in reply to: Pmpro email subjects #9973
     Abe
    Keymaster

    Well the example is there but you need to add the translation function like this

    COPY CODE
    
    function my_pmpro_email_subject($subject, $email)
    {
    //only checkout emails
    if($email->template == "checkout_free")
    {
    $subject = __("Thank you","kleo_framework"), " . $email->data["name"] . __(", for using ", "kleo_framework") . get_bloginfo("name");
    }
    return $subject;
    }
    add_filter("pmpro_email_subject", "my_pmpro_email_subject", 10, 2);
    
    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.

    in reply to: Changing Color of the Search Box on HP #9966
     Abe
    Keymaster

    Roberts code above shows how to change the border. You need to change rgba values to your own.
    This CSS is for the color

    COPY CODE
    
    .form-wrapper p, .form-wrapper a, .form-wrapper label, .form-wrapper button {
        color: #000000 !important;
    }
    
    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.

     Abe
    Keymaster

    Hello, I see what you mean but there are different structures involved and can’t be done with a simple CSS unfortunately.
    Some steps to get it closer to that:
    For more customizations please hire a developer to help you with that

    You can use this CSS to make the profile rounded and shouldn’t modify the size to get blury

    COPY CODE
    
    #item-header-avatar .avatar {
        border-radius: 100%;
    }
    

    To make the title that font set the H2 to font Yesteryear from Sweetdate – Styling options

    To add the member details after the name, add this code to sweetdate-child/functions.php

    COPY CODE
    
    
    function kleo_show_member_details() {
    	
    	global $kleo_config;
    	$output = array();
    
    	if (get_member_age(bp_displayed_user_id())) {
    			$output['age'] = apply_filters('kleo_bp_meta_after_age', get_member_age(bp_displayed_user_id()));
    	}
    	//fields to show
    	$fields_arr = $kleo_config['bp_members_loop_meta'];
    
    
    	//user private fields
    	$private_fields = array();
    	if (function_exists('bp_xprofile_get_hidden_fields_for_user')) {
    		$private_fields = bp_xprofile_get_hidden_fields_for_user(bp_displayed_user_id());
    	}
    	if (!empty($private_fields))
    	{
    			//get the fields ids that will be displayed on members list
    			if ( false === ( $fields_id_arr = get_transient( 'kleo_bp_meta_fields' ) ) ) {
    
    					$fields_id_arr = array();
    
    					foreach ($fields_arr as $val)
    					{
    							if (get_profile_id_by_name($val))
    							{
    									$fields_id_arr[$val] = get_profile_id_by_name($val);
    							}
    					}
    
    					set_transient( 'kleo_bp_meta_fields', $fields_id_arr, 60*60*12 );
    			}
    			if (!empty($fields_id_arr))
    			{
    					//fields that will actually display
    					$show_fields = array_diff($fields_id_arr, $private_fields);
    					if (!empty($show_fields))
    					{
    							$fields_arr_inv = array_flip($fields_id_arr);
    
    							foreach ($show_fields as $key => $val):
    								 if(bp_get_member_profile_data( 'field='.$fields_arr_inv[$val] )):
    										 $output[] =  bp_get_member_profile_data( 'field='.$fields_arr_inv[$val] );
    								 endif;
    							endforeach;
    					}
    			}
    	}
    	else
    	{
    			foreach ($fields_arr as $key => $val):
    					if(bp_get_member_profile_data( 'field='.$val )):
    							$output[] =  bp_get_member_profile_data( 'field='.$val );
    					endif;
    			endforeach;
    	}
    
    		echo implode(' | ', $output);
    	
    }
    add_action('bp_before_member_header_meta', 'kleo_show_member_details');
    

    And you can remove existing details under the profile by going to wp-content\themes\sweetdate\members\single\member-header.php and removing
    the two lines with span class=”user-nicename and span class=”activity”

    Cheers

    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 40 posts - 361 through 400 (of 480 total)

Log in with your credentials

Forgot your details?