BuddyBoss Home – Web › Support Forums › Solutions › Social Learner › User Avatars images are broken in Activity Feeds
- This topic has 4 replies, 2 contibutors, and was last updated 9 years, 1 months ago by Joey.
Question
September 29, 2015 at 7:51 pm #47499@unstoppablerecordingmachineThe 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 PanelI am using Social Learner for LearnDash
Answers
September 30, 2015 at 6:48 am #47546@
AnonymousHi @unstoppablerecordingmachine,
both are giving your broken avatar ?please check once
http://xxx.xxxxxx/wp-content/uploads/avatars/1/0a932d194761c5f0f4a5b5149586464e-bpfull.png
http://xxx.xxxxxx/wp-content/themes/social-learner/images/avatar-member.jpg
for 404Regards
September 30, 2015 at 11:03 am #47564@unstoppablerecordingmachineThe 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.
September 30, 2015 at 11:55 am #47574@
AnonymousHi @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
RegardsSeptember 30, 2015 at 9:29 pm #47636@unstoppablerecordingmachineI 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.
- The question ‘User Avatars images are broken in Activity Feeds’ is closed to new replies.