Skip to:
Content
Pages
Categories
Search
Top
Bottom

What has changed in avatar upload between BP 1.1.3 and 1.2.5 and WP 2.9 and 3.0?


  • peterverkooijen
    Participant

    @peterverkooijen

    I’ve upgraded a BP 1.1.3 custom theme to WP 3.0. Most seems to work fine, except avatar upload.

    What has changed in how avatars are processed? Were the functions changed? Just names? Are avatars stored in another place? How should I approach upgrading just the avatar upload code? Which bits of code should I replace?

    (I can’t upgrade to BP 1.2 because too much has changed into a direction I don’t want to take my site.)

Viewing 3 replies - 1 through 3 (of 3 total)

  • @mercime
    Participant

    @mercime

    In WPMU 2.9.2, avatar uploads in main site are in wp-content/blogs.dir/1/files/avatars while in WP 3.0 the avatar uploads in main site are “supposed” to be in wp-content/uploads/avatars/ like it is in single WP.

    This solution to others’ avatar problems in this post might help you. Good luck.


    peterverkooijen
    Participant

    @peterverkooijen

    Thanks mercime! Good starting point.


    peterverkooijen
    Participant

    @peterverkooijen

    I have copied the the new bp_core_avatar_upload_path() and bp_core_avatar_url() functions from BP 1.2.5 into my customized BP 1.1.3. Avatars show up fine, but I can’t get avatar upload to work. It works in a clean install of BP 1.2.5 on WP 3.0. The working avatar upload form has this:

    I can’t figure out how this form works. Action empty?! Where does the form go when I click ‘Upload image’? In my customized version it apparently can’t find something it needs. Any suggestions how to troubleshoot this?

    Would this still have something to do with upload_path settings? Would the form page just refresh without doing anything if it can’t find the upload folder? Where can I check/change those settings?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘What has changed in avatar upload between BP 1.1.3 and 1.2.5 and WP 2.9 and 3.0?’ is closed to new replies.
Skip to toolbar