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

  • Keymaster
    (BuddyDev Team)
    Posts: 25285

    Thank you. Marking it as resolved.

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

    We will need to rewrite that. I will break it into two functions and post back today.

    Thank you
    brajesh

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

    Hi Aldo,
    I am sorry, I haven’t been very responsive on this. The work on BuddyBlog has been on going but not finalized it.
    I worked on it a week ago to cleanup and restructure things which you might see there
    https://github.com/sbrajesh/buddyblog/commits/master

    My goal is to make it independent of the simple front end post, allow draft, moderation, bookmarking and support for multiple post types(this one may not come in the next release).

    It is much more than a minor update and is taking some time. I will try to do as many of the above items feasible in next 3 days and release an update. Can take care of the rest in later releases.

    Thank you
    Brajesh

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

    Hi Sheraton,
    Thank you for purchasing.

    That is the goal of the plugin to restrict friendship if the limit reaches. If the user wants to accept an already pending friendship, they will need to go below the limit by unfriending users.

    If that is not happening, please open a new topic here.

    About free plugins, The free plugins( most of them) get regular updates. You can check that at the bottom of the plugin page when they were last updated. I will put a page on our site to list the recently updated plugins to help our members.
    I will put it before the weekend(will be available under plugins menu).


    @Jose
    ,
    Thank you.
    I have received your details. It’s diwali here so I haven’t been working. Will check in the late night and update you.

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

    you are welcome.
    Please make sure to disable message rate limiter plugin before testing it.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25285

    Please upgrade to 1.0.2

    It fixes the notification issue.
    Also, I am sorry that I could not understood your issue. I was looking at wrong places with ambiguous data.

    Please upgrade and it will work.

    regards
    Brajesh