Skip to:
Content
Pages
Categories
Search
Top
Bottom

Change Avatar Upload Path

  • Avatar of yadigit
    yadigit
    Participant

    @yadigit

    In a fresh install of buddypress the current avatar upload path is /uploads/avatas..
    I have bp-album plugin, the images upload path is /uploads/album..

    Im trying to send the avatar upload path into the album file, ( still being organized by user ID )

    I am running with the latest Buddypress and WordPress 3.3.0
    I think I have an idea of what needs to be changed.

    ` $avatar_folder_url = apply_filters( ‘bp_core_avatar_folder_url’, bp_core_avatar_url() . ‘/’ . $avatar_dir . ‘/’ . $item_id, $item_id, $object, $avatar_dir );
    $avatar_folder_dir = apply_filters( ‘bp_core_avatar_folder_dir’, bp_core_avatar_upload_path() . ‘/’ . $avatar_dir . ‘/’ . $item_id, $item_id, $object, $avatar_dir );`

    I was trying to find out what $avatar_dir equals to.
    if I can only find what $avatar_dir is set to im sure I can go from there.
    Any and all help will be great.

You must be logged in to reply to this topic.