Viewing 8 replies - 1 through 8 (of 8 total)
  • Bump.

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

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

    Thank you

    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.

    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.

    I found this while searching.

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

    <?php
    $myAv = new simple_local_avatars();
    $myAv->edit_user_profile($profileuser);
    ?>

    @pekmez

    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.

    @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?

    hello,

    i want to use it from frontend too any solutions?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: Simple Local Avatars] Avatar Upload from Front End’ is closed to new replies.