Replies
- Brajesh Singh on September 24, 2019 at 2:15 am in reply to: [Resolved] Update error on Member Types Pro #25448
Hi Mike,
Is there any chance that the BuddyDev Dashboard plugin’s API key is not setup? I manually downloaded the plugin and the zip file seems to be valid.Regards
Brajesh - Brajesh Singh on September 24, 2019 at 1:37 am in reply to: When will Community Builder 2.0 will be ready? #25446
Hi Torben,
Thank you.
Yes, It will need some effort. we will be here assisting you with that.
2.0 is not backward compatible but ti should not take much effort to migrate unless you are using the Facey Blue color scheme. We have dropped Facy Blue from core and will be available as child theme in future.There are only minor change in child theme(better coding standard and so on). You can adapt them easily(or can keep using the child theme).
Regards
Brajesh - Brajesh Singh on September 24, 2019 at 1:33 am in reply to: [Resolved] BuddyPress Member Types Pro – Compatibility BP Profile Search #25445
Hi Johan,
Thank you.Thank you for sharing the translation, I have included it.
I have release 1.3.8 which fixes the translation issue and also includes a filter for limiting search.
Here is an example how to limit to certain member type
/** * Filter allowed member types in BP Profile Search. */ add_filter( 'bpmtp_profile_search_form_allowed_member_types', function ( $member_types ) { return array( 'student', 'teacher', ); // add more to the above list. } );That will limit search to student and teacher types(these are the unique names you use while creating member type).
Regards
Brajesh - Brajesh Singh on September 24, 2019 at 12:21 am in reply to: Premium support request – Gallery Reordering – Adding submenu item #25444
Hi Christian,
Thank you for renewing your membership. I sincerely appreciate it..
I have checked the video and I like the idea about reordering galleries. It will be a nice feature to have in the core itself.
If you want to do it yourself, You can hook to
mpp_setup_navand use
bp_core_new_subnav_item()to add sub nav item.
If you can sponsor 2 hours of development time, we will gladly add it with 1-2 weeks in the plugin. It will be part of the plugin eventually tough.
Regards
Brajesh Hi,
If you know the BuddyPress field id or label that you want to map, you can usexprofile_set_field_data($id_or_field_name, $member_id, "value" );Please make sure to change the $id_or_field_name and “value” with appropriate values.
Regards
Brajesh- Brajesh Singh on September 23, 2019 at 9:59 pm in reply to: Array of user IDs for specific member type #25442
Hi,
yes, the role based fetching is very easy.Here is a code to get all user ids for subscriber role.
$users_ids = get_users( array( 'role' => 'subscriber', 'fields' => 'ID' ) );Please feel free to change the role appropriately.
Regards
Brajesh - Brajesh Singh on September 23, 2019 at 9:52 pm in reply to: Insert content before Activity page #25441
Hi,
BuddyPress provides you a hook to add content before activity directory . You can attch tobp_before_directory_activityaction.
example.
add_action( 'bp_before_directory_activity', function () { echo "hello activity"; } );Hope that helps.
Regards
Brajesh - Brajesh Singh on September 23, 2019 at 9:47 pm in reply to: Filter for specific members type in the members loop #25440
Hi,
I am sorry if I was notr very clear.Since you mentioned you are creating a custom loop, Can you please tell me how are you creating a custom loop?
If you create a members loop, It will need the above function. If I can get some idea on how are you creating the members loop, I can assist better.
Regards
Brajesh - This reply has been marked as private.
- This reply has been marked as private.