Hi,
Running Drupal 6.13
with Content Profile 6.x-1.0-beta4 and Facebook Connect 6.x-1.0-beta8
I have created a content type to be used as a profile, and selected the option to use it on the user registration page.
It is displayed fine on the user page: http://localhost/icarerevolution/user/register however if a user logs in with facebook connect and then choses the “Create a new account with FB connect option” http://localhost/icarerevolution/fbconnect/register/create the registration form doesn't have the content profile.
The fb connect module runs after the content profile module, so is it overriding the form?
If there is a quick fix I could add to my site for now any pointers in the right direction would be very helpful
Thanks
John
note - i've posted this in the content profile as well - http://drupal.org/node/560936
Comments
Comment #1
abraham commentedA quick fix would be to create a simple module that replicates the content_profile hook_form_alter and submit function to work on the fbconnect register form.
Comment #2
rcaracaus commentedThis took me forever to figure out. If anyone sees any problems with this please get back to me as the last thing I want is to have my site messed up.
This was a lucky guess for me. If anyone can delve deeper into why this works that would be great.
For some reason the $form_state isnt being set on fbconnect page
Add this to line 110 of content_profile_registration.module
Comment #3
vectoroc commentedComment #4
BarisW commentedWhy close this? Has it been tested? Committed to the module?
@rcaracaus: can you be a bit more precise? Not sure where to put it, after which line do I have to put it? In which function?