This topic has 3 replies, 2 voices, and was last updated 9 years by Laura.

  • Author
  • #82761
     MexResorts
    Participant

    Hi,

    When you visit someone elses profile it shows the activity stream for that person. How do I go about making it show the profile instead?

    Example: It lands on: http://cambodianmatch.com/members/honey69/ (password is match420 for the site)
    And I want it to land on: http://cambodianmatch.com/members/honey69/profile/ so the first thing you see is all the persons information, not activity.

    #82896
     Laura
    Moderator

    Hello, please try by adding this to bp-custom.php in plugins folder

    COPY CODE
    
    /**
     * Change BuddyPress default Members landing tab.
     */
    define('BP_DEFAULT_COMPONENT', 'profile' );
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #82941
     MexResorts
    Participant

    Hi,

    Thank you for your quick reply. I inserted this but it causes an error and the site now loads a blan k page even after taking it out. This is what the error log says:

    [17-Oct-2015 14:53:26] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/cambodianmatch/public_html/wp-content/plugins/bp-custom.php:25) in /home/cambodianmatch/public_html/wp-includes/pluggable.php on line 1207

    Do you know why?
    Best,
    Michael

    #83071
     Laura
    Moderator

    Hello, can you share ftp so i can add it for you? 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

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

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?