New
PeoplePress is here. Community building for WordPress, reimagined. Fast, modern, and built for the communities you've always wanted to run.
See it live

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: change in post permalink structure #44195

    Hi Tosin,
    Thank you.
    It seems fine but most of the code is not even necessary. There is no need to rewrite the attachment/feeds etc.

    also, if you change the permalink in WordPress, the front value only affects other post types(custom post types) when with front is true. If you have only limited number of custom post types and you have control over how they are being registered, you can simply add rewrite=>array( ‘with_front’ => false)

    This approach will be much suited if you have control over registered post type.

    If the post types are being registered by 3rd party plugins, you may keep the above code insead.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509

    Hi Carsten,
    Thank you.

    Please do keep me informed.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: BuddyPress Profanity Filter extended functionality #44186

    Hi Cristi,
    Thank you for the question.

    We don’t have experience with that plugin. Our plugin does offer an API to filter any content.

    You can use the following method to get the filtered content

    
    $filtered_content = bp_profanity_filter_get_parsed_content( "the content to be filtered" );
    

    You may get help from the plugin’s support in using that function and filtering the content.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509

    Hi Giuseppe,
    You can dd the following code to redirect to site home.

    
    // redirect to site home when auto logging after activation.
    add_filter( 'bpdev_autoactivate_redirect_url', function ( $url ) {
    	return home_url();
    } );
    

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509

    Hi Carsten,
    Thank you for posting.

    I had a look and I am unable to find a reason.

    1. The user list in header only shows limited number of entries(5 by default). You can control that from the plugin settings. can you please check if it is set to 3?

    2. The members loop(directory/profile loop) gets affected by other code or plugins hiding users as they are standard BuddyPress.

    Please test the plugin on a default installation with any BuddyPress template pack and default WordPress theme without other codes/plugins.

    After that, you can try adding the plugins/code and if you are able to find the conflict, Please let me know.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509

    Hi Nancy,
    Thank you for the question.
    I am sorry, I could not assist earlier.

    By default, BuddyPress does not add any distinguishing classes for specific member type.

    You may add following code in your child theme’s functions.php or in wp-content/plugins/bp-custom.php or use a snippet manager to add it.

    
    /**
     * Appends bp-member-type-{member-type-id} to body.
     */
    add_filter( 'bp_get_the_body_class', function ( $classes ) {
    
    	if ( ! bp_is_members_directory() ) {
    		return $classes;
    	}
    
    	$member_type = bp_get_current_member_type();
    
    	if ( $member_type ) {
    		array_push( $classes, 'bp-member-type-' . esc_attr( $member_type ) );
    	}
    
    	return $classes;
    } );
    
    

    It will append a class specific to each member type on the member directory.

    For example, for ‘teacher’, the class will be ‘.bp-member-type-teachers’ and do on.

    Hope that helps.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509

    Hi Scoob,
    Thank you.
    We will be pushing the update next week around 4th/5th April.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509

    Thank you for confirming.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509

    Hi Giuseppe,
    Thank you for the question.

    You can use auto login on activation plugin(free) and it will help you achieve the same result.

    https://buddydev.com/plugins/bp-autologin-on-activation/

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: setting #44162

    Hi Avromy,

    Thank you for purchasing from us.

    Please visit dashboard->BP Profile Visibility Manager

    and you can manage/update the default settings there.

    Please let me know if you are able to access it.

    Regards
    Brajesh