I need all of my users to make up their own usernames on my Drupal install. When they sign up using Facebook Connect (no fast registration mode), they are prompted to either keep their username (brought in by Facebook) or to enter a unique username. This is exactly what I need, except it does not work.

Right now in the username field it will say "REAL NAME" which is brought in from Facebook. I change the username here to "FOO" and click "create account" and immediately I am brought to a profile page under "REAL NAME" -- "FOO" is not being stored at all.

Anyone have any ideas on how to fix this?

Thanks!

CommentFileSizeAuthor
#1 fbconnect-save_username-1335962-1.patch594 bytessoomp

Comments

soomp’s picture

StatusFileSize
new594 bytes

My first ever patch - hope it works for you. I just made it so it takes the value of what you entered into the username input (line 155 on fbconnect.pages.inc).
*fingers crossed*

soomp’s picture

Status: Active » Needs review
jcisio’s picture

Status: Needs review » Fixed

We should use $form_state['values'] instead of 'input'. However, thanks soomp, again.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

francoud’s picture

Issue summary: View changes

This still not working for me. I see that the patch is included in the -dev version, but I still have a "REAL NAME" username instead of the username...

francoud’s picture

Status: Closed (fixed) » Active

  • jcisio committed 2e47eb5 on
    Bug #1335962 by soomp, HelloStephanie: Username not stored when creating...