I'm banging my head against the wall here trying to figure this out. I have some functionality on my site that requires a user that just registered to pick a "team", if they selected a certain role on the registration page. It essentially just goes to a custom page with a view right after they register, checks to see if they selected this user role, and everything is fine. If they haven't selected the role, then it forwards the user onto their profile page.
But when they register through facebook connect, this is always skipped, no matter what role they picked.
My question is: When is the user role saved, so I can check against it to see what they picked when registering through the fbconnect module? Because it seems like they don't have any role at the point they do during normal registration.
Thanks!
Comments
Comment #1
jazzdrive3 commentedActually, not matter what I try, it looks like it's not even redirecting to my special page, even though I have changed every concievable form redirect or drupal_goto in the module to test it out. Where is this module forcing the user to profile after register?
Please help. Thanks.
Comment #2
gorgo commentedI'm having the same problem... I am trying to fix this for the past 4 hours! don't understand why this is hapening. Pleaaaase tell me you found a solution?!
Comment #3
gorgo commentedUPDATE..
OK.. in my case it seems that the problem is with my page-front.tpl.php file.
As soon as I disabled it the problem was solved. but I'm not really sure why having this set up is causing this. everytime a user logs in they can't even access the front page anymore, and no matter what "redirection" module I've tried it always go back to the user's profile page... urghhh
Comment #4
jazzdrive3 commentedFigured it out.
There is a call to user_external_login. This ignores everything and forwards them to their profile. If you are already using something like Logintoboggan that logs users in automatically after registering already, you can comment that out.
Comment #5
nyleve101 commentedHi,
where is this user_external_login located?
Thanks,
Evelyn
UPDATE: Please ignore