Replies
- Brajesh Singh on March 11, 2019 at 10:21 pm in reply to: [Resolved] conditionsprofile field (if i am a women, i search man) #21495
Hi,
I am sorry but this is beyond what I can assist you in our support currently. I am having trouble modifying due to language on the site(Using google translator there).
It is doable. The better approach will be to use member types as gender and then filter bp_has_members args. In your case you are using xprofile field, this will work too but it won’t be as efficient or scalable as member type based solution.
I will assist with you in next 2-3 days with the code for filtering out opposite gender member though.
Thank you
Brajesh - Brajesh Singh on March 11, 2019 at 10:17 pm in reply to: [Resolved] Location one file in buddypress #21494
Hi Michaël,
Thank you.The code can be put in any plugin file or theme’s functions.php. To add a nav menu, BuddyPress has an API.
Please seehttps://codex.buddypress.org/developer/function-examples/core/bp_core_new_nav_item/
Regards
Brajesh - Brajesh Singh on March 11, 2019 at 10:07 pm in reply to: BuddyPress Member Types Pro question #21493
Hi Irene,
I have tested it now.
The problem is still happening due to PMPro changing member type.
Since we do not use PMPro’s member type functionality, you can simply comment this linehttps://github.com/strangerstudios/pmpro-buddypress/blob/dev/pmpro-buddypress.php#L27
The line is
require_once( PMPROBP_DIR . '/includes/member-types.php' );That will disable PMPro changing member type and will fix the issue.
Regards
Brajesh - Brajesh Singh on March 11, 2019 at 4:27 pm in reply to: Homepage buddypress activity LOAD MORE button error #21490This reply has been marked as private.
- Brajesh Singh on March 11, 2019 at 4:10 pm in reply to: Upon account activation, members are directed to WP login page #21488
Hi Edward,
This should work./** * Redirect to some page on activation. */ add_action( 'bp_core_activated_user', function( $user_id ) { if ( defined( 'DOING_AJAX' ) ) { return; } $url = site_url('/'); bp_core_redirect( $url ); }, 20 );Please make the change in url to point to the correct page.
Regards
Brajesh - Brajesh Singh on March 11, 2019 at 4:09 pm in reply to: [Resolved] conditionsprofile field (if i am a women, i search man) #21487This reply has been marked as private.
- Brajesh Singh on March 11, 2019 at 3:59 pm in reply to: [Resolved] conditionsprofile field (if i am a women, i search man) #21484This reply has been marked as private.
- Brajesh Singh on March 11, 2019 at 3:56 pm in reply to: [Resolved] No caching for buddypress profile data. #21483
Hi Kristian,
I do not suggest doing it. BuddyPress implements the proper caching(clears cache on update).I will suggest consulting withe the developer of caching platform(or hosting if it is offered by your hosting) and see if they can help.
Regards
Brajesh Hi Irene,
Thank you for the patience.I have checked their code again and we will need to update(most probably). As far as I see, changing Membership level is changing member type.
For now, Please allow me another 24 hours, there might be a simple solution. We can keep member type to level to member type. I need to test a little more before providing an update.
Thank you
Brajesh- Brajesh Singh on March 11, 2019 at 2:14 am in reply to: [Resolved] Facebook like activity settings #21476
Thank you. Have a wonderful night to you too.