Skip to:
Content
Pages
Categories
Search
Top
Bottom

ONBOARDING- Best Practices

Viewing 4 replies - 1 through 4 (of 4 total)

  • discoverearth
    Participant

    @discoverearth

    Hey
    I agree with you 100%. Buddypress onboarding needs some additional plugins.

    There is a plugin that allows users to choose groups they want to join as part of the signup Process.

    But we also need a better solution for profile fields.

    What was the buddydev plugin you used to redirect to profile after registration?


    coolhunt
    Participant

    @coolhunt

    @discoverearth

    I used a code-snippet

    add_filter( 'bp_login_redirect', 'bpdev_redirect_to_profile', 11, 3 );
     
    function bpdev_redirect_to_profile( $redirect_to_calculated, $redirect_url_specified, $user ){
     
        if( empty( $redirect_to_calculated ) )
            $redirect_to_calculated = admin_url();
     
        //if the user is not site admin,redirect to his/her profile
     
        if( isset( $user->ID) && ! is_super_admin( $user->ID ) )
            return bp_core_get_user_domain( $user->ID );
        else
            return $redirect_to_calculated; /*if site admin or not logged in,do not do anything much*/
     
    }

    That code-snippet goes in your theme function

    courtesy of @sbrajesh @buddydev


    keesjan
    Participant

    @keesjan


    Mahaprabhu
    Participant

    @mpcd108

    @coolhunt your desired list is good.

    did you make any progress in the onboarding ?

    anyone can help to make it a graded process maybe of onboarding, each time you login, you are coerced to fill certain details.

    Any other ideas on how to make a better registration process is welcome

    thank you !

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar