Skip to:
Content
Pages
Categories
Search
Top
Bottom

define BP_DEFAULT_COMPONENT not working

  • Profile photo of Tiptap
    tiptap
    Participant

    @tiptap

    Hey im trying to get the below working;

    define( ‘BP_DEFAULT_COMPONENT’, $bp->default_component = ‘profile’ );

    I’ve added this to functions.php (didnt work) and also added it to wp-config.php and it still didnt work.

    It still uses activity as the default component where as i want profile to be the default.

    any ideas how to get this working?

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Profile photo of Paul Gibbs
    Paul Gibbs
    Keymaster

    @djpaul

    define( 'BP_DEFAULT_COMPONENT', 'profile' );

    Profile photo of Tiptap
    tiptap
    Participant

    @tiptap

    Paul, I tried that and still no joy.

    I added it to the bottom of wp-config.php and still it jumps to activity.

    Is there any reason why this wouldnt work?

    Cheers

    Profile photo of Tiptap
    tiptap
    Participant

    @tiptap

    Ahhh moving it to the top worked.

    Thanks Paul

    Profile photo of Paul Gibbs
    Paul Gibbs
    Keymaster

    @djpaul

    cool

    Profile photo of Gangesh Matta
    Gangesh Matta
    Participant

    @gangesh

    it works well,
    what if need is to jump to some specific nav like edit-profile under profile tab?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘define BP_DEFAULT_COMPONENT not working’ is closed to new replies.