Skip to:
Content
Pages
Categories
Search
Top
Bottom

Linking user avatar to user profile page

  • @binutz

    Participant

    Is it possible to link member avatar to their respective profiles in the members page? By default,member avatar is linked to their activity updates. I would like to get the users redirected to member’s profile page, when they click on a member avatar.
    I am using WP.version 3.4.2 & B P.1.6.2 with BP Default Theme.
    Thanks
    Binu

Viewing 2 replies - 1 through 2 (of 2 total)
  • @bphelp

    Participant

    @binutz
    Add the below code to bp-custom.php reference:
    https://codex.buddypress.org/plugindev/bp-custom-php/

    
    define( 'BP_DEFAULT_COMPONENT', 'profile' );
    

    @binutz

    Participant

    Thank you for the response. I created a file named bp-custom.php in the plugin folder and added the code specified above into it. Unfortunately,it didn’t work!
    However,it works when I add the same code into wp-config.php file.
    Only issue that I find with this method is that it always redirects the logged in users to profile page bypassing the activity update. I would like to be redirected to activity updates after loging in. All I need is to show up the profile page when the profile avatar or the user name is clicked ,in the Members page. Can it be done anyway?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Linking user avatar to user profile page’ is closed to new replies.
Skip to toolbar