BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25218
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25218

    Hi Alayna,
    They are using bbPres ajax reply plugin.

    Here is the link to the plugin
    https://github.com/aliso/bbpress-ajax-replies

    Please do note that it will work if you have threaded comments enabled.

    Hope that helps.
    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25218
    Brajesh Singh on in reply to: Edit Blog Post layout #3665

    Hi Brendan,
    There are many I have seen in the past. I don’t have any particular choice. It will be nice to know your preference and provide a way to have it.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25218

    Hi Ada,
    Thank you. I have made a few more changes in the above function. This should finally do our job. Please check if it works or not?

    
    
    function bcg_custom_forms_args( $args ) {
    
    	$tax = $args['tax'];
    
    	unset( $tax['category'] );//we don't need a box for category
    
    	foreach( $tax as $taxonomy => $details ) {
    		$tax[$taxonomy]['include'] = get_terms( $taxonomy, array('fields' => 'ids', 'get' => 'all') );
    	}
    
    	$args['tax'] = $tax;
    
    	$cusom_fields = isset( $args['custom_fields'] ) ? $args['custom_fields']: array() ;
    
    	$group = groups_get_current_group();
    
    	if( empty( $group ) || empty( $group->id ) ) {
    		return $args;
    	}
    
    	$cats = bcg_get_categories( $group->id );
    	//if there is no category set
    	if( empty( $cats ) ) {
    		//create if not exists
    		$cats = bcg_custom_create_group_category( $group );
    	}
    
    	if ( empty( $cats ) ) {
    		return $args;
    	}
    
    	$cusom_fields['_bcg_selected_category'] = array(
    		'type'      => 'hidden',
    		'default'   => $cats[0],
    		'label'     => ''
    	);
    
    	$args['custom_fields'] = $cusom_fields;
    	$args['post_status'] = 'publish';
    
    	return $args;
    }
    add_filter( 'bcg_form_args', 'bcg_custom_forms_args' );
    
    

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25218

    Thank you. will update with the code in next 1-2 hours.

  • Keymaster
    (BuddyDev Team)
    Posts: 25218
    Brajesh Singh on in reply to: Media Upload to a Group from User Activity Stream #3655

    Hi Leo,
    It is not impossible one. It is related to physically moving files to make sure the quotas for users/groups reflect correctly. I am a little bit busy with some other important changes, that’s why it is delayed. It will be available in next 2 weeks for sure.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25218
    Brajesh Singh on in reply to: Change Who's Online to Friend only #3654
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25218

    Hi James,
    Thank you for the kind words. I am glad we were able to help.
    All the best with your project.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25218

    Hi Horton,
    Just wanted to give you another update.

    1.The bug seems to be with BuddyPress. Have been trying to debug it and it seems it lies with the way BuddyPress provides theme compatibility. Try posting the shortcode to activity and see if it works or not?

    2. I am trying to find a reason for this and will update again and open a ticket on BuddyPress track. If you want me to allow html content in the description, please do let me know, I can easily allow that. It is controlled by MediaPress.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25218
    Brajesh Singh on in reply to: Edit Blog Post layout #3648

    Hi Brendan,
    Thank you for posting. Can you please point me to the plugin you are using to restrict categories. I will need to add compatibility for the specific plugin to make it work together.

    Thank you
    Brajesh