-
Author
-
November 7, 2018 at 16:44 #213025surrealerParticipant
Hello,
I wanted to setup the complementary fields and got a big issue – many of my members are bisexual.
How do I setup this scenario?I need something like:
Profle:
-I am “female” looking for “both”That should match with :
1. males looking for females
2. males looking for both
3. female looking for females
4. females looking for bothand not match with:
1. males looking for males
2. females looking for malesI’m sure many other have this problem – where is the point to even have a choice here when both is not possible?
straight and gay/lesbian is possible but bisexual not?I hope you have a solution for this.
Other than that it’s a great theme so far.
Kind regards
Arne
November 8, 2018 at 19:26 #213066RaduModeratorHi,
Complementary fields mandatory matching it’s used for the matching feature not for searching profiles. (see screenshot)
To can increase the matching value when two or more fields are matching you will have to check the fields mentioned by you above in the Matching fields & Percentages area (see screenshot)
The profile search form fields can be managed under wp-admin -> users -> profile fields.
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionNovember 12, 2018 at 11:08 #213265surrealerParticipantHi Radu,
exactly – I want the correct matching for bisexual user like in my example above.If one is bisexual, it has to match for males and females!
Greetings
ArneNovember 12, 2018 at 11:16 #213268surrealerParticipantPlease provide me a fix for this. We write the year 2018 and being bisexual is as usual as being straight 😉
I added screenshots to make clear about it!
Looking for needs to have added both! I could go through the code on my own – but it’s your product and will be a way easier for you to find.
Also it’s something you really should integrate in your product.
Attachments:
You must be logged in to view attached files.November 12, 2018 at 20:41 #213309RaduModeratorHi,
There it’s no quick way to add another complementary field… i will ask the developer if there it’s a quick and reliable way to do that.
I will let you know those days.
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionNovember 13, 2018 at 12:31 #213347surrealerParticipantHere is a solution – but you should build it in your theme!
Add “Any” as option to the “Looking for a” profile group and rename it to “Looking for”
(remove the a at the end of looking for)Open: sweetdate\custom_buddypress\bp-functions.php
Change Line 2139 to:
if ( ( $field1_u1 == $field12_u2 || $field12_u2 == "Any" ) && ( $field12_u1 == $field1_u2 || $field12_u1 == "Any" ) ) {
Done 🙂
November 13, 2018 at 14:23 #213355RaduModeratorGlad if you had solve it, we had developed a new theme that contains also two complementary fields.
It will be released in future.
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
You must be logged in to reply to this topic.