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: 25358
    Brajesh Singh on in reply to: Lightbox does not show images. #31853

    Hi,
    I had a look and I do see that the preloader does not work with inline content.

    The problem is inline content loads immediately and it is the image inside the content which takes time to load.

    Currently, I am not seeing any direct way other than implementing our own loading indicator for image(something like lazy loading).

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25358
    Brajesh Singh on in reply to: [Resolved] Change plugin folder url #31852

    Please copy the contents from “community/buddypress” and move to “community/” and they will work.
    For example, activity goes to community/activity.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25358

    Please share exact version of WordPress/BuddyPress and OS(Android/IOS), Browser details.

    Also, Please tell me which page did it happen? Are you able to see the same on MediaPress demos site?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25358
    Brajesh Singh on in reply to: Community Builder Pro #31846

    Hi Theo,
    Thank you for the reply.

    The BuddyPress Better Message works fine with Community Builder/Community Builder pro.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25358

    The plugin was meant for a multisite(WordPress MU at that time) where if a user logged out from a sub site, they would be redirected to the main site’s home page. It should have no effect on normal WordPress install.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25358

    Hi Carsten,
    Thank you for the question.

    The logout redirect is for WordPress multisite. It doe snot redirect to profile. The description is incorrect.

    Please use Login redirect instead.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25358
  • Keymaster
    (BuddyDev Team)
    Posts: 25358
    Brajesh Singh on in reply to: Different Member Types, Different Display Names #31833

    Hi RES,
    Thank you for the question.

    It is a simple customization. you can do it with a couple of lines of code.

    I will rephrase your question and share the code.

    Here is the code that will show nice name for all users except the teacher(for them, let the full name work).

    
    
    /**
     * Filter Display Name.
     */
    add_filter( 'bp_core_get_user_displayname', function ( $name, $user_id ) {
    	if ( ! bp_has_member_type( $user_id, 'teacher' ) ) {
    		$name = bp_members_get_user_nicename( $user_id );
    	}
    
    	return $name;
    }, 10, 2 );
    
    /**
     * Filter Displayed User full name for BuddyPress.
     */
    add_filter( 'bp_displayed_user_fullname', function ( $name ) {
    	if ( ! bp_has_member_type( bp_displayed_user_id(), 'teacher' ) ) {
    		$name = bp_members_get_user_nicename( bp_displayed_user_id() );
    	}
    
    	return $name;
    } );
    
    

    You can put it in bp-custom.php in plugins directory or functions.php of your theme.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25358

    Hi Tosin,
    Thank you for the suggestion. It will be available as part of our upcoming release this week.

    I will post back after the release.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25358

    Hi Tosin,
    Thank you for the suggestion.

    I am not sure if we should do it as an option since Confirm Action is a different plugin. We have an update of BuddyPress Block User this week and I will let you know how to achieve this after the release(may be adding some code to enable it).

    Thank you
    Brajesh