BuddyBoss Home – Web Support Forums Solutions Social Learner User Avatars images are broken in Activity Feeds

Viewing 5 posts - 1 through 5 (of 5 total)
  • Question

    #47499
    @unstoppablerecordingmachine

    The activity feeds that say:

    “user and [x] user are now friends 19 hours, 33 minutes ago”

    Always display broken images. If I inspect the element I find a regular user avatar URL appears like this:
    <img src="http://xxx.xxxxxx/wp-content/uploads/avatars/1/0a932d194761c5f0f4a5b5149586464e-bpfull.png" class="avatar user-1-avatar avatar-60 photo" width="60" height="60" alt="Profile picture of xxxxxxx">
    But the tiny avatar spits out a URL like this:
    <img src="//xxx.xxxxxx/wp-content/themes/social-learner/images/avatar-member.jpg&s=20&r=G" class="avatar user-2-avatar avatar-20 photo" width="20" height="20" alt="Profile picture of xxxxxxx">

    My plugin setup is:
    BadgeOS
    BadgeOS BuddyPress Notifier
    BadgeOS Community Add-On
    BadgeOS LearnDash Add-On
    bbPress
    Boss for LearnDash
    BuddyBoss Wall
    BuddyPress
    BuddyPress Follow
    BuddyPress for LearnDash
    BuddyPress Global Search
    BuddyPress Reorder Tabs
    LearnDash LMS
    LearnDash Pro Panel

    I am using Social Learner for LearnDash

    Answers

    #47546

    Anonymous
    @
    #47564
    @unstoppablerecordingmachine

    The URL with social learner in the URL is the one that comes up 404 and rightfully so, I am fairly confident that images don’t get uploaded there. I feel as if the code should be referring to the location that works (regular profile images that appear all over the site) but I have no idea which code file would contain this URL building.

    #47574

    Anonymous
    @

    Hi @unstoppablerecordingmachine
    Please update the social learner child theme files from your account section. Backup your present copy first before updating it or you can add Avatar image at desired path
    inside images folder of Social-Learner
    We have added default avatar only of user do not have avatar or gravatar
    Regards

    #47636
    @unstoppablerecordingmachine

    I have updated my files to the most recent (they were the same as the version I was using when this occured) and the issue is still happening.

    Can you just tell me where these URLS are created in the php file so I can tell it to use the same folder as the profile images that appear correctly. I don’t understand why it tries to use a different folder for just a smaller version of the same image.

    See what I mean in my attachment.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The question ‘User Avatars images are broken in Activity Feeds’ is closed to new replies.