👻 Halloween Treat: Our biggest-ever 25% OFF memberships — use SPOOKYSOCIAL before Nov 3! 🎃

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25200

    Hi Ada,
    Thank you for the kind words. I am glad we have finally got it working.

    Have always appreciated your support. All the best with your project.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25200

    Hi Romanzy,
    The updates are available from WordPress.org now.

    Thank you. Marking it as resolved.

  • Keymaster
    (BuddyDev Team)
    Posts: 25200

    Hi,
    I updated the plugin last week and pushed on github. Just forgot to push it on WordPress.org and BuddyDev. will do today and message you back.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25200
    Brajesh Singh on in reply to: Conditional Fields plugin won't activate #3675

    Hi Paul,
    I just tested it on WordPress 4.5 and BuddyPress 2.5.2. The plugin activates and works fine.

    The strange part is if it is getting deactivated, It should have given you atleast some error message.

    Can you please provide me temporary access to your admin dashboard. I will be happy to look there to see what is going on. My email is brajesh@buddydev.com

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25200
    Brajesh Singh on in reply to: Conditional Fields plugin won't activate #3674

    Hi Paul,
    I am sorry for the inconvenience.
    It seems a very strange behavior. Please give me 5 minutes to verify and I will get back to you.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25200

    Hi Chris,
    Welcome to BuddyDev.

    Please put the following code in your bp-custom.php

    
    function buddydev_set_bp_email_from( $from, $email_address, $name ) {
    	
    	$from = new BP_Email_Recipient( 'name@sitedomain.com', $name );
    	
    	return $from;
    }
    
    add_filter( 'bp_email_set_from', 'buddydev_set_bp_email_from', 10, 3 );
    
    

    Please do let me know if it works for you or not?

    Thank you
    Brajesh

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

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

    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