Replies
- calu on April 17, 2021 at 10:13 pm in reply to: [Resolved] Single Member Type fields with no default value, are assigned with Member Types #37992
Hi there, I think I can see what is wrong here.
I have created two similar Single Member Types fields
1. field: Own gender
2. field: looking for gender
But of course I can’t have two similar fields with different functions.
So when users register they are assigned field 2 with their gender, which should have been field 1. (I assume field 2 then overwrites field 1).
1. How do I solve this gender issue, where I can define both own gender and having a field for which gender users are looking for – also with an option for choosing own gender?
I have been using this code snippet so far, but this does not take in account members searching own gender:
Show only users of opposite genders on BuddyPress site
https://buddydev.com/show-only-users-of-opposite-genders-on-buddypress-site/2. Do I need this code using MTP, or does Pro have a build in solution to this problem like showing different directories to different Member Types?
On the plugin page under ‘Where should I use BuddyPress member types?’
Dating sites(male/female member type)are mentioned.So I guess there must a straight forward answer to this, I just can’t figure it out.
Can you help?
Regards
Carsten - calu on April 17, 2021 at 8:10 am in reply to: [Resolved] Single Member Type fields with no default value, are assigned with Member Types #37938
Hi there, the problem in particular is that if you are using a default Ajax WP registration with name, email, and password, combined with ‘BP Non Editable Profile Fields’ and ‘BuddyPress Profile Completion’ to get users to fill out the required BP fields after registration, users are not warned or aware of that a wrong value for their gender has been set.
Regards
Carsten - calu on April 14, 2021 at 3:18 pm in reply to: Clarification of the Recent Visitors Recording Policy settings #37798
Hi Brajesh, thanks for the clarification, I guess it is logic when you write it this way. So in short, if you have to receive visits your own visits has to be displayed to those users as well.
My license for recent visitors is not active at the moment, because I still have issues with discrepancy between the visit counts and the actual visits, the just don’t match.
Is this something I could ask you to investigate, have you had other users reporting this issue?
Regards
Carsten - calu on April 14, 2021 at 3:06 pm in reply to: Friends directory and Recent Visitors directory do not follow Members Loop #37795
Hi Brajesh, sorry for not understanding Member Loop correctly, I have styled my members directory and added extra profile fields in header, but of course this customization is not added to these lists as well.
Is there a selector and function to style and add functions to all these members lists, so they all look the same?
Thanks!
Regards
Carsten Hello Ravi, thank you very much for your help, much appreciated, it’s working perfectly.
I can use the code for hiding the button in members header actions as well, but the only function I can find in BP documentation is
bp_is_user_profile()
which removes the friend button from all of the profile page. Is there a function for the member header action?I can see that there are many approaches to hiding buttons,
add_action
.remove_action
oradd_filter
,return $button;
,'__return_false'
,$display = false;
Is there any systematic approach when choosing method?
Thanks again.
Regards
Carsten- calu on April 12, 2021 at 8:57 pm in reply to: Associate different WordPress roles to different Member Types at sign up level? #37682This reply has been marked as private.
- calu on April 12, 2021 at 4:54 pm in reply to: Associate different WordPress roles to different Member Types at sign up level? #37671This reply has been marked as private.
- calu on April 1, 2021 at 3:01 pm in reply to: Associate different WordPress roles to different Member Types at sign up level? #37423This reply has been marked as private.
- calu on April 1, 2021 at 2:48 pm in reply to: Associate different WordPress roles to different Member Types at sign up level? #37422This reply has been marked as private.
- calu on April 1, 2021 at 12:39 pm in reply to: Associate different WordPress roles to different Member Types at sign up level? #37417
Hi Ravi, thanks for your reply, just to clarify this, if the Member Type is assigned already at registration, using the Single Member Type profile field, then the user role eg. customer can be assigned as well, I can’t see how this is done in the “Setup automatic WordPress role assignment based on BuddyPress member type” chapter and screen shot?
Will this surpass New User Default Role in WP General settings?
Regards
Carsten