I've custom user registration template and it renders as per user-register.tpl.php during local user registration but, when users are registering through FB Connect, it doesn't renders custom user registration form template and instead show the Drupal default registration form. FBConnect uri:

fbconnect/register/create?destination=user

How do I customize the user registration form presented during FB connect (not in Fast mode) process?

Comments

vectoroc’s picture

you have to theme registration form or create another one template for fbconnect/register/create page

g.k’s picture

I know this question doesn't belong here but somebody who is not a themer, can you please let what will be the tpl file name? By coping page.tpl.php to page-fbconnect-register.tpl.php didn't work for me.

Thanks

vectoroc’s picture

@gkap : use devel_themer module ( http://drupal.org/project/devel )

g.k’s picture

Let me take that back, page-fbconnect-register.tpl.php did override the registration form (I forgot to clear the theme registry), but when calling own custom registration form, it bypass the FB Connect registration and doesn't link the account.

Actually, I really don't want user to go through registration form when registering through FB Connect and rather prefer Fast Registration mode. The only reason for is to capture user email address instead of proxied email. Hopefully, resolution for issue#888442 should resolve this issue as well.

Thanks

klucid’s picture

I found this old thread while looking for a solution for D7's Facebook Connect. I was able to remove the pesky redirect URL by going to line #559 in fbconnect.module:

window.location.href = Drupal.settings.basePath + "fbconnect/register/create";

And changing it to:

window.location.href = Drupal.settings.basePath;

Note, this was for the D7 version. Hope this helps!