Replies
- Brajesh Singh on March 6, 2019 at 7:34 pm in reply to: [Resolved] How to set BuddyPress Profile Completion plugin redirect priority to last #21371
Hi Tosin,
1. BP Profile Completion is a super set of BP Force Profile. You can remove BP Force Profile in favour of the Profile completion.
They have similar code but the custom code for force profile won’t work with profile completion.
The above code needs proper testing on Bp profile completion plugin, I will need sometime before I can test and provide you an update for it. Please reminding me by early Tuesday if I do not post the update here before that.
Thank you
Brajesh - This reply has been marked as private.
- Brajesh Singh on March 6, 2019 at 7:27 pm in reply to: [Resolved] Hiding a specific member from the 'recently active' list #21367
Hi Kristian,
Thank you.Here is a link to post that shows how to do it
https://buddydev.com/hiding-users-on-buddypress-based-site/
Please do note that hiding a user will remove him from the members directory as well as other places. Since the widget uses bp_has_members() and we don’t have a context to differentiate it. The code has side effect of hiding users from other places too.
Regards
Brajesh - Brajesh Singh on March 6, 2019 at 7:21 pm in reply to: [Resolved] BP Members With Uploaded Avatars Widget no longer showing members #21366This reply has been marked as private.
- Brajesh Singh on March 6, 2019 at 7:20 pm in reply to: [Resolved] Problem displaying sitewide activity by default #21364
Thank you Dale.
Than’s good to know.Regards
Brajesh - Brajesh Singh on March 6, 2019 at 7:20 pm in reply to: [Resolved] buddypress Deactivate Account Plugin #21363
Hi Jack,
Thank you for the post and the suggestion.Please feel free to do that. You can modify that line and use this instead
bp_core_add_message( sprintf( __( 'Your account is inactive. Please <a href="%s">activate</a> it to use all site functionality.', 'bp-deactivate-account' ), bp_loggedin_user_domain() . bp_get_settings_slug() . '/account-deactivator/' ), 'error' );PS:- Please open a new topic in future to allow us keep the forum organized and help you server better.
Thank you
Brajesh - This reply has been marked as private.
- Brajesh Singh on March 5, 2019 at 10:59 pm in reply to: [Resolved] Multiple Member Types in same directory #21351
Hi Joss,
Please try adding this in your bp-custom.php/** * Print user's active membership level. */ function buddydev_show_pmpro_membership_level_in_dir() { // for the logged in user. $level = pmpro_getMembershipLevelForUser( bp_get_member_user_id() ); if ( ! $level ) { return; } echo '<div class="bp-member-xprofile-custom-field bp-member-level">' . $level->name . '</div>'; } add_action( 'gwangi_buddypress_member_xprofile_custom_fields', 'buddydev_show_pmpro_membership_level_in_dir', 10 );Does it work for you?
Regards
Brajesh - Brajesh Singh on March 5, 2019 at 10:13 pm in reply to: [Resolved] BP Members With Uploaded Avatars Widget no longer showing members #21348This reply has been marked as private.
- Brajesh Singh on March 5, 2019 at 9:35 pm in reply to: [Resolved] BP Members With Uploaded Avatars Widget no longer showing members #21346
Hi Kuni,
I am sorry, the option “Use members loop from theme for listing?” will not work, no matter which theme you use or template pack you use.The reason is you have custom filters on members loop and our loop gets affected by that.
The solution is to differentiate between these two loops.
A probable solution will be to create a copy of members-loop.php in buddypress/members in the theme and pass some “context=>avatar-widget” and then the original role based filter code, we will return the args if this context is found.
If you are comfortable with it, Please do let me know.
Regards
Brajesh