Agaric Design Collective

Agaric Wants Registration flow: Let people register or log in while posting content

By Benjamin Melançon
on 03 Jan
2 comments

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...
  }
}

 

Version 5 of Lazyreg

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.

Posted by Amanuel (not verified) on Fri, 2008-06-06 21:42
oops forgot the location of the patch.
Posted by Amanuel (not verified) on Fri, 2008-06-06 21:43
Post new comment
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <h1> <h2> <h3> <h4> <h5> <h6> <small> <pre> <strike> <sub> <sup> <kbd> <s>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.