Skip to:
Content

BuddyPress.org

Opened 18 years ago

Closed 18 years ago

Last modified 17 years ago

#114 closed enhancement (duplicate)

Make full name display optional across site

Reported by: nolageek Owned by:
Priority: major Milestone:
Component: Version:
Severity: Keywords:
Cc:

Description

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;
	else
		return $ud->user_login;
}

thanks to apeatling for this bit of code.
http://buddypress.org/forums/topic.php?id=50

Change History (3)

#1 @apeatling
18 years ago

  • Milestone → Future Enhancements

#2 @apeatling
18 years ago

  • Resolution → duplicate
  • Status new → closed

Duplicate of #113

#3 @(none)
17 years ago

  • Milestone Future Enhancements

Milestone Future Enhancements deleted

Note: See TracTickets for help on using tickets.