Stand-Alone Member Edit
ExpressionEngine 1.x, ExpressionEngine 2
Back to this add-on's main page
View Other Add-ons From Yuri Salimovskiy
avatar support?
General
Ryan Vosburg
|
Posted: 31 August 2011 05:13 PM |
|
|
|
Don’t think so but figured i’d ask anyway. Is there plans in the future for avatar support? Would be great to allow users to change avatars. Or should I look into solspace’s user module? I really don’t need any of the inbox, messaging features just the ability to edit screen names and avatars.
|
|
|
Yuri Salimovskiy
|
Posted: 01 September 2011 06:56 AM |
# 1
|
|
Developer
|
There are no plans for avatar support.
But if you have only avatar enabled (no photo or signature image), you can add that yourself.
In the end of function process(), just before
$site_name = ($PREFS->item('site_name') == '') ? $LANG->line('back') : stripslashes($PREFS->item('site_name'));
add
//update photo if (isset($_FILES['userfile'])) { $this->EE->load->library('members'); $upload = $this->EE->members->upload_member_images('avatar', $this->EE->session->userdata('member_id')); }
Note that your input in the form should be named ‘userfile’, not ‘avatar’
|
|
|