I’m sorry, but I don’t understand what you mean.
How do I disable all Users, and why?
@yolandal
If you disable all Users by default it’s the User’s decision to participate in your Members Directory in ordnance with the consent of GDPR.
I have tried to explain these UM settings here:
https://imgur.com/a/mpHsZrM
You can add info about the Members Directory in your Terms & Conditions or Privacy Policy for the User at Registration.
Hello MissVeronica,
Thank you for your explanation, but this is not what I want. And also not a solution for my problem.
All profiles need to be open for members to search for other members, but only in the first_name and last_name field. Not in the bio or elsewhere. And, once found, a member has to be able to see the full profile of another member.
The setting for a minimum of 3 characters works well. But the only thing I want is to search ONLY in the first_name and last_name fields.
Is this possible with a PHP code?
-
This reply was modified 8 months, 4 weeks ago by yolandal.
Thank you for the tip, but that is not working for me.
I really want a page with the search bar, not a widget.
I find it odd that this seems to be so difficult (impossible?). There has to be a way with PHP to only search in certain fields, in this case the first + last name?
I’m afraid that code is not working…
When I search on ‘met’ I’m still getting results of profiles with ‘met’ in their bio….
@yolandal
I have looked in the MySQL coding for the search with names and the Bio field is not included in the searched fields.
Try to do a Theme/Plugin conflict test if your Theme or another Plugin is causing a conflict with the UM search.
https://docs.ultimatemember.com/article/96-how-to-do-a-plugin-theme-conflict-test
I’ve done some testing on a staging site, and disabled all other plugins, but still I can search in the bio field. So it seems that there is no conflict with other plugins.
I find this problem very important to my members, and really want to find a solution. All the php codes and the add-on you have given me aren’t working. Which they should.
What else can we do to solve this?
@yolandal
and disabled all other plugins
Try to use a default WP Theme like “Twenty Twenty-Two” or “Twenty Twenty-Three”.
I’ve already disabled other plugins in my previous testing.
Switching to another theme didn’t help either.
This way – searching for third parties problems – is not working for me. It should be solved in this plugin.
I’d prefer a PHP solution, is that possible we can focus on that?