This may be specific to the project I'm on, but I think this is good practice anyway.

If other code changes the user settings form, such as adding very light (-100) items, the FBConnect items still end up at the top. Giving the FBConnect items explicit 'normal' weights - eg starting at zero and going up - fixes this for me.

Comments

darrylh’s picture

StatusFileSize
new1.89 KB
darrylh’s picture

StatusFileSize
new2.31 KB

Better patch, one that actually applies (*sigh*)

doka’s picture

Status: Active » Needs work

The correct link to enable user picture support is admin/config/people/accounts.

So change the line 354 in fbconnect.pages.inc from this one:

     $form['fb_avatar']['#description'] = t('Enable user picture support in !link', array(
      '!link' => l(t('User settings'), 'admin/user/settings'),
    ));

into that:

     $form['fb_avatar']['#description'] = t('Enable user picture support in !link', array(
      '!link' => l(t('User settings'), 'admin/config/people/accounts'),
    ));
giorgio79’s picture

Status: Needs work » Closed (duplicate)