SocialEngine 4: Hide First and Last Name

It is very common that, in an effort to protect privacy, an administrator will have users who only want to be displayed by their usernames.
In order to change SocialEngine 4 from showing the first and last names by default, do the follow:

1. Log into your admin panel and step into a “Profile Questions” page under the “Settings” tab.

2. Delete the “First Name” and “Last Name” profile questions.

3. Re-create both Fields, ensuring the Profile type is set to Single-line Text Input (NOT “First Name” and “Last Name”). If you don’t want these field to be visible on the user’s profile, be sure to select “Hide on Member Profiles”.

4. If you already have existing users, you will need to run the following queries in your MySQL database to clear their display name:

UPDATE engine4_users SET displayname = username;

Make sure to always make a backup of your current site before doing any mods.

Related

Author Spotlight

Andrew Cross

Hi, I'm Andrew. A am a 26, ICT Administrator which offers support to company's around the South Wales Area.
I have created a few social sites for myself and other company's. So far 2 out of 3 have been successful using the powerful SocialEngine Script. I continue to try and help the community of SocialEngine by giving Support and Technical Help where possible.