• Resolved yolandal

    (@yolandal)


    Hello support,

    I would like to know if there is a way to prevent my users to get a list of all the members on the site, by searching with a ‘space’ or * or ?.

    We have strict privacy rules in Europe, and I only want to give the option to search on a minimum of 3 characters. Now if you type a space or * or ? you get the full list and that’s not what I want.

    Is there a way to do this?

    The page I need help with: [log in to see the link]

Viewing 11 replies - 16 through 26 (of 26 total)
  • Thread Starter yolandal

    (@yolandal)

    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.

    Thread Starter yolandal

    (@yolandal)

    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.
    Thread Starter yolandal

    (@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?

    Thread Starter yolandal

    (@yolandal)

    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

    Thread Starter yolandal

    (@yolandal)

    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”.

    Thread Starter yolandal

    (@yolandal)

    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?

Viewing 11 replies - 16 through 26 (of 26 total)
  • The topic ‘Disable option to search members with ‘space’ or * or ?’ is closed to new replies.