Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Mathieu Viet

    (@imath)

    Salut Nicolas,

    I’ll include this as an super admin option on my next upgrade of the plugin.

    Meanwhile, you can simply use this trick in the functions.php of your active theme :

    function siel_automaticaly_enable_buddydrive_for_new_groups( $group_id = 0 ) {
    	if( empty( $group_id ) )
    		return;
    
    	groups_update_groupmeta( $group_id, '_buddydrive_enabled', 1 );
    }
    
    add_action( 'groups_group_create_complete', 'siel_automaticaly_enable_buddydrive_for_new_groups', 10, 1 );

    Thread Starter sielwolf

    (@sielwolf)

    Merci imath,
    You’re always so efficient and conscientious !
    It works perfectly.
    This is a great tool, I hope this feature will be useful to others!

    That works. Awesome!

    Thanks for always being so responsive and helpful, imath!! BDD is really great.

    I agree that it would be great if enabling BDD were at least one of steps/options during the set-up of groups. Having to go in and enable it after the group is created is only slightly inconvenient, but looking forward to seeing the fix!

    I guess with the recent 1.1 update we no longer need this function in our theme’s functions.php file. Trimming down redundant code in functions.php is always a good thing.

    Thanks for an awesome update on a really cool plugin. I love the other changes that came with 1.1 too. Slugs and label name are my favourite customisation but I love that you added different storage quota settings for each role – even custom roles! This is one very happy camper.

    Merci!

    Plugin Contributor Mathieu Viet

    (@imath)

    Hello Vernon,

    you’re welcome ?? Glad you like the new features introduced in 1.1.

    great plugin!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Auto enable for group ?’ is closed to new replies.