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

    Hi Johan,
    Thank you for purchasing the plugin. I just checked and here is what it looks to me

    https://i.imgur.com/wD5XWkk.png
    https://i.imgur.com/6dcpRI7.png

    The only thing I see missing is the field description(which BuddyPress 2.9 has moved to the field implementation instead of the theme). We kept that away to support existing theme. I am going to add the test for 2.9 and the description today.

    AS for your question:- Is there a chance that you are using multiple member type fields? If yes, we do not recommend it. It won’t have any issue in showing the field. The problem will be synchronizing/updating the field to the user’s actual member type.

    https://buddydev.com/docs/guides/plugins/buddypress-plugins/buddypress-member-types-pro/creating-buddypress-member-type-profile-fields/

    Is there any reason you can not use single member type field(multi option or single option).

    Please let me know and I will assist further.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: BuddyPress Moderation – Report Users/Groups #11044

    Hi Matthias,
    It is on our radar for future. No ETA as of now though.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: Profile visibility last activity #11043

    Hi,
    I am sorry I forgot to reply.

    Please put this code in your bp-custom.php

    
    // Hide activity of the user from directory, and single
    function buddydev_hide_activity_conditions( $where_conditions, $args ) {
    
    	if ( ! function_exists( 'bp_profile_visibility_manager' ) ) {
    		return $where_conditions;
    	}
    
    	// Do not hide on user profile.
    	if ( ! bp_is_user() ) { // change it to bp_is_my_profile() to only show for the user.
    		$sql_hidden         = bp_profile_visibility_manager()->get_users_sql( 'bp_profile_visibility', 'self' );
    		$where_conditions[] = "a.user_id NOT IN ({$sql_hidden})";
    	}
    
    	return $where_conditions;
    }
    
    add_filter( 'bp_activity_get_where_conditions', 'buddydev_hide_activity_conditions', 10, 2 );
    
    

    Please feel free to customize it as needed.

    Hope it helps.
    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: BuddyPress Private Message Rate Limiter #11042

    Hi amv,
    Is there a chance that you were logged in as super admin while testing the plugin.

    The plugin does not apply any limit when the message sender is super admin.

    For limit to admin, this plugin is not suitable for that purpose. This plugin is mostly aimed at restricting message flooding.

    We do have the message privacy plugin that partially does the job. The problem is that plugin does not have an option to disable the settings for users yet.

    If you want, I can post some code that will allow admin only message. Please do note that it won’t work with the Rate limiter plugin.

    Please let me know and I will do the needful.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: Display Bp Featured Member on template #11039

    Hi Edwrd,
    Welcome to BuddyDev.

    The simplest way will be to use the shortcode. Using shortcode is much more flexible(options).

    for template(using php), there is no better way than this.

    Hope that helps.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: [Resolved] BP anonymous activity NOT working. #11036

    Closed the other topic. Closing it too now.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: [Resolved] BP anonymous activity NOT working. #11034

    Closing it and marking as resolved in favour of
    https://buddydev.com/support/forums/topic/bp-anonymous-activity-not-working-2/

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: [Resolved] BP anonymous activity NOT working. #11033

    You are welcome. Thank you for marking it as resolved.

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: [Resolved] BP anonymous activity NOT working. #11031

    Thank you.
    We can easily do that using the following code

    
    <?php if ( ! bp_is_anonymous_activity( bp_get_activity_id() ) || is_super_admin() ) : ?>
    	<?php $member_id = bp_get_activity_user_id();
    	echo '<div class="name">' . bp_core_get_user_displayname( $member_id ) . '</div>';
    	echo '<div class="nice-name">@' . bp_core_get_username( $member_id ) . '</div>';
    	?>
    <?php endif ;?>
    
    

    Hope it works for you.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: [Resolved] BP anonymous activity NOT working. #11029

    Hi,
    Sorry for my presumption.

    Please use the following code.

    
    <?php if ( ! bp_is_anonymous_activity( bp_get_activity_id() ) ) : ?>
    	<?php $member_id = bp_get_activity_user_id();
    	echo '<div class="name">' . bp_core_get_user_displayname( $member_id ) . '</div>';
    	echo '<div class="nice-name">@' . bp_core_get_username( $member_id ) . '</div>';
    	?>
    <?php endif ;?>
    

    I will only display the @ name for the non anonymous activity.

    Hope that helps.
    PS:- Please do not copy the code from the mail. Copy it from here on forum. The text sent on email is encoded and will cause problem.

    Regards
    Brajesh