Replies
- Brajesh Singh on March 5, 2019 at 10:43 am in reply to: [Resolved] Multiple Member Types in same directory #21317
Hi Joss,
Thank you for the question.1. Showing PMPro level, it is doable.
2. Listing users from 2 member types in one directory:- BuddyPress member types directory does not allow it. You can use our shortcode to achieve this though.For 1, I will look test install for PMPro a bit late today and post the code.
Regards
Brajesh - Brajesh Singh on March 5, 2019 at 10:34 am in reply to: [Resolved] Hiding activity for just one specific user #21316
Hi Kristian,
I am sorry, It seems you are mixing it with something else.
The code is only affecting the arguements for activity loop. There is no way it can affect your login unless there is something else wrong. It can not create the login related bug, I can assure you about that.About the code not working:- The only reason is may not work is either you are not looking at activity loop via bp_has_activities() or something else is modifying the activities.
The above code will exclude a users’s activity from sitewide activity page as well as other places where bp_has_activities() has been used.
There is a possibility that a plugin like BuddyPress wall, Facebook Like Activity Stream, activity privacy or RT media activity privacy can change this behaviour. These plugins modify the activity clause and that could cause it to not work.
Please check if you have any of these.
Regards
Brajesh - Brajesh Singh on March 5, 2019 at 9:50 am in reply to: Homepage buddypress activity LOAD MORE button error #21311This reply has been marked as private.
- Brajesh Singh on March 5, 2019 at 8:42 am in reply to: [Resolved] Buddypress activity autoloader plugin – problem of activity being repeated #21309
Hi Edward,
I am sorry, the issue is related to your theme.The auto loader plugin simply simulates click on load more. It is exactly same as a person clicking on “Load more” button.
Please disable it and give a ty to clicking load more.
As far as I understand, this needs to be resolved in the theme.
Regards
Brajesh Hi Thibault,
Is there any chance that the user was searching? Since the user is not excluded from search, they will appear if somehow they are being searched or search term is set on the page.Please do visit that user’s profile and check if the options for that specific user is set correctly or not?
PS:- Did the user registration happened as normal or did you add the user from dashboard?
Thank you
Brajesh- Brajesh Singh on March 4, 2019 at 10:02 pm in reply to: User Contact Form Mandatory fields and inidicators message sent #21303
Hi Barry,
That path will be buddypress/members/single/bpucf-form.phpWe need the following lines at its top
<?php if ( ! did_action( 'template_notices' ) ) : ?> <?php do_action( 'template_notices' ); ?> <?php endif; ?>It checks if notices action was not called, calls them.
Regards
Brajesh - Brajesh Singh on March 4, 2019 at 9:46 pm in reply to: [Resolved] BP Members With Uploaded Avatars Widget no longer showing members #21301
Hi Kuni,
I am sorry for the inconvenience. Please allow me to check it and post an update to you by tomorrow.Regards
Brajesh - Brajesh Singh on March 4, 2019 at 9:36 pm in reply to: [Resolved] Hiding activity for just one specific user #21300
Hi Kristian,
You can use the following
/** * Exclude a user's activity from listing. * * @param array $args args. * * @return array */ function buddydev_exclude_single_user_activities( $args ) { $args['filter_query'] = array( array( 'column' => 'user_id', 'value' => 46, // update with your own user id. 'compare' => '!=', ), ); return $args; } add_filter( 'bp_after_has_activities_parse_args', 'buddydev_exclude_single_user_activities' );Regards
Brajesh - Brajesh Singh on March 4, 2019 at 9:35 pm in reply to: User Contact Form Mandatory fields and inidicators message sent #21299
Hi Barry,
I a sorry for the inconvenience. Is there any chance that you had copied the template for form from the plugin to your theme or child theme?Regards
Brajesh - This reply has been marked as private.