Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25392
    Brajesh Singh on in reply to: Issues with registration member types. #45586

    Thank you Ethan.
    I will look into it in the day tomorrow and get back to you.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25392
    Brajesh Singh on in reply to: Move buddypress settings to a custom page #45585

    Hi Tosin,
    Thank you for the question.

    It is difficult to have a standalone page. A better option to do will be to hide the member header on the settings page. That will give you the same experience.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25392
    Brajesh Singh on in reply to: Suggestion of making a newsletter #45584

    Hi Carsten,
    Thank you for the suggestions.

    We had some newsletter in the pas but that was discontinued.

    It will be awesome to have it back. I will be adding a newsletter option to the site this weekend.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25392
    Brajesh Singh on in reply to: buddyblog medium editor not displaying embeds #45582

    Hi Tosin,
    We will push the solution early next week.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25392

    Hi Amit,
    Thank you for the reply.
    I am glad it is working.

    Do you want the comments to have attachment?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25392

    Hi,
    Please contact BuddyBoss for the select issue. It seems to be very specific to their platform/theme.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25392
    Brajesh Singh on in reply to: Profile visiblity #45578

    Hi,
    Thank you for purchasing from us.
    I am, sorry for the delayed reply.

    We will certainly add the option t have privacy for forums tab.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25392

    Hi Tosin,
    Ravi has worked on it and the code is under review. Please expect it to be available by next week.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25392

    Hi Fabian,
    I am sorry for the delaye.

    Please use the following code and you can specify the field ids to be excluded.

    
    
    /**
     * Filter display of BP Profile search form fields by role.
     */
    function buddydev_enable_conditional_profile_search_form_fields( $form ) {
    
    	if ( ! is_user_logged_in() ) {
    		return $form;// update as you need. we are not restricting.
    	}
    
    	// Use comma separated field ids to exclude for the given role.
    	$roles_excluded_fields = array(
    		'subscriber'    => array(1,3),
    		'contributor'   => array(),
    		'author'        => array(),
    		'editor'        => array(),
    		'administrator' => array( ),
    	);
    
    	// I am assuming that user has only one role.
    	$role            = current( wp_get_current_user()->roles );
    	$excluded_fields = isset( $roles_excluded_fields[ $role ] ) ? $roles_excluded_fields[ $role ] : array();
    
    	if ( empty( $excluded_fields ) ) {
    		return $form;
    	}
    
    	for ( $i = 0; $i < count( $form->fields ); $i ++ ) {
    		if ( empty( $form->fields[ $i ] ) || empty( $form->fields[ $i ]->id ) ) {
    			continue;
    		}
    		if ( in_array( $form->fields[ $i ]->id, $excluded_fields ) ) {
    			unset( $form->fields[ $i ] );
    		}
    	}
    }
    add_action( 'bps_before_search_form', 'buddydev_enable_conditional_profile_search_form_fields' );
    add_action( 'bps_before_filters', 'buddydev_enable_conditional_profile_search_form_fields' );
    
    

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25392
    Brajesh Singh on in reply to: [Resolved] Remove activity filter option #45555

    Hi Tosin,
    Thank you for the confirmation.

    I am sorry, I am not familiar with that plugin.
    You may want to approach the author for help.

    Regards
    Brajesh