user creation

Manual create user with notify

  1. $password = user_password(8);
  2. $newUser = array(
  3.   'name' => 'user'.time(),
  4.   'pass' => $password,
  5.   'password' => $password,
  6.   'mail' => $form_state["values"]["field_email"][0]["value"],
  7.   'sta

Fix for Multipage User Registration

  1. <?php
  2. /**
  3. * Implementation of hook_menu()
  4. */
  5. function multipage_register_menu(){
  6.         $items['add/user'] = array(
  7.                 'title' => 'Add a user',
  8.                 'page callback' => 'multipage_register_wizard',
  9.                 'ac

Multipage User Registration

  1. <?php
  2. /**
  3. *       The purpose of this module is to take the user-registration form and make it
  4. *       multipage, where the pages change depending on the options selected during
  5. *       the last step.
Syndicate content