Replies
like here: https://kainelabs.ticksy.com/article/14148
It seems that the code completely delate the comments section. It wasn’t quite the point. I meant curl so that they were visible but only after clicking
- This reply was modified 4 years, 7 months ago by rav.
Hello
I also use a plugin to build a global activity stram BP Profile Activity Wall
By Venutius. It’s a bit old but I don’t know an alternative to it. I thought maybe this is causing the problem but when turned off it is still the same.I have tried something like this but it deletes comments (does not collapse) and the same stream posts are still loading
function hide_comments(){ if ( ! bp_is_activity_directory() ) { return $r; } $r['display_comments'] = false; return $r; }' add_action( 'bp_after_has_activities_parse_args', 'hide_comments');
- This reply was modified 4 years, 7 months ago by rav.
Hi Ravi
I added code into functions.php in my child theme.
I’m trying to get the effect of hiding comments in a member’s activity
I used the code you sent me a few messages earlier (yesterday).- This reply was modified 4 years, 7 months ago by rav.
Hello Brajesh Singh,
I don’t use Youzer. I’m using the standard version of buddypress 5.2 with the Nouveau templateHello,
Thank you for your response.
Unfortunately, the code you have published does not work for me.
Comments still show up after loading more posts.- rav on February 11, 2020 at 9:56 am in reply to: change the display location of the "what's new" form #27670This reply has been marked as private.
Hi @Brajesh Singh
I tried the possibilities that I found on the web:
wp_oembed_remove_provider ( ‘#http: // (www \.)? YouTube \ .com / watch. * and #’);
wp_oembed_remove_provider ( ‘#https: // (www \.)? YouTube \ .com / watch. * and #’);
wp_oembed_remove_provider ( ‘#http: // youtu \ .be /.*# I’);
wp_oembed_remove_provider ( ‘#https: // youtu \ .be /.*# I’);Unfortunately it doesn’t work. Now, however, another question came to my mind.
Can you change the embedding to display only image instead of video?
Even for links from YouTube?Hi @Brajesh Singh
Thank you for your answer.
I am sorry but I have another question and please answer. When someone comments on a graphic placed in an activity stream, information appears, for example “rav commented on mercime’s photo”
How do you turn off this notifications on your activity stream?