full name membership signup

By rez - January 23, 2014 - edited: January 23, 2014

I have website membership, facebook login and twitter login. 

Isn't it standard to make first name and last name separate? It seem like you could sort people better, address them by first name in emails, etc.

I havent used any of these plugins or setup any type of online memberships before. Before i get into making that change to your included examples, is there anything I should know about integration or cons of separating my members names into first name and last name for website membership?

Pros and cons?

thanks.

By gregThomas - January 23, 2014

Hi Rez,

We mainly use a single name field as opposed to first and last name because CMS Builder's admin section already has a field with that name by default, and for simplicity. I agree that breaking up the field into first name/last name has several advantages.

I've done some local testing, and deleting the fullname field and replacing it with a first name/last name field doesn't create any issues. You'll just have to update your sign up page and update profile page to use the first name/last name fields instead of the full name field, otherwise there shouldn't be any issues.

Let me know if you have any questions, or would like a hand updating the code for the signup and profile pages.

Thanks!

Greg

Greg Thomas







PHP Programmer - interactivetools.com

By rez - January 24, 2014

  • I have changed to first_name and last_name.
  • I made a members table instead of using the regular accounts table so I can assign admins in CMSB to manage members separately.
  • I set up the Facebook login plugin. 

It all seems to work fine but using the Facebook sign-up doesn't bring over / fill in the first_name, last_name in the profile. I would really like that to happen so I know members names.  Can you tell me how to set that up and is there any other info I can pull from Facebook accounts? 

Actually, I'll be setting up Twitter login as well so I hope I can fill in first_name, last_name with that as well?

thanks, that was fun.