Forum Replies Created
-
hi @bruce30, thanks for your help 🙂 However, i don’t want to completely remove the ability for friend connections I just don’t want certain members to have friends. I guess I will have to leave this issue as is. It really is a bummer that buddypress devs cannot provide code that help us add/remove features for different member types. What is the point of member types function if members still have same abilities?
Thanks @henrywright, but I can still see ‘add friend’ button on profile and directory for this member type. Any other solution?
hello? please kindly help me with this. I want to remove/hide for my specific member type.
Hi Steve, the code above disallows commenting on specific activity types which is not what I wanted. To get rid of those pesky notifications on the activity stream you should use this code in your theme’s functions.php file:
function filtering_activity_default( $qs ) { if ( empty( $qs ) && empty( $_POST ) ) { $qs = ‘action=activity_update'; } return $qs; } add_filter( ‘bp_ajax_querystring’, ‘filtering_activity_default’, 999 );
I got the code from this thread.
I hope it works out for you!
I am sorry for double posting. But maybe I didn’t explain correctly what I want to do. I want all activities to allow comments but I don’t want the comments (which says ‘Browserco posted a new activity comment‘) posted to the activity feed.
For example, when I comment on something Beyonce just posted to her activity stream a copy of my comment also posts to my activity feed along with a ‘view conversation’ button so everyone can see my response to that activity. This becomes a problem when I make a comment on several user’s activity updates because my feed quickly fills up with them such as if I were liking activities across the site all you will notice on my activity feed is ‘Browserco commented…’ or ‘Browserco liked…’ too many times that it overshadows my updates (things I want to share with my friends/followers). I don’t want that. Comments should not be posted by themselves as separate entries, but I think should stay where they are posted (in this case, on Beyonce’s profile under her activity update). That way users activity posts which has its own comment and replies beneath them are not overshadowed on their feed.
I know this is a very great feature but it is best to be included in the select filter box so users can choose to see another users comments across the site or a user can see/keep track of their own comments across the site without having to go to the original activity.
I hope I explained myself well enough. Also I found a way to show ‘activity updates only’ in the activity feed so this issue is actually resolved. But I really would like to request that comments from across the site can be filtered via the select box or another tab. It is really nice to see my comments without having to go to actual activity post.
Thank you
Also, I think the link is a plugin. But I read in another topic that it was added to the buddypress core. Anyway, I have no clue and I will be grateful for any help in this regard.