Skip to:
Content
Pages
Categories
Search
Top
Bottom

Updating avatar from another page.

  • @martinbeaulne

    Participant

    Hi ! I’d like to know if it is possible ( and not too long to acheive ) to put an avatar update function somewhere else than change-avatar.php.

    In short, I want to take the change-avatar form and put it directly to the member-header.php.

    I copied the change-avatar.php code to my member-header.php, and the form appears ok. But when I upload an image, it simply refresh the page and don’t show me the resize/confirm page.

    Can anyone explain me how to get that to work ?

    Thanks !

Viewing 3 replies - 1 through 3 (of 3 total)
  • @henrywright-1

    Member

    @martinbeaulne the avatar upload process uses certain scripts (jcrop etc) so you will need to check they aren’t being enqueued only on the /change-avatar/ page

    @martinbeaulne

    Participant

    I guess someone knows if they are enqueued onlu on the change-avatar page ?

    Otherwise, where do I find it out / modify it ?

    @martinbeaulne

    Participant

    I tried to find bp_after_profile_avatar_upload_content somewhere in my buddypress files, and can’t find it…

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Updating avatar from another page.’ is closed to new replies.
Skip to toolbar