Forum Replies Created

Viewing 40 posts - 281 through 320 (of 394 total)
  • Author
  • in reply to: Change Mailchimp integration? #2413
     SQadmin
    Keymaster

    Hi,
    If you can modify the template for the widget then just follow current structure of the Mailchimp widget:

    COPY CODE
    
    
    <div class="panel"><h5><i class="icon-thumbs-up"></i> NEWSLETTER SIGNUP</h5>
                      <!--Newsletter form-->
                      <form class="row" method="post" data-url="http://sweet.mydisk.ro/" name="newsletter-form" id="newsletter-form">
                        <div class="four columns">
                          <div class="row collapse">
                            <div class="two mobile-one columns">
                                    <span class="prefix"><i class="icon-user"></i></span>
                            </div>
                            <div class="ten mobile-three columns">
                                    <input type="text" required="" placeholder="Your name" id="yname" name="yname">
                            </div>
                          </div>
                        </div>
                        <div class="five columns">
                          <div class="row collapse">
                            <div class="two mobile-one columns">
                                    <span class="prefix"><i class="icon-envelope"></i></span>
                            </div>
                            <div class="ten mobile-three columns">
                                    <input type="email" required="" placeholder="Your email" id="mc_email" name="mc_email">
                            </div>
                          </div>
                        </div>
                        <div class="three columns">
                            <button class="small radius button expand" name="newsletter-submit" id="newsletter-submit" type="submit">JOIN US</button>
    
                        </div>
                        <div class="twelve column">
                          <div><small id="result"></small></div></div>
                      </form><!--end newsletter-form--></div>
    

    If you can’t modify the template the I guess you just need to try and do all the changes from css.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Not enought room to read search questions #2411
     SQadmin
    Keymaster

    Hi,
    You can try increasing the column size by adding this to Sweetdate -> Styling options -> Quick css:

    COPY CODE
    
    
    #horizontal_search .row .two {width:33.3%}
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Increase font size of menu at top ? #2389
     SQadmin
    Keymaster

    Hi,
    Add this to Sweetdate -> Styling options -> Quick css:

    COPY CODE
    
    
    .top-bar ul > li a:not(.button) {font-size:16px}
    

    Cheers

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Some change on the Group Design #2370
     SQadmin
    Keymaster

    Oh I see what you mean, change it like this please:

    COPY CODE
    
    .home #groups .group-item .text-center {border:1px solid #ccc; }
    .home #groups .item-header-avatar {max-width:auto;}
    

    The second line is to have the image as larger as the box

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Some change on the Group Design #2355
     SQadmin
    Keymaster

    Ok. add this style to Sweetdate -> Styling options -> Quick css

    .home #groups .group-item {border:1px solid #ccc; }
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: How to change matching system #2328
     SQadmin
    Keymaster

    Regarding the matching arrays this is how your code should have looked after my example:

    COPY CODE
    
    add_action('after_setup_theme','kleo_my_match');
    function kleo_my_match() {
      global $kleo_config;
      $kleo_config['matching_fields']['starting_score'] = 1;
      //required for initial match. If the sex preference matches it will continue to the specified fields below
      $kleo_config['matching_fields']['sex'] = 'I am a';
      $kleo_config['matching_fields']['looking_for'] = 'Looking for a';
      //sex percentage
      $kleo_config['matching_fields']['sex_percentage'] = 49;
      //single value fields like select, textbox,radio
      $kleo_config['matching_fields']['single_value'] = array ( 
        'Marital status' => 20, 
        'Country' => 5, 
        'City' => 5,
        'Profession' => 10,
        'Annual Income' => 10,
        'Education' => 10,
        'Political Views' =>5,
        'Religion' => 20,
        'Weight Type' => 5,
        'Ethnicity' => 15
      ); 
      //multiple values fields like multiple select or checkbox 
      $kleo_config['matching_fields']['multiple_values'] = array ( 
        'Interests' => 10, 
        'Looking for' => 10,
        'Smoking, Drinking & Drugs' => 10,
        'Second Language' => 20
      );
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Mving the form-wrapper further down the page #2324
     SQadmin
    Keymaster

    Hi,
    Add this css to Sweetdate-> Styling options -> Quick css box:

    COPY CODE
    
    .home .form-wrapper {margin-top:50px;}
    

    Change the 50 pixels to whatever you want

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Font Issue #2303
     SQadmin
    Keymaster

    yes it seems that the paragraph has a default 14px font size.
    Please customize the font size by adding this code to Sweetdate -> Styling options -> Quick css box:

    COPY CODE
    
    p {font-size: 17px;}
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Check if user is online #2301
     SQadmin
    Keymaster

    Hi,
    I can help you with this functions that check if a user is online or not. You need to add them to your sweetdate-child/functions.php

    COPY CODE
    
    function kleo_is_user_online($user_id, $time=5)
    {
    	global $wpdb;
    	$sql = $wpdb->prepare( "
    		SELECT u.user_login FROM $wpdb->users u JOIN $wpdb->usermeta um ON um.user_id = u.ID
    		WHERE u.ID = %d
    		AND um.meta_key = 'last_activity'
    		AND DATE_ADD( um.meta_value, INTERVAL %d MINUTE ) >= UTC_TIMESTAMP()", $user_id, $time);
    	$user_login = $wpdb->get_var( $sql );
    	if(isset($user_login) && $user_login !=""){
    		return true;
    	}
    	else {return false;}
    }
    

    To show the status in member directory you have 2 options:

    1. edit members/members-loop.php and add this by hand where you want to appear inside the members loop:
    <?php if (kleo_is_user_online(bp_get_member_user_id())) { echo "Online"; } else { echo "Offline"; } ?>

    2. Add this code to sweetdate-child/functions.php to show it before the members name:

    COPY CODE
    
    add_action('bp_members_meta', 'kleo_online_status');
    function kleo_online_status() {
    	if (kleo_is_user_online(bp_get_member_user_id())) {
    		echo "Online"; 
    	} else { 
    		echo "Offline"; 
    	}
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Membership improvements #2267
     SQadmin
    Keymaster

    There are several ways you can restrict content.
    – On the page/post edit area you can set specific level restrictions
    – Using Shortcodes:

    COPY CODE
    
    [membership level="0,1,3,4"]
    //where 0,1,3,4, are the level ids for which you want to show content
    

    – Using PHP:

    COPY CODE
    
    if pmpro_hasMembershipLevel($level_id) { 
    //allowed to view content
     }
    else
    {
    //not allowed to view content
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: WordPress html footer links #2257
     SQadmin
    Keymaster

    Since version 2.0 you can add this function to sweetdate-child/functions.php to override default text:

    COPY CODE
    
    function kleo_copyright_text()
    {
      echo "My custom text";
    }
    

    You need to replace/add your own text in it

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Question about login #2256
     SQadmin
    Keymaster

    Hi,
    You can’t use the just like that.
    To get the url this is the complete code to use. $url will have the blog link:

    COPY CODE
    
    
    $site_info = get_active_blog_for_user(get_current_user_id());
    if ($site_info) {
    	$url = $site_info->siteurl;
    }
    else {
    	$url = home_url();
    }
    echo $url;
    

    Then just echo $url where you need it.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: How to change matching system #2254
     SQadmin
    Keymaster

    Hi,
    To change the fields that affects the matching system you need to override the default options.
    To change those fields you need to add a code to sweetdate-child/functions.php and modify it to match your needs like this:

    COPY CODE
    
    //change matching system
    add_action('after_setup_theme','kleo_my_match');
    function kleo_my_match() {
    global $kleo_config;
    $kleo_config['matching_fields']['starting_score'] = 1;
    //If we want to match by members sex. values: 0|1
    $kleo_config['matching_fields']['sex_match'] = 1;
    //required for initial match. If the sex preference matches it will continue to the specified fields below
    $kleo_config['matching_fields']['sex'] = 'I am a';
    $kleo_config['matching_fields']['looking_for'] = 'Looking for a';
    //sex percentage
    $kleo_config['matching_fields']['sex_percentage'] = 49;
    //single value fields like select, textbox,radio
    $kleo_config['matching_fields']['single_value'] = array (
        'Marital status' => 20,
        'Country' => 5,
    'City' => 5
    );
    //multiple values fields like multiple select or checkbox
    $kleo_config['matching_fields']['multiple_values'] = array (
        'Interests' => 10,
        'Looking for' => 10,
    );
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Members online not working #2250
     SQadmin
    Keymaster

    Hi,
    If you have translated or change the default sex field “I am a” you need to set the Sex field from Sweetdate -> Buddypress. This is used for the member count.
    Then if you have different options than Man and Woman you need to modify the shortcode in the page like this:

    COPY CODE
    
    [kleo_men_online field="My renamed value"]
    

    You can use the kleo_men_online with different field attributes for every new value you want to show.
    Basically [kleo_men_online] is similar to [kleo_men_online field=”Man”] and by adding the field attribute you override the default value.

    Cheers

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: [HELP] rtMedia LightBox? #2243
     SQadmin
    Keymaster

    Hi,
    Please add this code to Sweetdate -> Styling options -> Quick css box:

    COPY CODE
    
    
    .rtmedia-media.flex-video {height:auto;padding-top:inherit;padding-bottom:inherit;margin-bottom:0;}
    

    That will fix it. We will include the fix in the next update

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Facebook & Terms and Conditions at register form #2237
     SQadmin
    Keymaster

    I have a quick fix for you. It will work with the 2.0 version. Add this to sweetdate-child/functions.php:

    COPY CODE
    
    
    add_action('fb_popup_register_button_front', 'fb_register_button_front' );
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Some change on the Group Design #2199
     SQadmin
    Keymaster

    Hi,
    We’re fine thank you. Just released v2.0 and we need some sleep 🙂
    1. add this css to make the image square to Sweetdate -> Styling options -> Quick css

    COPY CODE
    
    #groups .avatar {border-radius: 0;}
    

    to change the structure you need modifications of the shortcode.
    2. Also changes to a function. Let me take a closer look and will let you know the solution.
    3. This is easy. you need to change the shortcodes type attribut to match your new field value, like type=”Employer”

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: [HELP] Profile Colours? #2164
     SQadmin
    Keymaster

    Basically you will have to add the css to the theme

    COPY CODE
    
    //CSS
    #profile {background:#ccc;}
    

    by the profile field, that you can check with:

    COPY CODE
    
    //PHP
    xprofile_get_field_data( 'Location');
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Facebook registration w/ avatar #2141
     SQadmin
    Keymaster

    Hi, The thumb size can be modified from wp-content/plugins/bp-custom.php
    By default this should be the sizes:

    COPY CODE
    
    define( 'BP_AVATAR_THUMB_WIDTH', 120 ); //change this with your desired thumb width
     
    if ( !defined( 'BP_AVATAR_THUMB_HEIGHT' ) )
    define( 'BP_AVATAR_THUMB_HEIGHT', 120 ); //change this with your desired thumb height
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
     SQadmin
    Keymaster

    You can differentiate content in pages with these 2 shortcodes:
    [kleo_only_members]Content to show for members only[/kleo_only_members]
    [kleo_only_guests]Content to show for guests only[/kleo_only_guests]

    This code is used to redirect to the last page user was viewing. Add this to the file located on your server at wp-content/themes/sweetdate-child/functions.php

    COPY CODE
    
    add_filter('login_redirect', 'redirect_previous_page', 10);
     
    function redirect_previous_page(){
        $request = $_SERVER["HTTP_REFERER"];
        $req = explode(get_option('siteurl'),$request);
        if (isset($req[1])){
            $redirect = site_url( $req[1], 'login_post' );
        } else {
            $redirect = site_url( '', 'login_post' );
        }
     
     
        return $redirect;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: [HELP] Profile Info #2103
     SQadmin
    Keymaster

    Hi,
    So to add the “Personal Info” tab this is the complete code like in the link I first sent:

    COPY CODE
    
    
    add_action('after_setup_theme','kleo_my_tab');
    function kleo_my_tab()
    {
        global $bp_tabs;
        $bp_tabs[] = array(
            'type' => 'regular',
            'name' => __('Personal Info', 'kleo_framework'),
    'group' => __('Personal Info', 'kleo_framework'),
            'class' => 'regulartab'
        );
     
    }
    

    PS: The name and group are case sensitive.
    Make sure you have the child-theme activated
    Make sure the user has filled data in that group

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

    Oh. you can remove it. I thought you wan to show something else in the exact same location, but you can remove it and build the page with shortcodes.
    To remove it add this snippet to wp-content/themes/sweetdate-child/functions.php

    COPY CODE
    
    add_action('after_setup_theme','remove_search_form',11);
    function remove_search_form() {
        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
    in reply to: Show Admin Bar only for site admin #2010
     SQadmin
    Keymaster

    If you want it only for site admins add this code to sweetdate-child/functions.php

    COPY CODE
    
    /* Amin bar only for admin */
    add_action('after_setup_theme','kleo_my_bar');
    function kleo_my_bar(){
        if (is_super_admin())
        {
            add_action('wp_footer','wp_admin_bar_render',1000);
            add_filter('show_admin_bar', '__return_true');
        }
    }
    

    Make sure to have the sweetdate-child theme activated for it to work

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Ticket solution
    in reply to: Admin toolbar blocks navigation toolbar #1985
     SQadmin
    Keymaster

    Hi,
    You can add the equivalent css to Sweetdate -> Styling options -> Quick css and it will override it’s original value:

    COPY CODE
    
    .top-bar { margin-top: 28px; }
    

    We will include this in an update so it will automatically generate if the toolbar is on.
    Thanks for pointing this out.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Unable to change colors #1955
     SQadmin
    Keymaster

    Hello st,
    Right now that line doesn’t have a setting in the styling options.
    You can style it by adding this to Sweetdate -> Styling options -> Quick css box:

    COPY CODE
    
    
    .top-links {
        border-bottom: 1px solid #HEX;
    }
    

    Replace the #HEX with your color hex value.

    Cheers

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: How to add dynamic bp profile links to the wp-menu? #1952
     SQadmin
    Keymaster

    Hi,
    You cant do that (3rd pasted code). Your using css as html.
    Give your link a specific class and apply the css to it(this way it won’t apply to all links)
    CSS:

    COPY CODE
    
    div.kleo-page header div.header-bg div#header div.row div.eight div.contain-to-grid nav.top-bar section ul#menu-new-menu.left li a.my-message-class {...}
    

    PHP:

    COPY CODE
    
    $profilelink .= '<li><a class="my-message-class" href="' . bp_loggedin_user_domain( '/' ) . 'messages" rel="nofollow">' . __('Messages','buddypress') . '</a></li>'; 
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: How to add dynamic bp profile links to the wp-menu? #1951
     SQadmin
    Keymaster

    Hi kswift,
    Here is a sample from an existing dropdown. You can create yours the same way:

    COPY CODE
    
    <li class="has-dropdown" ><a class="main-menu-link" href="#">Buddypress</a>
    <ul class="dropdown"><li><a href="#" class="parent-link hide-for-large-up">Buddypress</a></li>
    	<li><a class="sub-menu-link" href="http://seventhqueen.com/demo/sweetdatewp/members/">Members</a></li>
    	<li><a class="sub-menu-link" href="http://seventhqueen.com/demo/sweetdatewp/groups/">Groups</a></li>
    	<li><a class="sub-menu-link" href="http://seventhqueen.com/demo/sweetdatewp/activity/">Activity</a></li>
    </ul>
    </li>
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: how to get link for user's profile page? #1925
     SQadmin
    Keymaster

    Hi, this echoes the link

    COPY CODE
    
    bp_loggedin_user_domain();
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: How to add dynamic bp profile links to the wp-menu? #1924
     SQadmin
    Keymaster

    Hi,
    After:

    COPY CODE
    
    $profilelink = '<li><a href="' . bp_loggedin_user_domain( '/' ) . '" rel="nofollow">' . __('Profile','buddypress') . '</a></li>';
    

    you can add another menus like this:

    COPY CODE
    
    $profilelink .= '<li><a href="' . bp_loggedin_user_domain( '/' ) . 'messages" rel="nofollow">' . __('Messages','buddypress') . '</a></li>';
    $profilelink .= '<li><a href="' . bp_loggedin_user_domain( '/' ) . 'friends" rel="nofollow">' . __('Friends','buddypress') . '</a></li>';
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Horizontal Nav #1921
     SQadmin
    Keymaster

    Hi Joel,
    This is not an easy thing since those controls are put in columns and these columns are based on Zurb Foundation framework but you can rewrite some default values for these columns. You have an example below, put this lines in Sweetdate/Styling options/Quick css box and adjust the values of ”width” and “padding”. Leave the “first-child” and “last-child” as they are.

    COPY CODE
    
    #search-bar .two { width: 14%; }
    #search-bar .two.columns { padding-left: 2px; padding-right: 2px;  }
    
    #search-bar .two.columns:first-child,
    #search-bar .two.columns:last-child { padding: 0 6px; }
    

    Regards,
    Robert

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Customize URL slugs for Buddypress components #1882
     SQadmin
    Keymaster

    Hi,
    Here is a list of slugs used by Buddypress

    COPY CODE
    
    define ( 'BP_ACTIVITY_SLUG', 'streams' );
    define ( 'BP_BLOGS_SLUG', 'journals' );
    define ( 'BP_MEMBERS_SLUG', 'users' );
    define ( 'BP_FRIENDS_SLUG', 'peeps' );
    define ( 'BP_GROUPS_SLUG', 'gatherings' );
    define ( 'BP_FORUMS_SLUG', 'discussions' );
    define ( 'BP_MESSAGES_SLUG', 'notes' );
    define ( 'BP_WIRE_SLUG', 'pinboard' );
    define ( 'BP_XPROFILE_SLUG', 'info' );
    define ( 'BP_REGISTER_SLUG', 'signup' );
    define ( 'BP_ACTIVATION_SLUG', 'enable' );
    define ( 'BP_SEARCH_SLUG', 'find' );
    define ( 'BP_HOME_BLOG_SLUG', 'news' );
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Few questions, please view image. #1876
     SQadmin
    Keymaster

    Hi,

    1. You can’t change this from admin, but you can change it by writing the following line in Sweetdate/Styling options/Quick css box:

    COPY CODE
    
    .top-links { border-bottom: 1px solid #0784b3; background: #000000; }
    

    – change the hex code to your desired color.

    2. You can change it the same way as in the above example:

    COPY CODE
    
    .top-links, .top-links a {
        color: #fff;
    background: #000;
    }
    

    3) That is because your secondary color is white, same as the background. You can change the button color with this style:

    COPY CODE
    
    input#searchsubmit, input#searchsubmit:hover {background:#fff;}
    

    4. You can change the path to your image manually in: ../themes/sweetdate-child/page-templates/contact.php at line 42 http://d.pr/i/xBcW or simply comment this line. You need also to clear browser cache or rename your picture.
    5. Same as point 3. Change the secondary button colors or:

    COPY CODE
    
    #kleo_ajaxsearch {background: #eee;}
    

    6. Sweetdate -> Buddypress HORIZONTAL FORM -> Text before form: remove any text added
    7. Add profile fields from Users ->Profile fields or Import our demo fields from Sweetdate -> Buddypress -> “Import Buddypress profile fields”
    8. You can edit your Home page and there is a button shortcode that show the video button:
    [kleo_button_video url=”http://www.youtube.com/embed/FtquI061bag&#8221; style=”alert” size=”large” round=”radius” icon=”film,after”] Our TV Commercial [/kleo_button_video]
    change style=”alert” attribute value with success, secondary,alert,standard
    or
    In the same way as in section 1 with the following line:

    COPY CODE
    
    #call-to-actions .alert { background-color: #ff0461; border: 1px solid #ff0461; }
    #call-to-actions .alert:hover,
    #call-to-actions .alert:focus { background: #ed0058; border: 1px solid #ed0058; }
     
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Recreate Front Page Registration Form #1797
     SQadmin
    Keymaster

    Hi,
    You can wrap that embed in a div with the style=”boder:3px solid #777″
    something like this:

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

    Hi,
    You can restrict users from registering with space in the username:

    COPY CODE
    
    add_action('bp_init','bpdev_remove_bp_pre_user_login_action');
    function bpdev_remove_bp_pre_user_login_action(){
     remove_action( 'pre_user_login', 'bp_core_strip_username_spaces' );
    }
     
    //add a filter to invalidate a username with spaces
    add_filter('validate_username','bpdev_restrict_space_in_username',10,2);
    function bpdev_restrict_space_in_username($valid,$user_name){
     //check if there is an space
     if ( preg_match('/\s/',$user_name) )
     return false;//if myes, then we say it is an error
     return $valid;//otherwise return the actual validity
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Check Box – Two Columns #1767
     SQadmin
    Keymaster

    Hi.
    You cand add this to Sweetdate -> Styling options -> Quick css:

    COPY CODE
    
    #register-page .editfield .checkbox label:not(.reglabel) {width:50%;float:left;}
    

    If you want 3 on a row you can change 50% to 33%

    PS: Thanks for the stellar review

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Customize URL slugs for Buddypress components #1765
     SQadmin
    Keymaster

    Hi,
    Try adding this to your wp-config.php file in your root wordpress install directory:

    COPY CODE
    
    define ( 'BP_GROUPS_SLUG', 'grupos' );
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Recreate Front Page Registration Form #1763
     SQadmin
    Keymaster

    Hi,
    You need to modify page-parts/home-register-form.php and after the form ends you need to add another column with your video(after line 128):

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Recreate Front Page Registration Form #1722
     SQadmin
    Keymaster

    Hi,
    Right now there is no shortcode for that but you could install http://wordpress.org/plugins/shortcode-exec-php and create a shortcode that executes this:

    COPY CODE
    
    get_template_part('page-parts/home-register-form');
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Change Hearts & Wording in Match Circle on Profiles #1700
     SQadmin
    Keymaster

    Hello and thank you.
    For the icons that appear in the site take a look at this topic: https://archived.seventhqueen.com/forums/topic/removereplace-the-love-hearts-in-site

    To change the match in the compatibility you have add this function in your sweetdate-child/functions.php and modify the default behaviour:
    http://d.pr/n/VbgT

    Change the __(“match”, ‘kleo_framework’) to whatever you like.
    The two icons are a image background rendered by and has this css:

    COPY CODE
    
    .circular-item .hearts {
        background: url("../images/hearts_bg.png") no-repeat scroll 0 0 transparent;
        display: block;
        height: 30px;
        position: absolute;
        right: 0;
        top: -20px;
        width: 39px;
    }
    

    You can put you own image on the server and change the span class to “my-hearts” and add the css to Sweetdate -> Styling -> Quick css or in the file sweetdate-child/style.css

    COPY CODE
    
    .circular-item .my-hearts {
        background: url("../path_to_new_image") no-repeat scroll 0 0 transparent;
        display: block;
        height: 30px;
        position: absolute;
        right: 0;
        top: -20px;
        width: 39px;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: How do i remove the "forums" tab from profiles? #1686
     SQadmin
    Keymaster

    Hi,
    To remove the forum tab from the profile add this to sweetdate-child/functions.php having the sweetdate child theme activated:

    COPY CODE
    
    // Remove forums menu item
    function my_setup_nav() {
          global $bp;
    
          unset($bp->bp_nav['forums']);
    }
     
    add_action( 'bp_setup_nav', 'my_setup_nav', 1000 );
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 40 posts - 281 through 320 (of 394 total)

Log in with your credentials

Forgot your details?