Group Mods

  • Profile picture of @mercime
  • Profile picture of r-a-y
  • Profile picture of Hugo

update users Avatar on custom avatar upload page (2 posts)

Started 4 months, 1 week ago by: username_

  • Profile picture of username_ username_ said 4 months, 1 week ago:

    I hope that subject makes sense. I am using Buddypress 1.5.1 & wordpress 3.3.1

    I have copied the change-avatar.php code over to a custom page and I am trying to make my own avatar upload page. The users have to be logged in to see this page. Everything seems to work fine I upload then crop the image but after that it doesn’t seem to update the logged in users avatar. The regular edit avatar page still works. What is it that I am missing? I have gone through bp-core-avatars.php and saw the functions in there but none of them seem to bind a user with an avatar when uploading. I am defiantly missing something. Could any one please steer me in the right direction? Is there one more function I need to bind the user to the newly updated avatar? I kinda expected if the user was logged in that this would just work… but wrong again

  • Profile picture of username_ username_ said 4 months, 1 week ago:

    any one got any ideas or files I can look at?