Skip to:
Content
Pages
Categories
Search
Top
Bottom

Change first page shown for user profile

  • @raoul140

    Participant

    Hi,

    this is in response to a previous ticket. I asked how to modify the page that opens when we click on a profile name (for exemple, when we click on the name of an user who commented on a post). At the moment, the link opens the “Activity” page of that user. I would like it to show the “Profile” page of that user instead.

    I received for answer the following:

    you’d have to change template tags e.g. change default link to Member Activity Page to Member Profile page

    change
    “><?php bp_member_avatar(); ?>
    to
    ”><?php bp_member_avatar(); ?>

    change
    “><?php bp_member_name(); ?>
    to
    ”><?php bp_member_name(); ?>

    being a complete newbie, I have no idea where to make these changes, I’ve looked into the pluging .php files without success. Anyone able to help?

    PS: I am using BuddyPress 1.6.1 as part of a template called “reviewit”. ReviewIt is built as a BuddyPress/bbPress theme as far as i know.

    PPS: domain name = http://www.horroronscreen.com

Viewing 1 replies (of 1 total)
  • @shanebp

    Moderator

    Try putting this in your wp-config.php file:

    define( 'BP_DEFAULT_COMPONENT', 'profile' );

Viewing 1 replies (of 1 total)
  • The topic ‘Change first page shown for user profile’ is closed to new replies.
Skip to toolbar