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: 25285

    Please upgrade to 1.0.2
    It fixes email and adds an option to use a different email for admin notification.

    Please do let me know if it works or not?

  • Keymaster
    (BuddyDev Team)
    Posts: 25285
    Brajesh Singh on in reply to: [Resolved] Google Maps for Groups #11115

    Hi Summer,
    Thank you for posting. I haven’t seen anything like this for BuddyPress.

    We are working on one, Things are a little bit out of order due to festive season here in India. we hope to atleast have a demo/prototype by the end of the month,

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25285
    Brajesh Singh on in reply to: BuddyPress Private Message Rate Limiter #11114
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25285

    Hi Mohamed,
    I am sorry for the delayed reply. We are sort on people due to festive seasons here.

    I am going to look and assist you further a bit later today.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25285
    Brajesh Singh on in reply to: Terms and Conditions on registration page #11112

    Hi Gert,
    Thank you.

    I am glad you have solved it.

    The simplest solution will be to store a version number instead of boolean(0,1).

    If you store a number say 1,2,3,4 etc for each version, you can check who have agreed to which version and not.

    Also, It should be transparent from the user. User just needs to see the checkbox but you can use the version number in update code like this

    
    
     $version = 1;// for now.
     update_user_meta($user_id, 'terms_of_service', $version)
    
    

    Hope that helps.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25285
    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: 25285
    Brajesh Singh on in reply to: Sitewide Activity Widget #11110
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25285
    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: 25285
    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: 25285
    Brajesh Singh on in reply to: Sitewide Activity Widget #11063

    Hi Jose,
    Welcome to BuddyDev.

    Are you using any activity privacy plugin?