BuddyDev

Search

Multiple plugins – bugs

  • Participant
    Level: Enlightened
    Posts: 57
    Katrine Spencer on #53465

    I can confirm that the conflict within bug #1 is a compatibility issue from MediaPress to Activity Link Preview For BuddyPress Plugin.

    https://wordpress.org/plugins/activity-link-preview-for-buddypress/

    If this can somehow be fixed so they’re compatible, it would be amazing – not sure if this is possible.

  • Participant
    Level: Enlightened
    Posts: 57
    Katrine Spencer on #53466

    I tried removing the activity link preview plugin and within MediaPress the settings for “Enable oembed support” is set to yes. Inserting a link into an activity (even on it’s own line down below) dosen’t show any preview or anything.

    The link is just added in the activity and nothing else happens. ๐Ÿ™‚

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #53467

    Hi Katrine ,
    Thank you for using the plugin and reporting the issue.

    In order for oembed to work, the link should be from one of the sites that support oembed for video/photo/audio (e.g. youtube).

    As for including directly into activity, WordPress needs you to add a line break before/after the link to consider it as an embed candidate. Please try doing that.

    I am sorry that we haven’t pushed updates with MediaPress. It needs significant time and we have been distracted with a few other things. We will be addressing the issue soon.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #53469

    I am sorry, I missed to address point 2. Can you please remind me about the theme again? Which theme and template pack are you using?

  • Participant
    Level: Enlightened
    Posts: 57
    Katrine Spencer on #53472

    Hello again ๐Ÿ™‚

    I just tried the oembed again and it works, but it dosen’t show a preview in the activity and that is one of the features I liked about the Activity Link Preview For BuddyPress Plugin. Also the other plugin alows users to embed images from multiple pages (eg. Google and so on) – which is super helpful.

    Even with the oembed set to No in the settings it still displays image if the same link is inserted.

    I’ve got all of the following set to no within MediaPress:
    Enable oembed support
    Enable adding direct link to files from other sites
    Enable adding media through link

    Cache on both server and site is cleared and it still embeds the image (ticking yes/no dosen’t make any difference).

    Also a bug within MediaPress (the one causing a lot of issues – even without the Link Preview plugin enabled) causes the “mpp-activity-media-upload-container” to bug out when posting activities.

    This happens when I upload something “embedded” – example this image of a dog from Flicker https://flic.kr/p/24TEzbe.
    Once an embedded image has ben uploaded and I try to write another activity right after and choose the “upload image button” and open the “upload dropzone” – this is not able to be closed. So this is something that needs to be looked into. I also assume this is what is causing the conflict I’m having on the previous bug #1.

    I would like to use the Activity Link Preview For BuddyPress Plugin for uploading images by link and not the MediaPress. MediaPress would be used for upload only by the buttons (image, sound, video – from local pc).

    – – – – – – – – – – – –

    For the second bug (Deactivate Account) I use the following theme and settings:

    Theme: Cera (by Themosaurus)
    WordPress: Version 6.6.2
    BuddyPress: Version Version 14.2.1

    I know you’re super busy! ๐Ÿ˜€

    If you need anything else, please let me know. ๐Ÿ™‚

  • Participant
    Level: Enlightened
    Posts: 57
    Katrine Spencer on #53473

    Hello tested some more of the oembeds and not a lot is supported.
    I haven’t been able to make a lot of them work since most use “blocks”.

    The only ones I’ve manged to make work are the following:
    Pinterest
    Flickr
    Youtube

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #53482

    Hi Katrine,
    Thank you for the reply and the details.

    If you put a link directly in activity content, that is handled by BuddyPress not MediaPress. BuddyPress supports oembed links out of the box for all the providers supported by WordPress.
    https://developer.wordpress.org/reference/hooks/oembed_providers/

    In case of MediaPress, we do not support embedding, we support attaching oembed media to activity or a gallery. We also limit to the providers which return ‘photo’ or ‘video’ as type in the oembed response. That helps us to identify what type of content we are dealing with.

    The Activity Link preview works with both the oembed and non oembed urls. For non oembed, they scrap the page and parse it to extract media/title etc.

    I believe I know the reason for our conflict with activity preview as I had a look at their code today. I will post an update in next 24-48 hours.

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 57
    Katrine Spencer on #53484

    Hello again

    I didn’t know that BuddyPress also had oembed support, that’s pretty cool! ๐Ÿ™‚

    Thank you for the provided link for oembed, this is very helpful indeed.

    I tried going into troubleshooting mode and only turned on the child theme – including the required plugins + MediaPress and I can confirm that this alone is causing the issue of the stubborn container on the User Profile > Activity page. Whenever I create an activity from the user profiles it shows up with the container (.mpp-media-upload-container).

    So, the conflict seems to be within the MediaPress itself (maybe the theme) and not the Activity Link Preview plugin.

    I’m not sure I’m going to use the Activity Link Preview, since it doesnโ€™t provide anything major that isn’t already supported by MediaPress and/or BuddyPress itself with oembed.

    Here is a image for reference: https://ibb.co/7WJtfMZ

    I really appreciate your help! ๐Ÿ™‚

    Thank you! ๐Ÿ™‚

  • Participant
    Level: Enlightened
    Posts: 57
    Katrine Spencer on #53485

    Hello again

    I just made a temporary fix to the container since I noticed the “inactive” within the class.

    I noticed it had display: none – so I added an !important to that one and it seemed to have fixed the issue for now.

    `/* FIX: Remove inactive media upload container from profile activity page */
    .mpp-upload-container-inactive {
    display: none !important;
    } `

You must be logged in to reply to this topic.

This topic is: not resolved