the user with the permission can access and view the form in order to register a user with username, password and role but how can this same user get access to information in profile in order to complete the full information...
thanks

Comments

elliotttt’s picture

Assigned: Unassigned » elliotttt

good question!

Will look into it in the next couple of days.

geosmaga’s picture

maybe something like masquerade module or using content profile with all fields available in registration process?

pedrosp’s picture

suscribing
I would probably override by CSS some fields to make the user creating process, a cleaner screen for the "add user" user.
However, I still can't figure out, how to create in the same screen some basic content profile information (not core profile).

emudojo’s picture

I have been trying to do this for a while now.
Using content profile doesnt quite cut it (with enable on registration), I managed to add the extra fields like this


/**
 *
 * Hook menu alter para capturar el node reference que vamos a usar
 * @param  $items
 * @return void
 */
function <module>_form_alter(&$form, &$form_state, $form_id) {

  if ($form_id == 'user_creator_register') {
   
        require_once drupal_get_path('module', 'node') .'/node.pages.inc';

        $default_types = content_profile_get_types('names', (arg(0) == 'admin' ? 'admin_user_create_use' : 'registration_use'));
        $form += array('#content_profile_registration_use_types' => $default_types);

        foreach ($form['#content_profile_registration_use_types'] as $type => $typename) {
          content_profile_registration_add_profile_form($type, $form, $form_state);
        }
  }
}

which works, but then again I face a problem when trying to view the newly created user (permission denied)