BuddyDev

Search

[Resolved] Mediapress – Images published on activity feed not available

  • Participant
    Level: Initiated
    Posts: 12
    jasmina on #52396

    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 😭

  • Participant
    Level: Initiated
    Posts: 12
    jasmina on #52429

    Hello,

    I’m coming back to you to see if anyone has a solution to my problem, please.
    Perhaps you’d like further information or to interact directly on the website?

    Thanks again for helping me find a solution.

    Sincerely
    Jasmina

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #52430

    Hi Jasmina,
    Thank you for the reply.

    Please grant us temporary access to your staging site where we can see the issue.

    Thank you
    Brajesh

  • Participant
    Level: Initiated
    Posts: 12
    jasmina on #52441
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #52450
    This reply has been marked as private.
  • Participant
    Level: Initiated
    Posts: 12
    jasmina on #52508
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #52527

    Hi 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
    Brajesh

  • Participant
    Level: Initiated
    Posts: 12
    jasmina on #52681

    Hi 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

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #52694

    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.

This topic is: resolved