@djanym
9 years, 6 months ago
https://wordpress.org/plugins/optional-email/ is it works for you?
13 years, 6 months ago
I’ve made such way: Added a function in functions.php and call it in beginning of the page.
function set_displayed_user( $user_id ) { global $bp; $bp->displayed_user->id = $user_id; $bp->displayed_user->domain = bp_core_get_user_domain( $bp->displayed_user->id ); $bp->displayed_user->userdata = bp_core_get_core_userdata( $bp->displayed_user->id ); $bp->displayed_user->fullname = bp_core_get_user_displayname( $bp->displayed_user->id ); }