Skip to:
Content
Pages
Categories
Search
Top
Bottom

Linking user avatar to user profile page

  • Avatar of binutz
    binutz
    Participant

    @binutz

    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)
  • Avatar of bp-help
    bp-help
    Participant

    @bphelp

    @binutz
    Add the below code to bp-custom.php reference:

    http://codex.buddypress.org/plugindev/bp-custom-php/

    
    define( 'BP_DEFAULT_COMPONENT', 'profile' );
    
    Avatar of binutz
    binutz
    Participant

    @binutz

    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)

You must be logged in to reply to this topic.