Replies
- Brajesh Singh on March 7, 2019 at 4:41 pm in reply to: [Resolved] conditionsprofile field (if i am a women, i search man) #21406
Hi,
I had a look at the registration page.1. Please disable the conditional field plugin. You do not need that for this case.
2. I will post some code(in couple of hours) to help you get it working.Regards
Brajesh - Brajesh Singh on March 7, 2019 at 4:40 pm in reply to: [Resolved] Primary menu items not appearing on any pages other than Buddypress pages #21405
Hi Sam,
Thank you.Please allow me to update the plugin. Will be releasing in next couple of hours and will be writing back.
PS:- About upgrading to our membership, I will be providing coupon to get the plugin price discounted from the membership cost.
Regards
Brajesh - Brajesh Singh on March 7, 2019 at 4:33 pm in reply to: [Resolved] Check if checkbox have data and print corresponding member name #21403
Hi Pause,
Thank you for the question.I am sorry but I still unsure of the question.
1. Do you want to list all users who have selected(checked) some of these option and then show them as well as their choices.
2. Or do you want to list all users who have checked a specific choice? This will be a bit difficult for large number of users(40 is fine).
PS:- Will you have a lot more users in future or is it going to be limited to few users? I am asking to help me provide you more efficient solution.
Thank you
Brajesh - Brajesh Singh on March 7, 2019 at 4:24 pm in reply to: [Resolved] conditionsprofile field (if i am a women, i search man) #21400
Hi,
I am sorry but the way you are looking for is not available in BuddyPress.What you are looking for a derived/caculated field from the values of another field.
The general strategy in this case is to use only one field and calculate the other value.
For example, If a person is Man, you can write code to derive the Research field value as woman.
There does not seem to be any existing solution for this kind of use case. I do see that you can write some code to sync value of another field based on a field.
If you can post me the field ids for both the field(and exact options), I will be able to provide you some code to resolve it.
Regards
Brajesh 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
Brajesh