-
Hello, is there a way to modify, remove or replace the profile title? ideally, I’d like to change it from “My Profile” to dynamically populate the username…
However, if not possible…removal is fine, too. Thanks
Hello ,
This is not easy to do – You will need to make a whole lot of changes to the code.
However if you are fine with the removal of e the name simply go the page and delete the name from there but when you will that my profile would not be visible in the menu too.
Thank You!You guys should look at template.php from bbPress (includes>common) and take that example to develop something similar for UserPro profiles.
template.php line 2579 (bbPress):
PHP1234567891011121314151617181920212223242526272829303132// Profile page} elseif ( bbp_is_single_user() ) {// User is viewing their own profileif ( bbp_is_user_home() ) {$new_title['text'] = esc_attr_x( 'Your', 'User viewing his/her own profile', 'bbpress' );// User is viewing someone else's profile (so use their display name)} else {$new_title['text'] = sprintf( esc_attr_x( "%s's", 'User viewing another users profile', 'bbpress' ), get_userdata( bbp_get_user_id() )->display_name );}// User topics createdif ( bbp_is_single_user_topics() ) {$new_title['format'] = esc_attr__( "%s Topics", 'bbpress' );// User rueplies created} elseif ( bbp_is_single_user_replies() ) {$new_title['format'] = esc_attr__( "%s Replies", 'bbpress' );// User favorites} elseif ( bbp_is_favorites() ) {$new_title['format'] = esc_attr__( "%s Favorites", 'bbpress' );// User subscriptions} elseif ( bbp_is_subscriptions() ) {$new_title['format'] = esc_attr__( "%s Subscriptions", 'bbpress' );// User "home"} else {$new_title['format'] = esc_attr__( "%s Profile", 'bbpress' );}@ Tenebral – Thanks a lot for the suggestion and sharing this information with us. Thanks
You must be logged in to reply to this topic.