Skip to:

Opened 16 years ago

Closed 15 years ago

#113 closed enhancement (wontfix)

Make full name display optional across site

Reported by: nolageek's profile nolageek Owned by:
Milestone: Priority: major
Severity: Version:
Component: Keywords:


For privacy's sake full first and last name of users should not be visible by default across the site. Perhaps just first name. Ideally this should be a admin configurable option:

Identity Display:

  1. First name only
  2. First and last name
  3. username only
  4. User configurable

I'm currently using this change in code to force #3:

Line 243 of bp-xprofile-templatetags.php

function bp_fetch_user_fullname( $user_id = false, $echo = true ) {
	global $bp;

	if ( !$user_id )
		$user_id = $bp['current_userid'];

	$ud = get_userdata($user_id);

	if ( $echo )
		echo $ud->user_login;
		return $ud->user_login;

thanks to apeatling for this bit of code.

Change History (4)

#1 @apeatling
15 years ago

  • Milestone set to Future Enhancements

#2 @tekanji
15 years ago

The easiest solution would probably be to add the "Nickname" and "Display name publicly as" fields from WordPress' edit profile page to BuddyPress' edit profile page and then to have the display name be used instead of calling the full name by default.

#3 @(none)
15 years ago

  • Milestone Future Enhancements deleted

Milestone Future Enhancements deleted

#4 @DJPaul
15 years ago

  • Resolution set to wontfix
  • Status changed from new to closed

Privacy is a future feature and I think this is more of a question of how an administrator wants to run their site, rather than something to amend in the core.

Note: See TracTickets for help on using tickets.