Forum Replies Created

Viewing 40 posts - 841 through 880 (of 2,655 total)
  • Author
  • in reply to: Twitter & Social Icons #5461
     SQadmin
    Keymaster

    We’ll check again then. Can you provide a link?

    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: Sign up -field instead of search #5460
     SQadmin
    Keymaster

    Hi,
    Change to register form in WP ADmin – Sweetdate – Homepage

    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: Register Button Gone #5458
     SQadmin
    Keymaster

    Have you enabled registration from Settings – General?
    Please use the latest theme version 2.2 where this is fixed and you no longer have to make the code change

    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: Manual number of members change #5457
     SQadmin
    Keymaster

    I said before the return line 🙂

    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 "uploaded a new picture:" (activity wall) #5456
     SQadmin
    Keymaster

    “uploaded a new picture” is probably related to bpAlbum
    See this topic for translating bp-Album: https://archived.seventhqueen.com/forums/topic/where-to-translate-bp-album

    I don’t know what there are: ‘friendship_created’, ‘new_avatar’, ‘new_member’

    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: Translation contribution #5455
     SQadmin
    Keymaster

    Hi,
    That is fine and is more a notice than an error and just ignore it because it is nomarl since the theme has template files from other plugins. You just need to translate the strings that are under the “kleo_framework” 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 search by username? #5454
     SQadmin
    Keymaster

    i don’t know where is that. probably from a plugin you are using…

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

    There was a character missing. Try again please: http://d.pr/n/g0VK

    You second question. Put a normal html link in a text widget

    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 restrictions NOT working #5450
     SQadmin
    Keymaster

    We found the problem and fixed it. It was related to a strange thing … the www. in the link
    somehow it was not taking the right link from php.
    Now we added an extra test in the code so it should work fine.

    Ps. Nice thing iceCoder, good for mobile editing

    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 restrictions NOT working #5447
     SQadmin
    Keymaster

    Ok, We are making some tests on it. I don’t think is because of the v2 subfolder. We will let you know the problem

    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: Manual number of members change #5438
     SQadmin
    Keymaster

    Thy adding this before the return line:
    str_replace(“.”,””,$number);

    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, create a new file named like “tpl-onlinemembers.php” in your sweetdate-child folder and then add this code to it:
    http://d.pr/n/g0VK

    Then you can create a page and set it to use this Buddypress Online members template

    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: Website now appearing #5436
     SQadmin
    Keymaster

    Please set WP_DEBUG to true in your wp-config.php file located in the root of your wordpress install and give us the error it shows… or 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: Friend Request Notification Color #5433
     SQadmin
    Keymaster

    We added the exact same code and it should work. Please provide 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: Membership restrictions NOT working #5432
     SQadmin
    Keymaster

    I made a change to a PMPRO file so you need to remove the plugin folder from wp-content/plugins to have admin access

    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 restrictions NOT working #5431
     SQadmin
    Keymaster

    Can you please disable pmpro? I can’t do proper tests from the online wordpress file editor, so can you provide FTP acess

    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 appear masculine and feminine members online #5429
     SQadmin
    Keymaster

    In your homepage edit the default kleo_status_icon shortcode and adapt it like this with your values:

    COPY CODE
    
    [kleo_status_icon type="Translated Man" image="http://seventhqueen.com/demo/sweetdatewp/wp-content/uploads/2013/06/apple-touch-icon.png" subtitle="Man online"] 
    

    Also you need to set the Sex field from Sweetdate -> Buddypress. This is used for the member count

    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: Site messing up in Internet Explorer #5428
     SQadmin
    Keymaster

    Hi,
    What version of IE.
    We tested and works: http://d.pr/i/rAAT

    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 hide backgroung image #5427
     SQadmin
    Keymaster

    Hi, Instead of doing it from the settings you can add this code to Sweetdate – Styling options – Quick css and change the path to your image:

    COPY CODE
    
    .home .header-bg {
        background: url("/wp-content/themes/sweetdate/assets/images/patterns/blue_pattern.gif") repeat scroll 0 0 #0076A3;
    }
    
    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: Buddypress Xprofile Custom Fields Type in search form #5425
     SQadmin
    Keymaster

    Hi,
    Sorry we missed this topic
    Hope you understand that happens sometimes.
    Can you give us temporary admin access?
    mark the reply as private

    You probably configured something wrong or a plugin you are using

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

    That function displays exactly the original text. Replace with your own text. Something like

    COPY CODE
    
    echo '<div class="row"><div class="six columns">Bla bla</div><div class="six columns right">Bla bla</div></div>';
    
    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 #5423
     SQadmin
    Keymaster

    Ok, to be more specific I modified the above function so you understand what I meant

    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: Twitter & Social Icons #5422
     SQadmin
    Keymaster

    Hi, Are you using latest theme version?

    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: Home Page not Showing up with CommentPress #5421
     SQadmin
    Keymaster

    Hi,
    Set your homepage under Settings – Reading

    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: Extra membership restrictions – HOW TO #5420
     SQadmin
    Keymaster

    The following codes goes to sweetdate-child/functions.php

    This manipulates the text that shows in the memberhips page:

    COPY CODE
    
    
    /* These restrictions will appear to be configured in Sweetdate - Memberships */
    add_filter('kleo_pmpro_level_restrictions', 'kleo_my_levels_checkmarks');
    function kleo_my_levels_checkmarks($settings) {
     
        $settings = array (
    		//NEW RESTRICTION MESSAGES page with name: message
            array(
                'title' => __('Restrict Messages page','kleo_framework'),
                'front' => __('Access messages page','kleo_framework'),
                'name' => 'message'
            ),
    		//NEW RESTRICTION SHOP page with name: shop
            array(
                'title' => __('Restrict Shop page','kleo_framework'),
                'front' => __('Access Shop page','kleo_framework'),
                'name' => 'shop'
            ),
            array(
                'title' => __('Restrict members directory','kleo_framework'),
                'front' => __('View members directory','kleo_framework'),
                'name' => 'members_dir'
            ),
            array(
                'title' => __('Restrict viewing other profiles','kleo_framework'),
                'front' => __('View members profile','kleo_framework'),
                'name' => 'view_profiles'
            ),
            array(
                'title' => __('Restrict access to groups directory','kleo_framework'),
                'front' => __('Access group directory','kleo_framework'),
                'name' => 'groups_dir'
            ),
            array(
                'title' => __('Restrict access to single group page','kleo_framework'),
                'front' => __('Access to groups','kleo_framework'),
                'name' => 'view_groups'
            ),
            array(
                'title' => __('Restrict users from viewing site activity','kleo_framework'),
                'front' => __('View site activity','kleo_framework'),
                'name' => 'show_activity'
            ),
            array(
                'title' => __('Restrict users from sending private messages','kleo_framework'),
                'front' => __('Send Private messages','kleo_framework'),
                'name' => 'pm'
            ),
            array(
                'title' => __('Restrict users from adding media to their profile using rtMedia or bpAlbum','kleo_framework'),
                'front' => __('Add media to your profile','kleo_framework'),
                'name' => 'add_media'
            )
        );
        return $settings;
    }
    

    This makes the messages page restriction to happen:

    COPY CODE
    
    // restrict profile area - Messages page
    add_action('kleo_pmro_extra_restriction_before_my_profile','kleo_my_custom_restrict1');
    
    function kleo_my_custom_restrict1()
    {
    	//full current url
    	$actual_link = kleo_full_url();
    	//our request uri
    	$uri = str_replace(untrailingslashit(home_url()),"",$actual_link);
    
    	//restrict messaging page url
    	if(preg_match("/^\/".bp_get_members_root_slug()."\/". bp_get_loggedin_user_username()."\/messages\/?/", $uri))
    	{
    		
    		$my_restrictions =  array('message' => array(
    				//2 - restrict certain levels. 0 -restrict none; 1 - restrict all
    				'type' => 2,
    				//levels that you apply the restrictions to
    				'levels' => array(2,3),
    				//'not_member' => 1, //restrict users without a membership level
    				//'guest' => 1 // restrict not logged in users
    			)
    		);
    		//We use the name "message" from the new restriction added above
    		kleo_check_access('message',$my_restrictions);
    	}
    }
    
    //Restrict Shop page
    add_filter('kleo_pmpro_match_rules', 'kleo_my_custom_restrict2');
    
    function kleo_my_custom_restrict2($restrictions) {
    	//regular expression for shop page
    	$restrictions["/^\/shop\/?$/"] = array('name' => 'shop');
    	return $restrictions;
    }
    
    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: Event Management #5417
     SQadmin
    Keymaster

    There is no integration like that.
    I saw this plugin for events: http://wordpress.org/plugins/events-manager/

    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: back to search results #5416
     SQadmin
    Keymaster

    in functions.php there is this function: kleo_show_breadcrumb()

    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: Hide menu #5415
     SQadmin
    Keymaster

    You should have header-2.php and the function get_header(‘2’);

    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: Adding Icons to Footer #5414
     SQadmin
    Keymaster

    Hi guys,
    Hope this helps also:
    https://archived.seventhqueen.com/forums/topic/add-links-to-footer

    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: charge different type users #5413
     SQadmin
    Keymaster

    See here my answer:
    https://archived.seventhqueen.com/forums/topic/membership-auto-in-registration#reply-5411

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

    Also this code checks for a specific profile value and add only those users to the membership level:

    COPY CODE
    
    
    
    /**
    * When registering, add the member to a specific membership level
    * based on the field value he has selected
    *
    * @global object $wpdb
    * @global object $bp
    * @param integer $user_id
    */
    function kleo_pmpro_default_level($user_id) {
        global $wpdb, $bp;
     
        //Change this with your field name
        $field_name= "I am a";
     
        //Change the field value
        $value_to_match = "Woman";
     
        //Membership level id
        $membership_level = 1;
     
        //Done editing
        $field_id = $wpdb->get_var( $wpdb->prepare( "SELECT id FROM {$bp->profile->table_name_fields} WHERE name = %s", $field_name ) );
        if ($_POST['field_'.$field_id] == $value_to_match) {
                pmpro_changeMembershipLevel($membership_level, $user_id);
        }
    }
     
    function kleo_mu_pmpro_default_level($user_id, $password, $meta) {
        global $bp, $wpdb;
     
        //Change this with your field name
        $field_name= "I am a";
     
        //Change the field value
        $value_to_match = "Woman";
     
        //Membership level id
        $membership_level = 1;
     
        
        //Done editing
        $field_id = $wpdb->get_var( $wpdb->prepare( "SELECT id FROM {$bp->profile->table_name_fields} WHERE name = %s", $field_name ) );
        $field_value = $meta['field_'.$field_id];
        if ( $field_value == $value_to_match ) {
            pmpro_changeMembershipLevel($membership_level, $user_id);
        }
    }
     
    if (is_multisite()) {
        add_action( 'wpmu_activate_user', 'kleo_mu_pmpro_default_level', 10, 3);
    } else {
        add_action('user_register', 'kleo_pmpro_default_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: Translation contribution #5408
     SQadmin
    Keymaster

    Anyone care to send a translation? 🙂

    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: Restrict certain levels profile page. #5407
     SQadmin
    Keymaster

    Hi,
    I see what you mean by isn’t available by default.
    Hehe 🙂 If there are small things of functionalities that we consider it will help other people we try and give solutions.
    You can send us a list with what you want to accomplish and give you a quote.
    themesupport@seventhqueen.com

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

    Hi,
    Please wait for next theme update in about 1-2 weeks and will include this by default.

    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: Friend Request Notification Color #5403
     SQadmin
    Keymaster

    Hi, Add this css in WP admin – Sweetdate – Styling options – Quick css:

    COPY CODE
    
    .kleo-friends-req {
        background: #000000;
    }
    
    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 restrictions NOT working #5402
     SQadmin
    Keymaster

    That is really strange 🙂
    Give me a temporary admin user to the site please

    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 restrictions NOT working #5398
     SQadmin
    Keymaster

    There is a difference in the pictures you sent and what you first said and how we tested. You said RESTRICT CERTAIN LEVELS (Not logged in, Not members)

    We will conduct another test with your setting

    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: Quick Profile Navigation Showing Non-Registered Users #5397
     SQadmin
    Keymaster

    Hi, We did some changes to the code to support excluding users. Add this code to sweetdate-child/functions.php until next theme version:

    COPY CODE
    
    /**
     * Get next profile link
     * @param int $current_id Displayer user ID
     * @return string User link
     */
    function bp_next_profile($current_id)
    {
        global $wpdb;
    	
    	$extra = '';
    	$obj = new stdClass();
    	do_action_ref_array( 'bp_pre_user_query_construct', array( &$obj ) );
    	if ($obj->query_vars && $obj->query_vars['exclude'] && is_array($obj->query_vars['exclude']) && !empty($obj->query_vars['exclude']) ) {
    		$extra = " AND us.ID NOT IN (" .implode(",",$obj->query_vars['exclude']).")";
    	}
    	
        $sql = "SELECT MIN(us.ID) FROM ".$wpdb->base_prefix."users us"
    		. " JOIN ".$wpdb->base_prefix."bp_xprofile_data bp ON us.ID = bp.user_id"
    		." JOIN ". $wpdb->base_prefix . "usermeta um ON um.user_id = us.ID"
            . " WHERE um.meta_key = 'last_activity' AND us.ID > $current_id"
    		.$extra;
    
        if ($wpdb->get_var($sql) && $wpdb->get_var($sql) !== $current_id )
            return bp_core_get_user_domain( $wpdb->get_var($sql) );
        else 
    		return '#';
    }
    
    /**
     * Get previous profile link
     * @param int $current_id Displayer user ID
     * @return string User link
     */
    function bp_prev_profile($current_id)
    {
        global $wpdb;
    	
    	$extra = '';
    	$obj = new stdClass();
    	do_action_ref_array( 'bp_pre_user_query_construct', array( &$obj ) );
    	if ($obj->query_vars && $obj->query_vars['exclude'] && is_array($obj->query_vars['exclude']) && !empty($obj->query_vars['exclude']) ) {
    		$extra = " AND us.ID NOT IN (" .implode(",",$obj->query_vars['exclude']).")";
    	}
    	
        $sql = "SELECT MAX(us.ID) FROM ".$wpdb->base_prefix."users us"
    		. " JOIN ".$wpdb->base_prefix."bp_xprofile_data bp ON us.ID = bp.user_id"
    		." JOIN ". $wpdb->base_prefix . "usermeta um ON um.user_id = us.ID"
            ." WHERE um.meta_key = 'last_activity' AND us.ID < $current_id"
    		. $extra;
    	
        if ($wpdb->get_var($sql) && $wpdb->get_var($sql) !== $current_id)
            return bp_core_get_user_domain( $wpdb->get_var($sql) );
        else 
            return '#';
    }
    
    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 restrictions NOT working #5394
     SQadmin
    Keymaster

    We just tested and restrictions always apply.
    We created some test levels. Then in Sweetdate – Memberships – Restrict members directory – Certain levels – Checked: Not logged in, Not members

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

    Great. Glad we could help!

    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 - 841 through 880 (of 2,655 total)

Log in with your credentials

Forgot your details?