User login

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

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

Resolution

Comments

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.

oops forgot the location of the patch.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Internal paths in single or double quotes, written as "internal:node/99", for example, are replaced with the appropriate absolute URL or path. Paths to files in single or double quotes, written as "files:somefile.ext", for example, are replaced with the appropriate URL that can be used to download the file.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.