Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • @dsnic

    Participant

    Thank you so much, @danbp! That worked like a charm. 🙂

    @dsnic

    Participant

    I would also like to know this. I used the code from this thread and it worked fine, but now it has stopped working. Help?

    @dsnic

    Participant

    Hi all,

    As @danbp suggested, I’ve looked at the file: bp-core/bp-core-avatars.php
    The full avatar size is indeed set to 150×150 by default there, as @imath has said.

    If the others in this thread facing the same problem are using the Kleo or Sweet Date theme, then you’ll find the default 580×580 avatar size set in this file: wp-content/plugins/bp-custom.php

    The problem, however, is that even when the image being uploaded is a lot bigger than 580×580, the error notification still appears.

    For now, I’ve temporarily “solved” the problem by commenting out the code mentioned by @danbp so the error notification doesn’t appear. This kinda works because the site will still accept the uploaded photo despite the error notification. At least this way there’s no error notification to confuse users.

    However, this is probably not the correct way to solve this issue. Can someone please help with a more elegant solution?

    @dsnic

    Participant

    Hi @imath thanks for jumping in. I spoke with the theme developers and they said that the theme sets the “BP_AVATAR_FULL_WIDTH” to 580 px. But even so, the Buddypress message is still wrong, because I’m uploading a bigger image and the message tells me that it’s a smaller image.

    @dsnic

    Participant

    Hi @cybercreative did you find a solution to this? I’m facing the same problem. The error message keeps appearing no matter how big the picture I upload is.

Viewing 5 replies - 1 through 5 (of 5 total)
Skip to toolbar