Agaric Wants Registration flow: Let people register or log in while posting content
Description
UPDATE: Someone's gone and done it: Inline Registration
Registration flow, workflow registration, viral registration- call it what you like, just let people register or log in at the same time as they post their first content on a site!
Notes and other approaches
Closest thing out there, finally found, is a 4.7 module called Lazy Registration:
http://drupal.org/project/lazyreg
Ideally register-or-login-while-posting should be combined with ajaxified log in, register, and password reminder forms -- that can pass info back and forth to one another without leaving the page with the content. The password reminder (and non-instant logins) would result in content being quarantined until the e-mail address / password reset is confirmed.
So Lazy Registration looks like the best base. Older notes:
Redirect to Page User Was On When Registration Started
http://drupal.org/node/82320
related:
(just slightly, actually asking for already login toboggan functionality)
http://drupal.org/comment/reply/13899#comment-form
A real jerk on this thread claims this exists, but maybe it is easy, if no content is being posted
redirect to last page visited after registration
http://drupal.org/node/99633
CMT, workflow registration, funding pool
http://buytaert.net/state-of-drupal-march-2007#comment-1588
We're not alone! People write to us and say they want to start using our sites before the registration wall hits:
http://agaricdesign.com/not-just-agaric-wants-registration-flow
Three lines of tentative code:
registration_flow_form_alter($form_id, &$form) {
// gets called for every form Drupal builds
if($user->uid == 0 && $form_id != 'user_login_block' && $form_id != 'user_login') {
/* TODO: replace above with node and comment submission form IDs */
// add the entire logintoboggan registration form...
}
}
I've posted a patch to upgrade lazyreg to 5.x and working on 6.x
If you get a chance you can help test and provide feedback.
Cheers.
http://drupal.org/node/142607#comment-873235
Cheers.