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: Display Member Type Label in Directory #11111

    Hi Darrin,
    Ravi is on leave, I am going to help you with this.

    Please put the following code in your bp-custom.php

    
    
    /**
     * Print the list of member types of the user in member directory.
     */
    function buddydev_show_member_type_labels() {
    	$user_id = bp_get_member_user_id();
    	if( ! $user_id ) {
    		return ;// It should never happen but in case someone put the ac
    	}
    
    	$member_types = bp_get_member_type( $user_id,  false );
    	if ( ! $member_types ) {
    		return;
    	}
    
    	$labels = array();
    	foreach ( $member_types as $member_type ) {
    		$mtype_object = bp_get_member_type_object( $member_type );
    		if ( ! $mtype_object ) {
    			continue;
    		}
    
    		$labels[] = $mtype_object->labels['singular_name'];
    	}
    
    	echo join( ', ', $labels );
    }
    add_action( 'bp_directory_members_item', 'buddydev_show_member_type_labels' );
    

    It will work for single/multiple both.

    You can modify it as you please.

    Hope that helps.
    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: Sitewide Activity Widget #11110
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: Load member user with ajax #11109

    Hi Rossini,
    Thank you for posting. A few other members want it too. I will fine some time this week and post the code. It is easy.

    Will post back after that.

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: Sitewide Activity Widget #11065

    Hi Jose,
    Can you please re enable everything and provide me a temporary subscriber account to check it.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: Sitewide Activity Widget #11063

    Hi Jose,
    Welcome to BuddyDev.

    Are you using any activity privacy plugin?

  • Keymaster
    (BuddyDev Team)
    Posts: 25509

    Hi Johan,
    My apologies for the delayed reply. Been a little bit away.

    I will look at description one more time and update you. If it is happening for all the fields, It is a theme issue. In BuddyPress 2.9, the field description is included with field and theme’s need to remove that code.

    Also, using multiple member type is fine. What I suggest is do not use multiple member type field.

    Create a single field with “Multi Member Type” and use it to allow users select multiple member type. It will allow easy synchronisation.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: [Resolved] BuddyPress Limit Friendship Issue #11059

    Hi Preethi,
    Please open a new topic with more details(version of wp/bp/theme) and I will assist promptly.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509

    Hi Clay,
    Thank you for purchasing the plugin.

    I will put an update today.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509

    Hi Johan,
    Thank you.
    I just had the look and the problem lies with your theme’s css.

    The selector

    #minimal-registration-container .thrive-register-fields-xprofile label
    

    Is positioned absolute and causing issue.

    If you add this

    
    #minimal-registration-container .thrive-register-fields-xprofile label {
    
    position: static !important;
    }
    
    

    In your css, It will fix the issue.

    I also noted that you are using multiple member type field. Please use only one member type field.

    Since you want your users to have multiple member type, I will suggest using “Multi Member Type field”

    Hope that helps.

    Regards
    Brajesh

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

    Hi,
    you don’t have to pay anything. I will either post the code here or add it to Rate Limiteer/other plugin. Please allow me 24-36 hours to put the changes.

    Thank you
    brajesh