[wp-hackers] Upload avatar in the "New user" page
hempsworth at gmail.com
Wed Feb 8 03:30:13 UTC 2012
Because the new user doesn't actually have an ID yet, it's difficult
to assign any extra data to the user at this point in the process.
A possible solution is to improve the workflow by sending the client
to the edit page of the newly created user, rather than the Users
list, which I believe currently happens.
It means the client is sent to the edit screen automatically to add
any additional info, instead of having to find them.
If this is preferable, you should be able to use wp_redirect() after
the user's been created.
Sent from my iPhone
On 8 Feb 2012, at 02:27, Daniel Grundel <daniel at webpresencepartners.com> wrote:
> I've been looking for the same thing for a client that's using a similar
> plugin (Simple Local Avatars.)
> From what I've gathered, there's no action hook that will allow you to add
> custom fields to the *new user* form, so there's not really a good way to
> make that happen in the way I've done it in the past.
> Does anyone else have a way to add fields and save user meta info when
> creating a new user?
> Daniel J. Grundel
> Web Presence Partners
> daniel at webpresencepartners.com
> 772 678 0697
> On Tue, Feb 7, 2012 at 8:02 PM, Pasquale Puzio <pasquale.puzio at gmail.com>wrote:
>> Hi all,
>> I would like to upload the avatar of a new user directly in the "New
>> user" page, so avoiding to go back to "Edit profile" page and use the
>> plugin User Avatar http://wordpress.org/extend/plugins/user-avatar/
>> Did anyone already implement this feature?
>> Dott. Pasquale Puzio
>> info at pasqualepuzio.it
>> 340 5026359
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers