Skip to:
Content
Pages
Categories
Search
Top
Bottom

Member/profile links in comments


  • Stefan
    Participant

    @kalevskis

    Hello,

    On my blog i have custom profile/author pages.

    With BuddyPress installation member’s comments contain URLs to buddypress profile page, which are site.com/members/member_name.

    I need to change this to previous state so i can link commentators to their custom profile pages i have made, and that would me site.com/author/member_name

    Thank you in advance,
    Stefan

Viewing 2 replies - 1 through 2 (of 2 total)

  • shanebp
    Moderator

    @shanebp

    I would think that there are several places where a link to the BP profile would appear.

    To handle them all, including the case you state, try using the filter hook in
    function bp_loggedin_user_domain()

    return apply_filters( 'bp_loggedin_user_domain', isset( $bp->loggedin_user->domain ) ? $bp->loggedin_user->domain : '' );
    

    found in
    buddypress\bp-members\bp-members-template.php


    Stefan
    Participant

    @kalevskis

    Thanks for the info shanebp.

    Unfortunately, i am not so familiar with hooks and their usage. Could you please give little more details here and what has to be changed. I’ve tried to change this part ‘isset( $bp->loggedin_user->domain’ but that didn’t gave any results.

    Regards,
    Stefan

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Member/profile links in comments’ is closed to new replies.
Skip to toolbar