Simple Local Avatars
Avatar Upload from Front End (9 posts)

  1. ninetienne
    Posted 4 years ago #

    Thanks for the great plugin.

    I'm using Profile Builder for the front-end registration and login. The plugin also has a profile edit page in front end.

    How can I integrate SLA file upload into the front end? I tried many variants but with no luck.


  2. Jack Lenox
    Posted 4 years ago #


    I'd like to see this too. Although not using Profile Builder, just want to know how I can hook into it?

  3. amax2222
    Posted 4 years ago #

    Yes me too, I need to add the ability for a user to add an avatar to his profile page with bbpress.

    Thank you

  4. aravoth
    Posted 4 years ago #

    I am also trying to find a way to hook this into the bbpress 2.0 profile page. I anyone have any ideas it would be appreciated.

  5. amax2222
    Posted 4 years ago #

    Hi Aravoth, I ended up going with the add local avatar plugin and then purchasing the avatar sidebar widget from the same author and embedding it in the bbpress profile page and it works a treat.

  6. pekmez
    Posted 3 years ago #

    I found this while searching.

    pls add this to your template where you want to show the avatar upload part.

    $myAv = new simple_local_avatars();
  7. circlecube
    Posted 3 years ago #


    Thanks for this code! It is in fact adding the upload field to my page (I'm using bbPress and trying to add local avatars support for the users). The form in the backend loads the form automatically, but the front-end form (which I'd like the users to use) does not show the avatar upload by default. Adding this code to my theme/bbpress/form-user-edit.php file displays the upload field, but it doesn't upload/save the image when the form is submitted.

  8. modifiedcontent
    Posted 3 years ago #

    @circlecube, I'm trying to figure this out as well.

    I suspect it doesn't work because ID is defined differently in the plugin and in the front-end profile edit page - in my case at least.

    My front-end template file has $current_user->id, the plugin has $user_id. Should I replace those? Or replace $profileuser?

    By changing that in certain places you can make a back-end uploaded avatar show up in the front-end, but I still can't make front-end upload work.

    I think adding the code that pekmez gave by itself won't work anyway. Don't you also need some PHP at the top of the template that processes the input?

    I only have a very vague idea what I'm doing. Can anyone point me in the right direction?

  9. cinisli
    Posted 3 years ago #


    i want to use it from frontend too any solutions?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simple Local Avatars
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic