Skip to:
Content
Pages
Categories
Search
Top
Bottom

Users can’t upload their avatar when on Mac


  • tjbrewers
    Participant

    @tjbrewers

    This one is baffling me. Our PC users have no problems. But our Mac users are unable to upload their avatar.

    Any ideas?

Viewing 8 replies - 1 through 8 (of 8 total)
  • I can’t see why OS would make a difference.


    tjbrewers
    Participant

    @tjbrewers

    Me either, Paul @djpaul. But it’s happening to all of our iPad and iPhone users. I’ve disabled all plugins (except BP) and same thing. They say say clicking on the upload button does nothing at all.


    shanebp
    Moderator

    @shanebp

    Uploads aren’t supported in browsers on those devices, afaik.
    To get around that for avatars and galleries for apple users, we used the free version of this
    http://www.aurigma.com/mobile/

    Use of aurigma and similar apps has been discussed before on these forums – not sure how you can find them though.

    Ah. Mac is different from iPad and iPhone. Yes, you can’t upload from iOS devices.


    tjbrewers
    Participant

    @tjbrewers

    Ah silly me. I should have specified iPad and iPhone from the get-go. Thanks @shanebp and @djpaul Paul. Really appreciate the help. :)


    modemlooper
    Moderator

    @modemlooper

    I got an iOS app in the works to upload images to BuddyPress maybe ill put in an avatar option :D


    tjbrewers
    Participant

    @tjbrewers

    @shanebp I’m working on using Aurigma Up on our private site for the change-avatar.php file. If you don’t mind me asking you:

    1. How did you handle ‘uploadUrl’ request? Did you send it to an upload file and process it there? Or did it bring it back to the change-avatar.php file?
    2. Then when you redirected it back to change-avatar, how did you get image processed?

    Thanks for your help. Once I get it working, I’ll writing it so everyone can see how to do it.


    shanebp
    Moderator

    @shanebp

    @tjbrewers

    For iOS avatar uploads, I sent them to a separate mobile screen on which I did this:
    `

    <a id="applink1" href="aurup:?uploadUrl=/mobile-apple-avatar-process&redirectUrl=&redirectDelay=5&uploadTimeOut=10&licenseKey=1234&fields=id%3D%3Bmnonce%3D”>
    Upload Avatar Photo

    `
    And ‘mobile-apple-avatar-process’ is a WP page that calls
    `
    locate_template( array( ‘photo-process/mobile-apple-avatar-process.php’ ), true );
    `
    And ‘photo-process’ is a dir in my mobile theme.
    In ‘mobile-apple-avatar-process.php’ I use a non-WP approach to creating the full and thumb images because for images uploaded on iOS, you need to check orientation (rotation) via exif_read_data. And I did a crude ‘auto-crop’.

    So the user should never see the ”mobile-apple-avatar-process’ page.
    And they are then sent to the value of redirectUrl in the href above.
    And that screen should show them any bp_core_add_message values you created in ‘mobile-apple-avatar-process.php’

    It’s awkward, but it works.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Users can’t upload their avatar when on Mac’ is closed to new replies.
Skip to toolbar