Replies
Hi Vivek,
No,
The answer was in context to “member type field”.Regards
Brajesh- Brajesh Singh on March 7, 2019 at 1:43 pm in reply to: [Resolved] Multiple Member Types in same directory #21394
Hi Joss,
I am using the hook provided by you in the previous replygwangi_buddypress_member_xprofile_custom_fieldsPlease ask the theme developer for the correct hook or you can use the updated code like this
function buddydev_show_pmpro_membership_level_in_dir() { if ( ! bp_is_members_directory() ) { return; } // 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 );Regards
Brajesh - Brajesh Singh on March 7, 2019 at 1:17 pm in reply to: [Resolved] BP Members With Uploaded Avatars Widget no longer showing members #21393This reply has been marked as private.
- Brajesh Singh on March 7, 2019 at 12:55 pm in reply to: [Resolved] Hiding a specific member from the 'recently active' list #21391
Hi Adi,
You are welcome. Glad that I was able to assist.Regards
Brajesh - Brajesh Singh on March 7, 2019 at 12:33 pm in reply to: [Resolved] buddypress Deactivate Account Plugin #21386
No problem.
You are welcome 🙂 Hi Max,
Thank you for asking.I am not sure what kind of lazy load you are referring to. Is it about images? It will depend on the plugin/code offering lazyload whether they will work with it or not(they work with selectors most of the time). My suggestion will be to give a try and see how it goes.
Regards
BrajeshHi Irene,
Thank you for the details.Please allow me to look at it and get back to you later today.
Thank you
Brajesh- Brajesh Singh on March 7, 2019 at 12:30 pm in reply to: [Resolved] Force profile photo upload on a specific page #21383
Hi Jack,
I am sorry, It is not possible to show the javascript for it. I will suggest updating the theme to make the notice a bit more prominent. That should help in long run.All the best.
Regards
Brajesh - Brajesh Singh on March 7, 2019 at 12:28 pm in reply to: [Resolved] BuddyPress xprofile fields #21382
Hi Vivek,
Please add this to your bp-custom.php.I have allowed all image types.
/** * Add images types to allowed file extension. * * @param array $extensions all extension. * * @return mixed */ function buddydev_custom_profile_field_type_file_extensions( $extensions ) { $extensions['file'] = array_merge( $extensions['file'], array( 'jpg', 'jpeg', 'gif', 'png', ) ); return $extensions; } add_filter( 'bpxcftr_allowed_extensions', 'buddydev_custom_profile_field_type_file_extensions' );Regards
Brajesh - Brajesh Singh on March 7, 2019 at 12:20 pm in reply to: [Resolved] Display problem with BuddyPress extended friendship plugin #21381This reply has been marked as private.