Tagged: MediaPress Activity feed images
Hello Brajesh,
Thanks for continuing to help me solve this problem!
I’ve checked what you advised, the wall gallery is already in public. I’ve taken screenshots but I can’t send them to you via this channel. However, I’ve noticed that on my profile, in the media section, the images do appear! But not in the news feed, I don’t understand why 😭Hi Jasmina,
Thank you for the reply.Please grant us temporary access to your staging site where we can see the issue.
Thank you
BrajeshHi Jasmina,
Thank you.
I am sorry I could not look into it last week. I had a look at the site today.
Your theme has a modified workflow for MediaPress(They have created their own experience).The issue is related to how activities are posted. In default BuddyPress, the activity is posted via ajax request and we attach to the request to send the uploaded media id.
In your theme’s case, a media id does not get send as the theme is using its own mechanism for posting activity.
The following code that attaches media id to activity request
jQuery(document).ajaxSend(function (event, jqxhr, settings) { if (is_post_update(settings.data)) { var attached_media = mpp_get_attached_media(); if (attached_media) { settings.data = settings.data + '&mpp-attached-media=' + attached_media; mpp_reset_attached_media(); } } });
is not getting called and media id is not associated with the posted activity. That’s why It is not working.
Please consult your theme developers and let them know the issue. If they can send the media ids with the activity post request, It will work. If they need any assistance from us, we will be glad to help.
Thank you
BrajeshHi Brajesh,
It’s a late reply but the probleme is solved, i had to change the template pack in BuddyPress Core > Option > Template Pack as « BuddyPress Legacy”.
Your answer was very helpful in clarifying the problem with the theme support ! Thank you for your support on my issues.
Jasmina
Hi Jasmina,
Thank you for the reply.
I am sorry, we could not help much. I am glad you found the solution.Regards
Brajesh
You must be logged in to reply to this topic.