Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • @assal0le

    Participant

    WordPress version: 4.8
    Buddypress version: 2.8.2

    @assal0le

    Participant

    thanks @henrywright that works great as I need 🙂

    @assal0le

    Participant

    Yes I got it, thx!

    @assal0le

    Participant

    Thanks it works!!

    @assal0le

    Participant

    In function.php which I should I use?

    function set_default_group( $user_id ) {
    	
    		groups_join_group( 1, $user_id );
    	
    }
    add_action( 'user_register', 'set_default_group', 10, 1 );

    or

    
    function set_default_group( $user_id ) {
    	
    		groups_join_group( 1, $user_id );
    
    }
    add_action( 'bp_core_activated_user', set_default_group', 10, 1 );

    @assal0le

    Participant

    Hai @danbp, can this plugin changes user’s role whenever the user has completes everything?

    For me to have quickly solve my issue, could you please show me some php code to cover this that I can use in order to solve my ploblem, please?

Viewing 6 replies - 1 through 6 (of 6 total)
Skip to toolbar