BuddyDev

Search

Replies

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Submit Button on Register Page #34567

    Hello Mark,

    Welcome to the forum. Function with name “bp_core_screen_signup” handle the registration process. Please take a look and let me know if you need further help.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hello Alejandro,

    Thank you for posting. To get the type of group BuddyPress has a function with name ‘bp_groups_get_group_type’. Please take a took.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hello Gordon,

    Thank you for the acknowledgment.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hello,

    Thank you for the acknowledgment. Marking as resolved.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Badges size does not change #34545

    Hi Marcel,

    Thank you for your reply.

    Since we are scaling the images using CSS, Please make sure the scale factor is same. In other words, Please use a square image. They will look better. Also, I will recommend something like 128×128 size at most if we are going for 64px.

    Please let me know if that looks good or not.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hello,

    Thank you for posting. Try using the following code.

    
    
    /**
     * Exclude user posts
     *
     * @param WP_Query $query Query object.
     */
    function buddydev_exclude_user_posts( $query ) {
    
    	if ( ! is_main_site() || ! function_exists( 'buddyblog' ) ) {
    		return;
    	}
    
    	if ( ! $query->is_main_query() ) {
    		return;
    	}
    
    	$meta_query = $query->get( 'meta_query' );
    
    	if ( $meta_query ) {
    		$meta_query[] = array(
    			'key'     => '_is_buddyblog_post',
    			'value'   => 1,
    			'compare' => 'NOT EXISTS'
    		);
    	} else {
    		$meta_query = array(
    			array(
    				'key'     => '_is_buddyblog_post',
    				'value'   => 1,
    				'compare' => 'NOT EXISTS'
    			)
    		);
    	}
    
    	$query->set( 'meta_query', $meta_query );
    }
    add_action( 'pre_get_posts', 'buddydev_exclude_user_posts' );
    
    

    Let me know if it works or not.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Badges size does not change #34525

    Hello Marcel,

    Try using the following code.

    
    .bp-user-badges-badge-list img {
        width: 64px;
        height: 64px;
    }
    
    

    It will fix the issue

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] How to Disable all BuddyPress Emails via PHP #34524

    Hello Jkk,

    It will disable all WordPress emails.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Badges size does not change #34520

    Hello Marcel,

    I have tried above mentioned CSS rule with the kleo theme and it is working for me on directory page. Are you facing issue on members directory or single member page?.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] How to Disable all BuddyPress Emails via PHP #34516

    Hello Jkk,

    Try the following code.

    
    
    if ( ! function_exists( 'wp_mail' ) ) {
    	function wp_mail($to, $subject, $message, $headers = '', $attachments = array()) {}
    }
    
    

    Regards
    Ravi

    • This reply was modified 4 years, 8 months ago by Ravi.