Replies
- Brajesh Singh on March 15, 2016 at 7:18 am in reply to: [Resolved] User Galleries in user card in backend #3002
Hi Gregorio,
I have added the feature in the current trunk
https://github.com/buddydev/mediapress/commit/fdfc30f60b99be2497ba08eb9a5a109a25930044once 1.0.4 is available on wp.org, It will be visible.
Thank you
Brajesh - Brajesh Singh on March 15, 2016 at 7:16 am in reply to: [Resolved] Request to add 'Left group' activity entry to BuddyPress #3001
You are most welcome Rug 🙂
Thank you Rug 🙂
Hi Again,
Here is the plugin release post
https://buddydev.com/buddypress/listing-user-groups-for-buddypress-with-the-buddypress-extended-user-groups-widget/- Brajesh Singh on March 15, 2016 at 5:32 am in reply to: [Resolved] Request to add 'Left group' activity entry to BuddyPress #2995
Hi,
I am sorry, I missed to post.You can use the following code in your bp-custom.php to add a left group activity
function buddydev_group_leave_group_activity( $group_id, $user_id ) { // Bail if Activity is not active if ( ! bp_is_active( 'activity' ) ) { return false; } // Get the group so we can get it's name $group = groups_get_group( array( 'group_id' => $group_id ) ); $action = apply_filters_ref_array( 'groups_activity_left_group_action', array( sprintf( __( '%1$s left the group %2$s', 'buddypress' ), bp_core_get_userlink( $user_id ), '<a href="' . bp_get_group_permalink( $group ) . '">' . esc_attr( $group->name ) . '</a>' ), $user_id, &$group ) ); // Record in activity streams groups_record_activity( array( 'action' => $action, 'type' => 'left_group', 'item_id' => $group_id, 'user_id' => $user_id ) ); } add_action( 'groups_leave_group', 'buddydev_group_leave_group_activity', 10, 2 );
Hope that helps.
- This reply was modified 9 years, 7 months ago by
Brajesh Singh. Reason: Updated the name of function to fix typo
- This reply was modified 9 years, 7 months ago by
Hi,
Yes, It is complete and available on github. I will make a post today and link here.Thank you
Brajesh- Brajesh Singh on March 15, 2016 at 4:26 am in reply to: Could blog-categories-for-groups post to a groups activity stream? #2993
Hi Jan,
@ravi1987 has taken over this project yesterday. We will have some update very soon now. No more delays in week. It will be 2-3 days at max. - Brajesh Singh on March 15, 2016 at 4:23 am in reply to: Conditional Profile Fields: 2 ideas/wishes to improve this awesome plugin #2992
Hi Blade,
That looks to me a very god idea. Been using profile search on a few of my projects. I am sure it will be very beneficial for me as well as the whole community.Thank you
Brajesh - Brajesh Singh on March 15, 2016 at 4:21 am in reply to: [Resolved] BuddyPress User Profile Visibility Manager – Friendships #2991
Hi Rug,
I am going to write some of the part of profile visibility in a day or two and will update here - Brajesh Singh on March 15, 2016 at 4:07 am in reply to: [Resolved] Having problems with showing BuddyBlog posts in activity feeds #2990
you are most welcome 🙂