Skip to:
Content
Pages
Categories
Search
Top
Bottom

Adding buddypress avatar section into customized admin menu

  • @darkray16

    Member

    Hello,

    I’m creating a custom admin page that will edit the users profiles with input fields that I will create. I also want to add in a section for buddypress avatars, i.e. choosing from a set of default avatars, uploading an avatar image, or disabling avatar for himself.

    Could someone point me in the right direction on how to do this?

    By the way, I’m making the changes to admin/dashboard through a plugin and am having trouble accessing Buddypress functions in my plugin. Any help on this would be great too.

Viewing 1 replies (of 1 total)
  • @darkray16

    Member

    Okay maybe I should state specifics on what I need at this point.

    I’ve created my form for the user to upload a picture, but I can’t seem to find the buddypress function that can take the uploaded image, format it into full size and thumbnail, then put it in avatar folder, and select it as the new avatar.

    I’ve been trying to use bp_core_avatar_handle_upload, but I can’t seem to get it to work.
    I have been calling it as bp_core_avatar_handle_upload($_FILE, “

Viewing 1 replies (of 1 total)
  • The topic ‘Adding buddypress avatar section into customized admin menu’ is closed to new replies.
Skip to toolbar