Hi, it first - gr8t module, tnx.

Here is the thing:
As my avatar field I'm using this module combination instead of core option:

http://drupal.org/project/imagecache_profiles - http://easycaptures.com/fs/uploaded/336/3498731053.jpg
http://drupal.org/project/imagefield_crop
http://drupal.org/project/content_profile

After using your module I see this:
http://easycaptures.com/fs/uploaded/336/5535893526.jpg - with uploaded avatar
http://easycaptures.com/fs/uploaded/336/6104241408.jpg - without uploaded avatar

I have disable it using css, but there should be no "Picture" part for future.

Comments

jasom’s picture

This code form user.module is needed to be override:

$form['picture'] = array('#type' => 'fieldset', '#title' => t('Picture'), '#weight' => 1);
$picture = theme('user_picture', (object)$edit);
if ($edit['picture']) {
$form['picture']['current_picture'] = array('#value' => $picture);
$form['picture']['picture_delete'] = array('#type' => 'checkbox', '#title' => t('Delete picture'), '#description' => t('Check this box to delete your current picture.'));
}
else {
$form['picture']['picture_delete'] = array('#type' => 'hidden');
}
$form['picture']['picture_upload'] = array('#type' => 'file', '#title' => t('Upload picture'), '#size' => 48, '#description' => t('Your virtual face or picture. Maximum dimensions are %dimensions and the maximum size is %size kB.', array('%dimensions' => variable_get('user_picture_dimensions', '85x85'), '%size' => variable_get('user_picture_file_size', '30'))) .' '. variable_get('user_picture_guidelines', ''));
$form['#validate'][] = 'user_profile_form_validate';
$form['#validate'][] = 'user_validate_picture';

kenorb’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.