BuddyDev

Search

[Resolved] Change members profile landing tab to a#public

  • Participant
    Level: Guru
    Posts: 967
    calu on #34998

    Hi Brajesh, I just migrated my site to another server, and not all settings are as the are on the old server.

    On my old site, the activity stream was not displayed on members profiles, and visitors landed on the a#public tab, showing the x-profile fields, not the a#activity tab, as it is on my new site.

    The problem is that I can’t remember how I achieved this, if it was a plugin or a code snippet, maybe supplied by you, can you help?

    Regards
    Carsten

  • Keymaster
    (BuddyDev Team)
    Posts: 21267
    Brajesh Singh on #35003

    Hi Carsten,
    Thank you for the question.

    You can put the following code

    
    
    define( 'BP_DEFAULT_COMPONENT', 'profile' );
    
    

    in the bp-custom.php

    Regards
    Brajesh

  • Participant
    Level: Guru
    Posts: 967
    calu on #35007

    Hi Brajesh, thanks for the code, it’s working perfectly!

    Regards
    Carsten

  • Keymaster
    (BuddyDev Team)
    Posts: 21267
    Brajesh Singh on #35038

    You are welcome.

The topic ‘ [Resolved] Change members profile landing tab to a#public’ is closed to new replies.

This topic is: resolved