Viewing 4 replies - 1 through 4 (of 4 total)
  • veseycreative

    (@veseycreative)

    Hey Teleanu,
    just did that myself.

    If you’re using ‘user_nicename’ for the Member Name, edit the markup link to be <a href=" https://www.domain.com/forums/users/%value%">

    For the avatar – you need to edit members.php (in classes folder)
    line 424 in my file:

    change:
    $s .= '<a class="tern_wp_member_gravatar" href="'.get_author_posts_url($u->ID).'">'."\n ".get_avatar($u->ID,60)."\n ".'</a>'."\n ";

    to
    $s .= '<a class="tern_wp_member_gravatar" href="'.get_bloginfo('home').'/'.$u->user_nicename.'">'."\n ".get_avatar($u->ID,60)."\n ".'</a>'."\n ";

    worked a treat for me.

    veseycreative

    (@veseycreative)

    opps, sorry. the avatar code should be

    $s .= '<a class="tern_wp_member_gravatar" href="'.get_bloginfo('home').'/forums/users/'.$u->user_nicename.'">'."\n ".get_avatar($u->ID,60)."\n ".'</a>'."\n ";

    sorry, needs to be right for your domain.

    Thread Starter teleanu

    (@teleanu)

    Thank you vesey.

    This worked like a charm ??

    Is there away to make %value% insert the username? By using %value% it’s entering the display name into the link. My site’s profiles are all based off the usernames.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘bbpress user profile’ is closed to new replies.