BuddyDev

Search

Replies

  • Participant
    Level: Yogi
    Posts: 1117
    calu on in reply to: [Resolved] Finding BP mail notification language files #27362

    Hi Brajesh, thank you very much for sharing this, I have been looking every where in translation files for this.

    But apparently its only possible to edit colors and text sizes here, not content?

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1117
    calu on in reply to: [Resolved] Finding BP mail notification language files #27349

    Hi Ravi, thank you for your research. Your search for ‘You have unread messages’ string in BuddyPress, is in general, not my site alone right?

    Here are some screen shots of the mail notifications sent, which looks like they are sent by BuddyPress.

    https://imgur.com/iS4Dkoc

    https://imgur.com/OWV5pBv

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1117
    calu on in reply to: [Resolved] Avatar full width on mobile only #27332

    Hi Brajesh, yes I discovered the consequences of not using the code.

    Uploading a profile image from the phone, is an important feature on a social network page. Is there any solution to the crop image issue on phone, when full avatar size is larger than 200-300px ?

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1117
    calu on in reply to: [Resolved] Finding BP mail notification language files #27325

    Hi Ravi, thanks , from what I can read from your answer, these text strings are hard coded, and there are no .po translation files for them?

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1117
    calu on in reply to: [Resolved] Avatar full width on mobile only #27321

    Hi, I’m seeking the right solution for showing thump and full size avatars, and the question is: do I need the code below. If I remove it, and add a Media query like this, what will happen then?

    Will BuddyPress then only recognize the thumb size and enlarge this to full size with bad resolution as a result?

    @media (max-width: 700px) { #buddypress div#item-header img.avatar {

    width: 100%;
    }
    }

    The code in question:

    if ( ! defined( 'BP_AVATAR_THUMB_WIDTH' ) )
        define( 'BP_AVATAR_THUMB_WIDTH', 120 ); //change this with your desired thumb width
     
    if ( ! defined( 'BP_AVATAR_THUMB_HEIGHT' ) )
        define( 'BP_AVATAR_THUMB_HEIGHT', 120); //change this with your desired thumb height
     
    if ( ! defined( 'BP_AVATAR_FULL_WIDTH' ) )
        define( 'BP_AVATAR_FULL_WIDTH', 700); //change this with your desired full size,weel I changed it to 225,300 :)
     
    if ( ! defined( 'BP_AVATAR_FULL_HEIGHT' ) )
        define( 'BP_AVATAR_FULL_HEIGHT', 700); //change this to default height for full avatar
    
    

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1117
    calu on in reply to: [Resolved] Avatar full width on mobile only #27320

    Hi Brajesh, I found an issue when defining the BP_AVATAR_FULL_WIDTH / BP_AVATAR_FULL_HEIGHT in the code above.

    It a user wants to change avatar on mobile, the image in the ‘avatar-to-crop’ window is overflowed and not showing the full image, making it impossible to add and crop an image on mobile.

    FULL_WIDTH / BP_AVATAR_FULL_HEIGHT set to 200

    https://imgur.com/eLrQig4

    FULL_WIDTH / BP_AVATAR_FULL_HEIGHT set to 700

    https://imgur.com/7uMEMIU

    Is there a solution to this?

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1117
    calu on in reply to: [Resolved] Avatar full width on mobile only #27317

    Hi Brajesh, thanks for your clarification about avatars.

    I solved it by using Media Queries

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1117

    Hi Brajesh, I think that I finally located the issues 2 and 3 to Jetpack’s site accelerator. With this turned off the saving issues are gone.

    It seams like Jetpack is causing several issues in BP, like the Lazy load option, which conflicts with the profile image crop tool.

    The question is: is Jetpack doing anything good for my site?

    Regards
    Carsten

    • This reply was modified 5 years, 6 months ago by calu.
    • This reply was modified 5 years, 6 months ago by calu.
  • Participant
    Level: Yogi
    Posts: 1117

    Issue 1. is solved, it turned out to be a CSS issue after all.

    Issues 2 & 3 remain.

  • Participant
    Level: Yogi
    Posts: 1117

    The issues might be connected to LiteSpeed Cache, even when deactivated, as it has caused several similar issues in BP.