BuddyDev

Search

Replies

  • Participant
    Level: Enlightened
    Posts: 52
    Katrine Spencer on #53494

    Hello again!

    Sorry about the late reply! πŸ™‚

    Yes it seems to have fixed the issue for now – but I’m not using the Activity Link Preview plugin right now, so not sure if they’re going to be compatible if I use it later lol.

    I’m still having issues with the Deactivate Account plugin though. πŸ™‚

    Lock / Unlock works perfect!

  • Participant
    Level: Enlightened
    Posts: 52
    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;
    } `

  • Participant
    Level: Enlightened
    Posts: 52
    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: 52
    Katrine Spencer on #53477

    In this case I’m working with 3 user roles

    *Basic* This is the one set to hidden with the provided snippet
    User role: pmpro_role_1

    *Standard* This is visible
    User role: pmpro_role_2

    *Premium* This is visible
    User role: pmpro_role_2

    Also using the following setup:
    WordPress: Version 6.6.2
    BuddyPress: Version 14.2.1
    BuddyPress Global Search: Version 1.2.1

  • Participant
    Level: Enlightened
    Posts: 52
    Katrine Spencer on #53475

    Hello

    I just remembered that PMP shows the “restricted content”-page, so in this case this would work fine.

  • Participant
    Level: Enlightened
    Posts: 52
    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

  • Participant
    Level: Enlightened
    Posts: 52
    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: 52
    Katrine Spencer on #53471

    That worked – thank you! πŸ™‚

  • Participant
    Level: Enlightened
    Posts: 52
    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. πŸ™‚

  • Participant
    Level: Enlightened
    Posts: 52
    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.