Tagged: anonymous, bugs, deactivate account, mediapress
Hello
I just purchased two more of your plugins, but now noticed some bugs and I’ve been troubleshooting to figure out where the issue is coming from. This made me aware of a few bugs.
1. MediaPress shows dropzone on user profiles (container) after posting an activity. The activity doesnโt even have any attachments related to MediaPress and is simply just text update. Haven’t noticed this since most testing has been made from within the “Activity Wall” itself. Also once this container has been shown in this way you’re not able to close it on X. Even if I click on image in order to upload something – this container doesnโt go away.
2. BuddyPress Deactivate Account is breaking my theme. Under the user profile it looks somewhat okey, but it messes with the page theme (container/width of page). Also on the Activity Wall the theme is completely broken and for that reason I’m not able to allow users to “deactivate their own account”. Also when searching for a user that is “hidden/deactivated” it also comes up with critical error – at least when using Global Search.
3. BuddyPress Anonymous Activity and MediaPress still needs update to make them compatible (still waiting for your support with this too – just decided to attach it here too). The media uploaded when anonymous is checked provides no protection for the anonymous user since everything is still tracked in that case within MediaPress.
Hope you’re able to help fix some of this! – Thank you.
Note: If I run into more issues, I’ll let you know. ๐
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.
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. ๐
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
BrajeshI 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?
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 linkCache 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.1I know you’re super busy! ๐
If you need anything else, please let me know. ๐
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
YoutubeHi 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
BrajeshHello 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! ๐
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.