Plugin Support
Youzify
(@kainelabsteam)
Hello @alonagomez
Thank for reaching us
Can you please send your Activity page URL please? I will check it further.
Best Regards, KaineLabs Team.
Hi Support,
Here is the URL. Please try to fix it ASAP because I need to delete it, it looks ugly. Thanks. https://carefy.ph/activity/
Plugin Support
Youzify
(@kainelabsteam)
Hello @alonagomez
Please try use this snippet to fix it
/**
* Disable All Auto Embeds and Keep Specific Sites Only.
**/
add_filter( 'bp_embed_oembed_html', function( $html, $url ) {
if ( strpos( $url,'youtube') !== false || strpos( $url,'youtu.be') !== false || strpos( $url,'soundcloud.com') !== false || strpos( $url,'vimeo') !== false || strpos( $url,'dailymotion') !== false) {
return $html;
}
return '';
}, 10, 2 );
/**
* Mark Local Site Links as not Embed.
*/
add_filter( 'pre_oembed_result', function( $null = null, $url ) {
$site_domain = parse_url( site_url(), PHP_URL_HOST);
if ( strpos( $url, $site_domain ) !== false ) {
return '';
}
return null;
}, 10, 2 );
Best Regards, KaineLabs Team.
Thanks the snippet worked. You can close this issue.
Plugin Support
Youzify
(@kainelabsteam)
We are happy that we were able to help you.
If you don’t mind could you take a moment to leave us a 5-Star rating please?
https://ww.wp.xz.cn/support/plugin/youzify/reviews/
We know that this might take little effort and time from you, but your support will mean a lot to us. Because your review will help people feel confident about choosing Youzify. And will help us grow the team to speed up the development process and improving this plugin.
Have a wonderful day. 🙂
Best Regards, KaineLabs Team.
I will 5 star review your plugin after you fixed the other issue on Youzify photos in the Media Library. Thanks.
Sorry support. Please re-open this because the snippet only work for the host website. But if you share other website and do not delete the URL, the post will be empty. Please help me fix this.
The empty post are happening on some websites using Guest mode in LiteSpeed. I close this issue and Thanks.
Plugin Support
Youzify
(@kainelabsteam)
Hello,
Thank you for let us know this info. 🙂
Best Regards, KaineLabs Team.