• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Searching username on xf2

Jake B.

Well-known member
#1
This has been bugging me for a while, I think I had made a thread about it on the xf2demo but can't remember for sure and am unable to find it now.

In xf1 if you searched for a username in the normal global search form you'd get a sidebar with a list of users that match your search parameters. For example:


Screen Shot 2017-08-09 at 1.03.09 PM.png

However, on xf2 this doesn't happen anymore. Is this intentional? I know I can got o Members and search there, but being able to use the global search for it was always useful :p
 

Mike

XenForo developer
Staff member
#2
It's intentional and no plans for it to return. You can use the search in the member section if you're after a particular user.
 

RobinHood

Well-known member
#3
The only issue with that is that I can't see a way to search for part of a username, as with the matched users results on XF1.

For example, say I want to find the user Jake Bunce, but I can't remember that his username starts with 'Jake', all I can remember is that part of his username is 'Bunce'

If I use main search and search for 'Bunce' in the member field, I get nothing.

If I use the search widget on the members page, I get no autocomplete drop down as I'm looking for the second half of the username, and upon submission it brings me to the profile page for the exact user 'Bunce', which isn't the one I'm after.

After that, I can't think of any other way to generate a list of users with 'Bunce' in the name to try and find the exact member I'm after. If I use less of their username and say use 'unce' then I get an error and no member results at all.

1502313736330.png

If I new the member's entire name then I probably wouldn't be searching for them, or I'd be able to find them using the autocomplete.


It would be nice to have partial username matching in the search somehow, and the ability to search for users from the global search box and/or main search page for when you're trying to find a particular user to message them or view their profile, and not necessarily the content posted by that user.

1502314543214.png


I currently use one of Andy B's add ons for this kind of partial match member searching quite regularly.
 

Jake B.

Well-known member
#4
After that, I can't think of any other way to generate a list of users with 'Bunce' in the name to try and find the exact member I'm after. If I use less of their username and say use 'unce' then I get an error and no member results at all.
Even if you do remember part of his name and search "Jake" You'll get sent directly here: https://xenforo.com/community/members/jake.1164/

Granted, there is an autocomplete, but it won't show everyone so it's nearly impossible to find some users this way if they have a common name

Screen Shot 2017-08-17 at 9.45.20 AM.png
 

Triops

Well-known member
#5
This is even worse if users use the word of the forums topic in their username. If you then don't know the full name, you are lost.

Eg. "Aqua" in a forums on aquariums: aqua man, aquator, aquanaut, aqua jim, aquapete, aso. In my forums are about 2400 users with the most important keyword in their names, and 700 with second.
One could say "type more letters" - but if you don't remember how to proceed, you won't find them. Something to scroll through would be fine. This is really problematic already for admins in the backend of xf1.5. I always hoped to oversee a solution...