update users Avatar on custom avatar upload page
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
You must be logged in to reply to this topic.