Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • thanks. In this case I would like to do it in code. Login Toboggan is a lot of module to solve one small problem ;-) Commented Nov 8, 2011 at 16:23
  • hmm...you won't be able to get the UID of the user that is about to eb created in the form_alter hook, as that user has not yet been created. If you want it to happen every time a use logs in, you should just be able to utilise hook_user_login() with a drupal_goto()? Commented Nov 8, 2011 at 16:35
  • thanks. I want it to happen after they submit the register form. Commented Nov 8, 2011 at 16:38
  • At that point the user has not been created, so there would be no FOOLPROOF way to redirect them. I guess the only way would be to run a query to pull out the most recent UID, and then add one to it. That's really messy though and not really reliable =\ Is there a specific reason why it has to occur at this point? Commented Nov 8, 2011 at 16:46
  • I updated my question above. Commented Nov 8, 2011 at 16:54