Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: bbpress profile integrates with bp


terryjsmith
Participant

@terryjsmith

You could write your own simple plug-in for this as well; whenever you call user_profile_link it applies the filter ‘user_profile_link’. So you could create a plug-in with the following:

bb_add_filter(‘user_profile_link’, ‘bppro_user_profile_link’);

function bppro_user_profile_link($link, $uid) {

return(bb_get_option(‘wp_siteurl’).’/members/’.bb_get_user($uid));

}

This is of the top of my head but I think that’s right.

Hope this helps,

Terry

Skip to toolbar