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

    Thank you Margarita. Glad we have finally resolved it 🙂

  • Keymaster
    (BuddyDev Team)
    Posts: 25384

    The reason is your activity type for the generated activity is not “new_blog_post” . We filter on this type to set the groups component

    Thank you for the email and I have seen that you are using a different type. I will send you some guideline tonight or tomorrow to how to get it working with your custom code.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384

    Hi Mohamed,
    I have marked your reply as private since it contained the email address. Also, have sent you the plugin.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384

    There was an issue and i have managed to get it work. Before going for release, I want to cleanup a few more things.

    If you need it urgently, please let me know and I will send a copy via email. Also, I haven’t tested it with the CPT but post(They should be same), so your feedback will help.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384
    Brajesh Singh on in reply to: Error when activating Buddyblog #11271

    Thank you.

  • Keymaster
    (BuddyDev Team)
    Posts: 25384

    Hi,
    We do have a converter for the older version of MediaPress.

    I will ask one of our teammate to try and check if it works. Its festive holidays here(I am working but my team is on leave), so please remind me next week and we can assist you with it.

    PS:- Any idea how many media files are there?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384
    Brajesh Singh on in reply to: Posting date is incorrect #11269

    Hi Thomas,
    Thank you for posting.

    I am glad the first bug was fixed. What is the /strong function. Please help me understand and I will assist you.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384
    Brajesh Singh on in reply to: Next link on user blogs #11268

    Hi Joseph,
    I am sorry but I am not able to produce it. Which version of BuddyBlog are you using? It should not redirect to your own page.

    Please let me know your version and I may have a better idea.

  • Keymaster
    (BuddyDev Team)
    Posts: 25384
    Brajesh Singh on in reply to: Display Member Type Label in Directory #11267

    Hi Darrin,
    Please remove the old code and use this. It shows for both the displayed user as well as the directory item.

    
    /**
     * Get an array of member type labels based on member types.
     *
     * @param array $member_types member types.
     *
     * @return array
     */
    function buddydev_get_member_type_labels( $member_types ) {
    
    	$labels = array();
    	if ( ! $member_types ) {
    		return $labels;
    	}
    	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'];
    	}
    
    	return $labels;
    }
    
    /**
     * 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
    	}
    
    	$labels = buddydev_get_member_type_labels( bp_get_member_type( $user_id, false ) );
    
    	echo join( ', ', $labels );
    }
    
    add_action( 'bp_directory_members_item', 'buddydev_show_member_type_labels' );
    
    function buddydev_show_member_type_for_displayed_user() {
    	if ( ! bp_is_user() ) {
    		return; // just a safeguard, it should never happen.
    	}
    
    	$user_id = bp_displayed_user_id();
    	$labels  = buddydev_get_member_type_labels( bp_get_member_type( $user_id, false ) );
    
    	echo join( ', ', $labels );
    }
    
    add_action( 'bp_member_header_actions', 'buddydev_show_member_type_for_displayed_user' );
    
    

    Hope that helps.
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384
    Brajesh Singh on in reply to: Error when activating Buddyblog #11197

    Hi Aldo,
    I am concerned on one thing and your suggestion may help here.
    Should we create a main tab for each of the post type? That seems more clean to me. What do you suggest?