Forum Replies Created

Viewing 40 posts - 441 through 480 (of 480 total)
  • Author
  • in reply to: My photos tab non appear with rtmedia #8864
     Abe
    Keymaster

    sorry, I meant Sweetdate – Buddypress

    To have bpAlbum pictures in the tab replace that code part you pasted with this

    COPY CODE
    
    $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: Form box position #8857
     Abe
    Keymaster

    Hi, To move it a bit lower add this CSS to Sweetdate – Styling options – Quick css and modify it to match your needs

    COPY CODE
    
    .form-wrapper {
        margin-top: 150px !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: add facebook registration on rigister page #8834
     Abe
    Keymaster

    Hi, you should put the button code in the registration template: sweetdate/registration/register.php

    COPY CODE
    
    <a class="facebook_connect radius small button facebook" href="#"><i class="icon-facebook-sign"></i>  Register using Facebook</a>
    
    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 a Second Photo Album Tab to Profile #8801
     Abe
    Keymaster

    Hi,
    1. This css does the trick

    COPY CODE
    
    #profile .tabs.pill.custom dd:nth-child(3) a {
        background: none repeat scroll 0 0 #008000;
    }
    

    2. This is a class that is added in case you want to add specific styling by css. no css added by default.
    3. This is generated by your custom fields plugin.
    4. Just like point 3.

    PS: For custom development that is out of your area of knowledge you can always hire a developer to help you with changes.

    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: Membership Levels #8767
     Abe
    Keymaster

    Hi,
    That Popular is an image. Change the image with your own with this css added to Sweetdate.- Styling options – Quick css

    COPY CODE
     
    .membership .pricing-table.popular:after {
    background: url('http://path to image');
    }
    

    For any other template changes,file is: sweetdate/paid memberships pro/pages/levels.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: Remove 'Create an Account' #8764
     Abe
    Keymaster

    Hi,
    Please leave the mixed form and add this code to sweetdate-child/functions.php

    COPY CODE
    
    add_action('wp_head','my_custom_act');
    function my_custom_act() {
    	remove_action('after_header_content','render_user_search');
    }
    
    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: Send email at buddypress account activation #8734
     Abe
    Keymaster

    add this code to sweetdate-child/functions.php and modify it for your needs:

    COPY CODE
    
    //send a welcome email when a user account is activated
    add_action('bp_core_activated_user','kleo_welcome_user_notification',10,3);
    function kleo_welcome_user_notification($user_id,$key=false,$user=false) {
        if(is_multisite())
            return ;// we don't need it for multisite
        //send the welcome mail to user
        //welcome message
        $welcome_email = __( 'Dear USER_DISPLAY_NAME,
     
    Your new account is set up.
     
    You can log in with the following information:
    Username: USERNAME
    LOGINLINK
     
    Thanks!
     
    SITE_NAME' );
        //get user details
        $user = get_userdata( $user_id );
        //get site name
        $site_name = get_bloginfo('name');
        //update the details in the welcome email
        $welcome_email = str_replace( 'USER_DISPLAY_NAME', $user->first_name, $welcome_email );
        $welcome_email = str_replace( 'SITE_NAME', $site_name, $welcome_email );
        $welcome_email = str_replace( 'USERNAME', $user->user_login, $welcome_email );
        $welcome_email = str_replace( 'LOGINLINK', wp_login_url(), $welcome_email );
     
        //from email
        $admin_email = get_site_option( 'admin_email' );
     
        if ( empty($admin_email) )
            $admin_email = 'support@' . $_SERVER['SERVER_NAME'];
     
        $from_name = $site_name;//from
        $message_headers = "From: \"{$from_name}\" \n" . "Content-Type: text/plain; charset=\"" . get_option('blog_charset') . "\"\n";
     
        //EMAIL SUBJECT
        $subject = sprintf(__('Welcome to  %1$s '), $site_name) ;
        //SEND THE EMAIL
        wp_mail($user->user_email, $subject, $welcome_email, $message_headers);
     
        return true;
    }
    
    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 close all information tabs #8721
     Abe
    Keymaster

    Simple solution:
    add data-default-opened=”none” attribute to ul class=”accordion”
    file: wp-content/themes/sweetdate/members/single/profile/profile-loop.php
    result:

    COPY CODE
    
    <ul class="accordion" data-default-opened="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: Add menu item to the Profile drop down menu #8714
     Abe
    Keymaster

    Hello,
    Easy job with the “header_profile_dropdown” filter. Add this to your sweetdate-child/functions.php

    COPY CODE
    
    add_filter('header_profile_dropdown', 'my_profile_link');
    function my_profile_link($links) {
    	$links[] = '<li><a href="http://mydomain.com/help">Help</a></li>';
    	return $links;
    }
    
    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: facebook button #8635
     Abe
    Keymaster

    Hi, You need to define this functions in sweetdate-child/functions.php and change the contents of the button to match your needs

    COPY CODE
    
    function fb_button()
    {
    ?>
        <a href="#" class="facebook_connect radius button facebook"><i class="icon-facebook-sign"></i> &nbsp;<?php _e("LOG IN WITH Facebook", 'kleo_framework');?></a>
    <?php
    }
    
    function fb_register_button()
    {
    ?>
        <a href="#" class="facebook_connect radius small button facebook"><i class="icon-facebook-sign"></i> &nbsp;<?php _e("Register using Facebook", 'kleo_framework');?></a>
    <?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: Redirect After Login #8631
     Abe
    Keymaster

    The code base is in this topic:
    https://archived.seventhqueen.com/forums/topic/redirect-user-to-their-profile-after-login

    modified it should look like:

    COPY CODE
    
    //custom redirect
    add_filter("login_redirect","kleo_redirect_to_profile",100,3);
     
    function kleo_redirect_to_profile($redirect_to_calculated,$redirect_url_specified,$user){
    /*if no redirect was specified,let us think ,user wants to be in wp-dashboard*/
        if(!is_super_admin($user->ID))
            return bp_core_get_user_domain($user->ID ).'/profile/change-avatar/#item-nav';
        else
            return $redirect_to_calculated; /*if site admin*/
    }
    

    You must be a regular user, not an admin

    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: Hide members real names #8625
     Abe
    Keymaster

    Hi,
    I hope you understand that you need to hire a developer for customization purposes since this is not the scope of this forum to do customization for each user 🙂
    You need basic PHP knowledge if you want to change code.

    Anyway, for this one replace:

    COPY CODE
    
                                    $this->tabs_instance->fields_data[$name] .= '<dt>'. bp_get_the_profile_field_name().'</dt>';
                                    $this->tabs_instance->fields_data[$name] .= '<dd>'. bp_get_the_profile_field_value().'</dd>';
    

    with

    COPY CODE
    
     if (bp_get_the_profile_field_name() != "Name") {
                                    $this->tabs_instance->fields_data[$name] .= '<dt>'. bp_get_the_profile_field_name().'</dt>';
                                    $this->tabs_instance->fields_data[$name] .= '<dd>'. bp_get_the_profile_field_value().'</dd>';
    }
    

    and

    COPY CODE
    
                                    $this->tabs_instance->fields_data[$name] .= '<div class="callout"><div class="bp-profile-details">';
                                    $this->tabs_instance->fields_data[$name] .= bp_get_the_profile_field_name();
                                    $this->tabs_instance->fields_data[$name] .= '</div><div class="cite">'. bp_get_the_profile_field_value() .'</div></div>';
    

    with

    COPY CODE
    
     if (bp_get_the_profile_field_name() != "Name") {
                                    $this->tabs_instance->fields_data[$name] .= '<div class="callout"><div class="bp-profile-details">';
                                    $this->tabs_instance->fields_data[$name] .= bp_get_the_profile_field_name();
                                    $this->tabs_instance->fields_data[$name] .= '</div><div class="cite">'. bp_get_the_profile_field_value() .'</div></div>';
    }
    
    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: Buddypress 1.9 and WordPress 3.8 #8573
     Abe
    Keymaster

    Addd this to sweetdate-child/functions.php

    COPY CODE
    
    add_action('wp_head', 'kleo_admin_bar_fix');
    
    function kleo_admin_bar_fix() 
    {
    	global $wp_version;
    	if ($wp_version >= 3.8) {
    echo '<style>
    	@media screen and (max-width: 600px) {
    		#wpadminbar { position: fixed; }
    	}
    	@media screen and ( max-width: 782px ) {
    		.adminbar-enable .sticky.fixed { margin-top: 46px; }
    	}
    	</style>';
    	}
    }
    
    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 create 2 different front pages? #8531
     Abe
    Keymaster

    Hi.
    Add it by CSS. You can address the styling only to that particular page by the class that is added to body. Something like this

    COPY CODE
    
    body .page-id-xxx .header-bg {
    background: url("http://path to image")
    }
    
    

    Use browser inspect element feature to see page styling

    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: 3 problems with sign-up page #8490
     Abe
    Keymaster

    2. Please use COdestyling localization plugin and rescan strings. It is there, we just translated it….

    3. this is simple. search the function in framework/functions/facebook_login.php and copy it from there. instead of

    COPY CODE
    
    <i class="icon-facebook"></i>
    

    put an image tag or what you want

    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: Hide post meta #8482
     Abe
    Keymaster

    Hi, this CSS does the trick

    COPY CODE
    
    .article-meta li:nth-child(2), .article-meta li:nth-child(3) {
    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: Ajax Profile Tabs #8480
     Abe
    Keymaster

    Hi, maybe:

    COPY CODE
    
    <script>
    jQuery(document).ready(function() {
        jQuery("#item-nav .item-list-tabs a, #subnav li a, .btn-profile ul li a").each(function() {
            jQuery(this).attr('href',jQuery(this).attr('href')+"#main");
        });
    });
    </script>
    
    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: A couple of requests #8465
     Abe
    Keymaster

    Hello,
    Thank you, we are glad you like our theme
    1. We don’t have a solution like that but this could be a workaround: https://archived.seventhqueen.com/forums/topic/keeping-scroll-bar-on-the-last-position-when-refresh
    2. If you already found a plugin to show the menu in sidebar you can use that as well. You could have the horizontal menu with a CSS code like:

    COPY CODE
    
    .my-account #item-nav { display: none;}
    

    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.

    in reply to: Three Column Formatting Issue #8460
     Abe
    Keymaster

    Hi, BP Pages will only take the default template set in Sweetdate – Buddypress
    To make activity page a 3 columns page add this code to your sweetdate-child/functions.php

    COPY CODE
    
    add_action('wp_head', 'change_activity_tpl');
    function change_activity_tpl() {
    	if (is_page('activity')) {
    		add_filter('kleo_sidebar_class', create_function('', 'return "three";'), 11);
    		add_filter('kleo_buddypress_content_class', create_function('', 'return "six";'));
    		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: 3 problems with sign-up page #8408
     Abe
    Keymaster

    Hi,
    1. add this css in Sweetdate- Styling options – Quick css

    COPY CODE
    
    .reveal-modal .button.facebook {float: left;}
    .reveal-modal #signup {margin-bottom:5px;}
    

    2. Translations are done via .mo/.po files not directly in theme files. Use a plugin like Codestyling localization
    3. wordpress adds a space in < ?php when it should be like without the space between < and ?

    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: Profile Tabs #8349
     Abe
    Keymaster

    Hi, This function is rendering those columns, Add it in sweetdate-child/functions.php and modify it as you need

    COPY CODE
    
    	function kleo_bp_profile_tabs()
    	{
    			global $bp_tabs;
    
    			echo '<div class="seven columns">';
    			new BpMembersTabs($bp_tabs);
    			echo '</div>';
    	}
    
    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: Groups going bad #8344
     Abe
    Keymaster

    Hi, Try adding this CSS code

    COPY CODE
    
    #groups .six.columns:nth-child(2n+1) {
        clear: left;
    }
    
    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: What file do the fonts and custom css load from #8339
     Abe
    Keymaster

    Hi, you can remove this code from framework/frontend.php

    COPY CODE
    
    //Headings
    if(sq_option('heading')) {
    	$kleo_sweetdate->add_typography_css('heading');
    }
    
    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: 3 problems with sign-up page #8326
     Abe
    Keymaster

    Hi,
    1. it is aligned to right. Your translated text is just big and goes under the button
    2. text is there. try with codestyling localization plugin. this is the text

    COPY CODE
    
    You are already logged in. Please <a href=\"#\" onclick=\"%s\">refresh</a> page
    

    3. This is the function defined in framework/functions/facebook_login.php. add the function in sweetdate-child/functions.php and modify it as you want

    COPY CODE
    
    function fb_register_button_front()
    {
    ?>
        <a href="#" class="facebook_connect radius button facebook"><i class="icon-facebook"></i></a>
    <?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.

     Abe
    Keymaster

    To change the color, add the color attribute to the css, like this example

    COPY CODE
    
    .form-search .button {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: POSTS LAYOUT #8238
     Abe
    Keymaster

    Hi,
    For custom work you should hire a programmer from microlancer for example.
    Your shortcode should be something like this(added to functions.php), you need to change it if is the case

    COPY CODE
    
    function kleo_my_posts( $atts, $content = null ) {
    		extract(shortcode_atts(array(
    								'cat' => 'all',
    								'limit' => 9,
    								'post_types' => 'post',
    								'post_formats' => 'image,gallery,video'
    		), $atts));
    
    		$output = '<div class="row">';
    
    		$args = array();
    		if ((int)$cat != 0)
    		{
    				$args['cat'] = $cat;
    		}
    		if ((int)$limit != 0)
    		{
    			 $args['posts_per_page'] = $limit; 
    		}
    
    		$args['post_type'] = explode(',', $post_types); 
    
    		$formats = explode(',',$post_formats);
    		if (is_array($formats) && !in_array('all', $formats))
    		{
    				foreach($formats as $format)
    				{
    						$terms_query[] = 'post-format-'.$format;
    				}
    				$args['tax_query'] = array(
    						array(
    						'taxonomy' => 'post_format',
    						'field' => 'slug',
    						'terms' => $terms_query
    						)
    				);
    		}
    
    		$latestPosts = new WP_Query(apply_filters('kleo_posts_carousel_args',$args));
    
    		while ($latestPosts->have_posts()) : $latestPosts->the_post();
    
    				switch (get_post_format()) {
    						case 'video':
    								$video = get_cfield('embed');
    								if (!empty($video)) 
    								{
    										$output .= '<div class="four columns">';
    										$output .= wp_oembed_get($video);
    
    										$output .= '<h4>'.get_the_title().'</h4>';
    										$output .= '<p>'.  word_trim(get_the_excerpt(), 15, '...').'</p>';
    										$output .= '<p><a href="'.  get_permalink() .'" class="small button radius secondary"><i class="icon-angle-right"></i> '.__("READ MORE", 'kleo_framework').'</a></p>';
    										$output .= '</div>';
    								}
    
    								break;
    
    						case 'gallery':
    								$slides = get_cfield('slider');
    								if (!empty($slides)) 
    								{
    										$output .= '<div class="four columns">';
    										$output .= '<div class="blog-slider">';
    
    										foreach($slides as $slide) 
    										{
    											if (get_attachment_id_from_url($slide))
    											{
    												$thumb_array = image_downsize( get_attachment_id_from_url($slide), 'blog_carousel' );
    												$thumb_path = $thumb_array[0];
    											}
    											else
    											{
    												$thumb_path = $slide;
    											}
    
    											$output .= '<div data-thumb="'.$slide.'">';
    											$output .= '<img src="'.$thumb_path.'" alt="">';
    											$output .= '</div>';
    										}
    										$output .= '</div><!--end blog-slider-->';
    
    										$output .= '<h4>'.get_the_title().'</h4>';
    										$output .= '<p>'.  word_trim(get_the_excerpt(), 15, '...').'</p>';
    										$output .= '<p><a href="'.  get_permalink() .'" class="small button radius secondary"><i class="icon-angle-right"></i> '.__("READ MORE", 'kleo_framework').'</a></p>';
    										$output .= '</div>';
    								}
    
    								break;
    
    						case 'image':
    								if (get_post_thumbnail_id())
    								{   
    										$output .= '<div class="four columns">';
    										$output .= '<div class=""><a class="imagelink" href="'.  get_permalink().'">';
    										$output .= get_the_post_thumbnail(null,'blog_carousel');
    										$output .= '</a></div>';
    
    										$output .= '<h4>'.get_the_title().'</h4>';
    										$output .= '<p>'.  word_trim(get_the_excerpt(), 15, '...').'</p>';
    										$output .= '<p><a href="'.  get_permalink() .'" class="small button radius secondary"><i class="icon-angle-right"></i> '.__("READ MORE", 'kleo_framework').'</a></p>';
    										$output .= '</div>';
    
    								}
    								break;
    						default:
    										$output .= '<div class="four columns">';  
    										if (get_post_thumbnail_id())
    										{  
    												$output .= '<div class=""><a class="imagelink" href="'.  get_permalink().'">';
    												$output .= get_the_post_thumbnail(null,'blog_carousel');
    												$output .= '</a></div>';
    										}
    										$output .= '<h4>'.get_the_title().'</h4>';
    										$output .= '<p>'.  word_trim(get_the_excerpt(), 15, '...').'</p>';
    										$output .= '<p><a href="'.  get_permalink() .'" class="small button radius secondary"><i class="icon-angle-right"></i> '.__("READ MORE", 'kleo_framework').'</a></p>';
    										$output .= '</div>';
    								break;
    				}
    
    		endwhile;
    		wp_reset_postdata();
    		$output .= '</div>';
    
    		return $output;
    }
    add_shortcode('kleo_my_posts', 'kleo_my_posts');
    
    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: v.2.3 … many problems #8234
     Abe
    Keymaster

    Hi,
    This code added to sweetdate-child/functions.php removes that link from the menu

    COPY CODE
    
    add_filter('header_profile_dropdown','remove_activity_submenu');
    function remove_activity_submenu($menu) {
    	unset($menu['activity']);
    	return $menu;
    }
    

    You should just have removed the activity component if you don;t need it. Settings – 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: Slider Trouble & A Bunch of Setup Questions #8196
     Abe
    Keymaster

    That is because the form is under the slider. Add this CSS

    COPY CODE
    
    .revslider-head .just-after-header {
        margin-top: 150px;
        z-index: 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: Photo Album in other parts of a template #8193
     Abe
    Keymaster

    Hi, This is the php code to elp you achieve that

    COPY CODE
    
    $output = '';
    bp_album_query_pictures('per_page=100');
    if ( bp_album_has_pictures() ) :
    
    		$output = '<div id="gallery-carousel">';
    		while ( bp_album_has_pictures() ) : bp_album_the_picture();
    				$output .= '<span class="circle">';
    					$output .= '<a href="'.bp_album_get_picture_original_url().'" class="imagelink" data-rel="prettyPhoto[gallery2]">';
    						$output .= '<span class="overlay"></span>';
    						$output .= '<span class="read"><i class="icon-'. apply_filters('kleo_img_rounded_icon','heart').'"></i></span>';
    						$output .= '<img src="'.bp_album_get_picture_original_url().'" alt="">';
    					$output .= '</a>';
    				$output .= '</span>';
    		endwhile;
    		$output .= '</div><!--end #gallery-carousel-->';
    		$output .= '<div class="clearfix"></div>
    		<div class="four columns centered btn-carousel hide-for-small">
    			<small><a href="#" id="stanga-prev">'. __("PREVIOUS", 'kleo_framework').'</a>     
    			<a href="#" id="dreapta-next">'. __("NEXT", 'kleo_framework').'</a></small>
    		</div>';
    
    endif; 
    
    echo $output;
    
    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: LayerSlider instead of Revolution Slider #8191
     Abe
    Keymaster

    Hi, You need to add it with a piece of code as a shortcode probably. Add it sweetdate-child/functions.php and disable Revslider from Sweetdate – Homepage

    COPY CODE
    
    add_action('kleo_after_header', 'kleo_home_layerslider');
    function kleo_home_layerslider()
    {
    	echo do_shortcode('[layer_slider_shortcode_here]');
    }
    
    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: keeping scroll bar on the last position when refresh #8175
     Abe
    Keymaster

    Try with this css code to hide the sticky menu:

    COPY CODE
    
    .bp-user .contain-to-grid.sticky.fixed {
        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: Slider Trouble & A Bunch of Setup Questions #8174
     Abe
    Keymaster

    1. Great
    2. Your final codes should look like:

    COPY CODE
    
    <div class="twelve columns">
    <div class="row">
    <div class="five columns">
    --BIG AWEBER CODE HERE--
    </div>
    </div><!--end row-->
    </div><!--end twelve-->
    
    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: Change the Create Account Button #8096
     Abe
    Keymaster

    Hi,

    1. You can change that button from this file: wp-content/themes/sweetdate/page-parts/general-register-modal.php
    Pink comes from class “alert” that you can remove. The icon you can change the heart with one from: http://fortawesome.github.io/Font-Awesome/3.2.1/cheatsheet/

    2. In your page content you can add this button code just like in the header. Make sure you add it in the Text tab and not Visual:

    COPY CODE
    
    <a class="tiny button radius" data-reveal-id="register_panel" href="#"><i class="icon-group"></i> SIGN UP</a>
    
    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: kleo_articles BROKEN #8094
     Abe
    Keymaster

    Hi, Please add this css to Sweetdate – Styling optins – Quick css and it will fix your problem

    COPY CODE
    
    ul.inline-list > li > *, ul.link-list > li > * {
        display: inline-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: keeping scroll bar on the last position when refresh #8056
     Abe
    Keymaster

    You can change it with this to have the nav visible

    COPY CODE
    
    <script>
    jQuery(document).ready(function() {
    	jQuery("#item-nav .item-list-tabs a, #subnav li a").each(function() {
    		jQuery(this).attr('href',jQuery(this).attr('href')+"#main");
    	});
    });
    </script>
    
    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: Hide fields in Profile Accordion #7996
     Abe
    Keymaster

    Hi, you can change in wp-content/themes/sweetdate/members/single/profile/profile-loop.php

    COPY CODE
    
    <dt><?php bp_the_profile_field_name(); ?></dt>
    <dd><?php bp_the_profile_field_value(); ?></dd>
    

    with

    COPY CODE
    
    <?php if (bp_get_the_profile_field_name() != "Name") {?>
    <dt><?php bp_the_profile_field_name(); ?></dt>
    <dd><?php bp_the_profile_field_value(); ?></dd>
    <?php } ?>
    

    You can adapt the code to match your needs
    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.

    in reply to: Get Old BuddyPress Buttons in Member Directory #7980
     Abe
    Keymaster

    Hi, with this code added to sweetdate-child/functions.php you will render the missing buttons for public and private message. They will require some styling

    COPY CODE
    
    add_action( 'bp_directory_members_item_last', 'bp_send_public_message_button', 12 );
    add_action( 'bp_directory_members_item_last', 'bp_send_private_message_button', 12 );
    
    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: individul page background image #7979
     Abe
    Keymaster

    Hi,
    Each page will have its own class in body tab. For example a page will have this class: page-id-658
    You can use that to add custom CSS and change the bg.

    .page-id-658 { background: url("/wp-content/themes/sweetdate/assets/images/patterns/p1_pattern.gif"); }
    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 registration flow #7955
     Abe
    Keymaster

    Hello,
    The thing is that you cannot checkout for a level before you have an account .. so going to checkout page and only after that to the register page is not possible.

    You can send users to the register page and after their first login redirect them to the levels page with this code added to sweetdate-child/functions.php

    COPY CODE
    
    function function_new_user($user_id) {
       add_user_meta( $user_id, '_new_user', '1' );
    }
    add_action( 'user_register', 'function_new_user');
    
    //The next function will check if it's the first login and redirect the user.
    
    function function_check_login_redirect($user_login, $user) {
       $logincontrol = get_user_meta($user->ID, '_new_user', 'TRUE');
       if ( $logincontrol ) {
          //set the user to old
          update_user_meta( $user->ID, '_new_user', '0' );
    
          //Do the redirects or whatever you need to do for the first login
          wp_redirect( pmpro_url(), 302 ); exit;
       }
    }
    add_action('wp_login', 'function_check_login_redirect', 10, 2);
    

    or

    PMPRO by default allows registration from the checkout page but you won’t use the Buddypress register page. To enable the default behaviour you need to replace the content of this file wp-content/themes/sweetdate/paid-memberships-pro/pages/checkout.php with attached file

    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.

    Attachments:
    You must be logged in to view attached files.
    in reply to: version 2.3 problems #7946
     Abe
    Keymaster

    @adam, we have checked all things reported by you but all looked good in the demo which is also updated to v.2.3. could be something with your changes but some of the things are really odd and we haven’t even changed styling in groups steps for example.

    7. If you have moved the buttonz to the top-bar then you just need to replace the old login buttons code with the new one from the header.php.
    In the new header.php search for

    COPY CODE
    
    <!--Login buttons-->
    

    to find the new code

    Let me know if you need anything else

    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 - 441 through 480 (of 480 total)

Log in with your credentials

Forgot your details?