I was curious about FBconnect but when I used it, all was good but a tiny little signUp form with only email and username which was not enough for me. My normal signUp has some extra fields, and my site's content is based on those fields so I could not ignore those fields.
Thats why I changed in some fields.

 $form['reg']['visibility'] = array(
   '#type' => 'checkbox',
   '#title' => t('Let my Facebook friends see me on @sitename', 
      array('@sitename' => $sitename)),
   '#description' => t('My Facebook friends will be able to see that I own an account on @sitename.',
      array('@sitename' => $sitename)),
   '#default_value' => 1,
 );
 
 // Get all the fields which are on normal sign up.
 $extra = _user_forms($null, NULL, NULL, 'register');

 // merge them with FbConnect SignUp Form.
 $form = array_merge($form, $extra);

 
 $form['submit'] = array( 
 '#type' => 'submit',
 '#value' => t('Submit'),
 '#weight' => '10',
 );
return $form;

I also included my actual function for fbconnect_register_form(); can be find in attachments.

Comments

blue.moon’s picture

Title: FbConnect Integrates with Normal Signup. » @FbConnect Integrates with Normal Signup.
StatusFileSize
new3.3 KB

Sorry the previous patch was not complete, but only display form, some changes into fbconnect_register_form_submit(); should also be made.

lets review this one.

gobinathm’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)

Closing the issue. It was inactive for a long time & it's related to a Drupal Version which is not supported anymore