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

    Hi Gert,
    It is feasible and we have done it in past.
    For now, I will suggest waiting for 4-7 days as we may have next version that allows it out of the box. We are also including the login/forget password support too.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25407
    Brajesh Singh on in reply to: [Resolved] Remove buddyblog "Posts" link in menu #11314

    Hi Janelle,
    Are you referring to the adminbar or the profile menu? Can you please put a screenshot and link here?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25407

    Hi Mohamed,
    here is the code that we use(similar to this)

    
    function buddydev_update_activity_args_on_publish( $args ) {
    
    	if ( $args['component'] !== 'blogs' || $args['type'] !== 'new_blog_post' ) {
    		// change type to yours.
    		return $args;
    	}
    	// It must be post publish. let us check for the post meta.
    	// check if this was saved via BCG.
    	$post_id  = $args['secondary_item_id'];
    	$group_id = get_post_meta( $post_id, '_bcg_group_id', true );
    
    	if ( ! $group_id ) {
    		return;
    	}
    
    	$args['component'] = 'groups';
    	$args['item_id']   = absint( $group_id );
    
    	return $args;
    }
    
    add_action( 'bp_after_activity_add_parse_args', 'buddydev_update_activity_args_on_publish' );
    
    

    You can change this

    
    
    $args['type'] !== 'new_blog_post'
    

    and replace ‘new_blog_post’ with your activity type.

    And it will work. You can put the above code in your bp-custom.php

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25407
    Brajesh Singh on in reply to: BP MagicVersion: 1.3.0 Feedback #11310

    Hi Thomas,
    My apologies for the delayed reply.

    We will need a few days before we can assist you on this. Things are a bit delayed at the moment since we have just resumed the work after a week of holidays and currently clearing the backlog.

    Thank you
    Brajesh

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

    Hi Thomas,
    Thank you.
    We will update it in next 2-3 days. Things are a bit delayed at the moment since we have just resumed the work after a week of holidays.

    Will update before the weekend and message you.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25407
    Brajesh Singh on in reply to: "BuddyPress Deactivate Account" email notification #11307

    Hi Margarita,
    For now,
    Please open “WCDFE.php” in the wp-change-default-email plugin

    and change line 64 from

    
    add_action( 'init', array(&$this, 'init' ));
    
    

    to

    
    
    $this->init();
    

    That should do it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25407

    Thank you Margarita. Glad we have finally resolved it 🙂

  • Keymaster
    (BuddyDev Team)
    Posts: 25407

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

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

    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