Replies
- Brajesh Singh on November 11, 2024 at 1:06 am in reply to: [Resolved] BuddyPress Lock Unlock Activity Permissions #53483
You are welcome!
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- Brajesh Singh on November 11, 2024 at 12:35 am in reply to: [Resolved] BuddyPress Redirect To Profile #53481
Thank you.
It’s good to know that you found the solution.Regards
Brajesh - Brajesh Singh on November 11, 2024 at 12:34 am in reply to: Hiding users on buddypress based site #53480
Hi Katrine,
Thank you for reporting the issue.I am sorry, I don’t see any issue that it will cause with 3rd party code unless they are doing something strange. BuddyPress global search is abandoned(also unlisted from WPorg due to security issue)
https://wordpress.org/plugins/buddypress-global-search/I am not sure which direction I should point you to. I will suggest if feasible, try using a different plugin.
Regards
Brajesh - Brajesh Singh on November 11, 2024 at 12:30 am in reply to: How to Remove “Name:” and “Email:” Fields in Report Form #53479
Hi Avi,
Thank you for the question.Please visit Dashboard->Moderation->Settings->General and look for “Form Fields to show”. Please uncheck the fields. Make sure you also uncheck it from the “Required fields”.
That should do it.
Regards
Brajesh - Brajesh Singh on November 9, 2024 at 12:18 am in reply to: [Resolved] BuddyPress Lock Unlock Activity Permissions #53470
Hi Katrine,
Thank you for using the plugin.Please give it a try.
add_filter( 'bp_lock_unlock_user_can_update_activity', function ( $can ) { return is_super_admin(); } );
Regards
Brajesh 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?
Thank you. I am looking forward to it.
Regards
BrajeshHi 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- This reply has been marked as private.