Skip to:

Opened 8 years ago

Closed 5 years ago

#2161 closed defect (bug) (invalid)

wp_users.display_name not updating on registration

Reported by: abfinteractive Owned by:
Milestone: Priority: minor
Severity: normal Version:
Component: Activity Keywords:


On our members area page here: the field display_name in the table wp_users is not being updated on registration, causing display names on the member page to be blank. I have edited the display name field manually to get the name to show up on the members list.

This is becoming a nightmare for us as we have to stay on top of new registrations to make sure their names are displaying on the member list.

Why are there so many places that the display name is being stored?

Change History (11)

#1 @Andy Peatling
8 years ago

  • Milestone set to 1.2.2

Are you using the 1.2 branch? The display_name field is a fallback if they have not filled out the XProfile name field. It should all be synced on registration in the 1.2 branch.

Please make sure you assign a milestone to your bugs or they will be missed.

#2 @Andy Peatling
8 years ago

This is working fine for me on the 1.2 branch. If I register then the XProfile name is being displayed on the members directory. Have you disabled the extended profiles component?

#3 @Andy Peatling
8 years ago

Looking at your site it appears you have disabled it. I will debug with it disabled. Any reason for disabling it?

#4 @Andy Peatling
8 years ago

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

(In [2829]) Fixes #2161

#5 @abfinteractive
8 years ago

Extended profiles has always been enabled on the site.

#6 @abfinteractive
8 years ago

  • Component set to Activity
  • Milestone changed from 1.2.2 to 1.2.3
  • Resolution fixed deleted
  • Status changed from closed to reopened

This issue still exists after a upload of Buddypress files. When registering a new user, the display_name field of the table wp.users is not updated resulting in Member List display name being left blank.

Can you please give me a run down of options that should be enabled for this to work so that I can confirm that this isn't a setting on my side?

#7 @abfinteractive
8 years ago

  • Priority changed from critical to minor

I have traced this down to it not adding it until after the user activates their username. I'll change it to minor from critical. It should still add it before activation, to me, to keep things clean in the database.

#8 @Boone Gorges
7 years ago

  • Resolution set to worksforme
  • Status changed from reopened to closed

Closing due to inactivity. If you can confirm that this is still a problem on a recent version of the BuddyPress trunk, please reopen the ticket with instructions to reproduce.

#9 @vaelico
6 years ago

  • Resolution worksforme deleted
  • Severity set to normal
  • Status changed from closed to reopened

Every time the user updates his Xprofile name field, the display_name field in wp_users table gets deleted and becomes blank.

This is a problem in my website, for example, with the bbpress login widget, which uses this field to display the logged in user name.

#10 @Brandon Allen
6 years ago

@vaelico Do you have WP profile sync enabled?

#11 @Boone Gorges
5 years ago

  • Milestone 1.5 deleted
  • Resolution set to invalid
  • Status changed from reopened to closed

Closing due to inactivity. If anyone can provide details to reproduce on the latest trunk, please do so.

Note: See TracTickets for help on using tickets.