BuddyDev

Search

Replies

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

    Hello Jones,

    Thank you for using the plugin. Please try the following code in your bp-custom.php file and let me know if it works or not.

    
    
    function buddydev_filter_featured_members_type( $args ) {
    
    	if ( ! function_exists( 'bp_featured_members' ) ) {
    		$args;
    	}
    
    	// our scope must be featured.
    	if ( bp_featured_members()->in_the_loop() || ( isset( $args['scope'] ) && $args['scope'] == 'featured' ) ) {
    		$args['type'] = 'random';
    	}
    
    	return $args;
    }
    
    add_filter( 'bp_after_has_members_parse_args', 'buddydev_filter_featured_members_type' );
    
    

    Thank You
    Ravi

    • This reply was modified 6 years, 6 months ago by Ravi.
  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Branded login: headers already sent error #19823

    Hello Hugo,

    I have checked the plugin on my local server and it is working fine for me. Please let me which login page throwing this error. Is it login page assigned to login component or default WordPress login page you are trying to login.
    Also, there might be a chance that some other plugin or theme conflicting with this to check to deactivate all other plugins except BuddyPress and switched to default theme and check if the issue still persists or not.

    Thank You
    Ravi

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

    Hello Bin,

    Thank you for the acknowledgment. Please remove the previous code and use the following code. It will work. Please let me know if there is an issue.

    
    /**
     * Filter categories on group create screen
     *
     * @param array $args       An array of get_terms() arguments.
     * @param array $taxonomies An array of taxonomies.
     *
     * @return array
     */
    function buddydev_bcg_filter_categories( $args, $taxonomies ) {
    
    	if ( ! function_exists( 'buddypress' ) || ! bp_is_active( 'groups' ) ) {
    		return $args;
    	}
    
    	if ( bp_is_group_creation_step( 'blog-categories' ) || bp_is_group_admin_screen( 'blog-categories' ) ) {
    		// Replace category ids with your category ids you want to show from the page.
    		$args['include'] = array( 33, 35 );
    	}
    
    	return $args;
    }
    
    add_filter( 'get_terms_args', 'buddydev_bcg_filter_categories', 10, 2 );
    
    

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Latest upgrade to BCFG brought down my server #19736

    Thank You for acknowledgment.

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Latest upgrade to BCFG brought down my server #19734

    Hello George,

    Sorry, I took things differently. The plugin still works even if you don’t have BP Simple Frontend plugin active and Make plugin completely dependent over Simple Frontend. But I have fixed the bug in the latest version. Please download the latest version.

    Sorry for the inconvenience.

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Latest upgrade to BCFG brought down my server #19732

    Hello George,

    Sorry for the inconvenience. But it seems you have deactivated BuddyPress Groups module or BuddyPress Simple Frontend plugin missing. This is the only case plugin throwing this error. But this is a bug of the plugin and I have fixed this by the newer version. Please download the latest version of the plugin. Please let me know if there is an issue or not.

    Plugin Url: https://buddydev.com/plugins/blog-categories-for-groups/

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Question about Blog Categories For Groups setting #19706

    Hello Bin,

    Thank you for posting. It can be done easily. Please use the following code in your “bp-custom.php” file and let me know if it works or not.

    
    /**
     * Filter categories on group create screen
     *
     * @param array $args       An array of get_terms() arguments.
     * @param array $taxonomies An array of taxonomies.
     *
     * @return array
     */
    function buddydev_filter_categories_on_group_create_screen( $args, $taxonomies ) {
    
    	if ( ! function_exists( 'buddypress' ) || ! bp_is_active( 'groups' ) || ! bp_is_group_creation_step( 'blog-categories' ) ) {
    		return $args;
    	}
    	// Replace category ids with your category ids you want to show from the page.
    	$args['include'] = array( 33, 35 );
    
    	return $args;
    }
    
    add_filter( 'get_terms_args', 'buddydev_filter_categories_on_group_create_screen', 10, 2 );
    

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: customize email notification #19675

    Hello Mike,

    We have updated the plugin. Now you can modify email from Emails menu in the backend. Please let me know if it works or not. Please download the latest version of the plugin.

    https://buddydev.com/plugins/recent-visitors-for-buddypress-profile/

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Translation issue with plugin "BuddyPress User Circles" v1.0.2 #19674

    Hello Thorsten Wollenhöfer,

    I have added German translation file to the plugin. Please download the latest plugin version and let me know if it works or not.

    Thank You
    Ravi

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

    Hello Panos,

    Thank you for the acknowledgment.

    Regards
    Ravi