something thing that's annoyed me for a while, and I assume 99% of other users are the same.

drupal already knows my public email, why should I need to type it in again?

this patch adds the user's email into the compulsery email box as the default text. It can then be edited if needed.

Comments

nedjo’s picture

+1, good idea.

dries’s picture

Looks good to me.

moggy’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new685 bytes

updated to apply to latest cvs

pfaocle’s picture

+1, seems like a sensibile default?

Can't test till Forms API stuff is in project module, tho! (Hint, hint)

pfaocle’s picture

Title: Auto insert compulsery email » Auto insert compulsory email
Version: » x.y.z
StatusFileSize
new976 bytes

Tested on HEAD, works only by setting $user as global at the top of the function. Revised patch attached.

moggy’s picture

Just tested this patch against the latest 4.6 release.

It applies fine, with an ofset of 6 lines, and appears to work fine.

Could this be applied to 4.6 please?

pfaocle’s picture

Anyone have any objections? Can we get this in?

nedjo’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for the patch, applied an updated version.

Anonymous’s picture

Status: Fixed » Closed (fixed)