[Resolved] Buddypress 404 error

  • Participant
    Level: Enlightened
    Posts: 40
    Jaume Aragay on #5411

    Hi there!

    I want to suppress the whole Activity tab and Make the Profile the default tab. I’ve found code to do that but then I get a 404 error page when I click on a user’s link.

    This is the code I’ve found:

    /* *** */

    /* Remove Activity tab from profile */

    define( ‘BP_DEFAULT_COMPONENT’, ‘profile’ ); // Triem nova pestanya per defecte

    function bphelp_remove_activity_from_profile(){


    /* *** */

    Is there something wrong or missing?

    Thanks in advance.


  • Participant
    Level: Enlightened
    Posts: 40
    Jaume Aragay on #5414


    There was a problem with the proper characters: instead of ‘ they had to be ‘.

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 2935
    Ravi on #5415

    Hi Jaume,

    Thank you for the acknowledgement. I an glad that Issue is resolved by your own.

    Thank You

    • This reply was modified 7 years, 7 months ago by Ravi.

You must be logged in to reply to this topic.

This topic is: resolved