Forum Replies Created

Viewing 40 posts - 1,881 through 1,920 (of 2,655 total)
  • Author
  • 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: Add Request Friendship Button to Member Search Results Page #2297
     SQadmin
    Keymaster

    Hi,
    This is a bit complicated but we worked it out to reproduce that button in the members loop.
    There are some files to be modified from the parent theme and we will make this as a basic functionality.
    We will add this in the next update but if you really need it right now we will try to give you the files you need to replace.
    here is a screen-shot with the button added: http://d.pr/i/eZFy

    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: Blog category image grid #2291
     SQadmin
    Keymaster

    Hi, right now you can’t have this option but we plan to implement something like this in feature updates, maybe with isotope filter effect.

    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: Buddydrive integration #2290
     SQadmin
    Keymaster

    Hi, please send us some screenshots to look closer. You ca use some free online services like http://droplr.com/hello or even better http://redpen.io/

    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: Changing ICON colors in Demo home page #2289
     SQadmin
    Keymaster

    Hi, for those icons you have psd source files in download kit -> Main Files/PSD/status_icons.psd
    These are simple shapes created with Photoshop.

    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: User registration is currently not allowed. #2288
     SQadmin
    Keymaster

    Hi, you need to go in admin settings -> General and tick Anyone can register.

    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: Removing Map Hart #2287
     SQadmin
    Keymaster

    Hi, 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

    ps: You need also to clear browser cache or rename your picture.

    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: Assign default Membership level at registration #2275
     SQadmin
    Keymaster

    Yes you do have the option in Membership -> Advanced to check Logged in or Not Member(this is a user that hasn’t subscribed)

    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: Group Error #2273
     SQadmin
    Keymaster

    Hi.
    The error come from the 404 page because you have a older PHP version. Take a look at this topic to fix it:
    https://archived.seventhqueen.com/forums/topic/404-page-error

    The error shouldn’t appear. Make sure to conigure all buddypress pages and set pretty permalinks from Settings -> Permalinks

    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 #2271
     SQadmin
    Keymaster

    It should look like this, your Advanced page:
    http://d.pr/i/yd1G

    There is an option: Restrict users from sending private messages

    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: Create Site link in BPress profile gone? #2266
     SQadmin
    Keymaster

    That link should be in the /sites page.

    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] Sign Up Modal? #2265
     SQadmin
    Keymaster

    Hi,
    Please see this topic that is similar:
    https://archived.seventhqueen.com/forums/topic/how-to-disable-modal-login

    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: Assign default Membership level at registration #2261
     SQadmin
    Keymaster

    Hi,
    We’ll look into it. You could just not create the FREE level and assume it as free if a user hasn;t applied for a level

    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 #2259
     SQadmin
    Keymaster

    Hi, We tested and it acts right. Do you have a link to your site?

    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: Check if user is online #2251
     SQadmin
    Keymaster

    Hi,
    I don’t know if I understood correctly but to change the default icon for the online members edit your Home page and change your existing shortcode to have an image attribute like this:

    [kleo_status_icon type=”members_online” image=”http://seventhqueen.com/demo/sweetdatewp/wp-content/uploads/2013/06/apple-touch-icon.png&#8221; subtitle=”Members online”]

    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: How to disable modal login #2247
     SQadmin
    Keymaster

    Hi,
    if you want to change the login link to wp-login.php and the register to wp-login.php?action=register you need to edit header.php:
    line 134:
    – remove this: data-reveal-id=”login_panel”
    – change the href=”#” to
    href="<?php echo home_url();?>/wp-login.php"
    and
    line 136
    -remove: data-reveal-id=”register_panel”
    – change the href=”#” to
    href="<?php echo home_url();?>/wp-login.php?action=register"

    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 #2245
     SQadmin
    Keymaster

    Oh sorry 🙂
    Add it to wp-content/themes/sweetdate-child/functions.php
    Make sure to 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
    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: Forum on the index page! #2242
     SQadmin
    Keymaster

    Hi,
    In the edit page of the new forum you can set it’s parent in the right box.
    You can put the forum link in the url box if you added as a link in the menu

    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,
    For you new question, the count should update automatically. If you have translated or changed the values of the fields follow this topic:
    https://archived.seventhqueen.com/forums/topic/big-bug-with-manwoman-number-and-search
    Also in order for the users to appear they should login at least once.

    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: Slider shortcode not working #2239
     SQadmin
    Keymaster

    Hi,
    Can you put a sample of the code? We tested and tested and it looks good

    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 #2238
     SQadmin
    Keymaster

    To add extra fields to the registration form you should edit sweetdate/page-parts/home-register-form.php

    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 #2236
     SQadmin
    Keymaster

    In addition to the style that makes the images square I did this custom function for you. Is the best I could do. You can style it further:
    http://d.pr/n/tdvh

    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: Add Request Friendship Button to Member Search Results Page #2224
     SQadmin
    Keymaster

    Hi.
    You nees to modify the file template located in members/members-loop.php

    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 #2223
     SQadmin
    Keymaster

    The shop section is a different template and is rendered by woocommerce

    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: 1st in Menu drops a subitem #2219
     SQadmin
    Keymaster

    We will check on Opera.

    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 #2217
     SQadmin
    Keymaster

    I don’t know what you are trying to achieve. Paste your code here. I am sure it has something misspelled.

    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 #2213
     SQadmin
    Keymaster

    Hi,
    You have some predefined access restriction that you can configure in Memberships -> Advanced tab. You can restrict for example PM and media.

    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: Create Site link in BPress profile gone? #2212
     SQadmin
    Keymaster

    We haven;t changed anything regarding your issue. Maybe you have done some settings if it were there and now it is gone.

    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: Localisation of Back button in mobile menu #2208
     SQadmin
    Keymaster

    Hi,
    We fixed this in out latest update (2.0)
    Update and if you already translated “Back” string it should automatically display the translated one.

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

    Fixed. Please update to 2.0.1

    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: 1st in Menu drops a subitem #2193
     SQadmin
    Keymaster

    This should happen only on mobile mode since when you click the parent a new page opens with child items.
    Screenshot?

    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 - 1,881 through 1,920 (of 2,655 total)

Log in with your credentials

Forgot your details?