Not Solved [General] Display users on search
#11
Not Solved
Forget about search.php.
memberlist.php will do the job.

Asma Wrote:No. For example, I want to search for Bill. When I search for Bill and click enter. All users with Bill in their name will show up.
Yes. For example, you can chose the username match to be "exact", "begins", "contains":
<input type="hidden" name="username_match" value="exact" />

Using this generic form (stolen from memberlist_search), you can search the exact username of a member from whatever place/site of the entire forum:
<form method="post" action="memberlist.php">
  <input type="hidden" name="username_match" value="exact">
  <input type="hidden" name="website" id="website" value="">
  <input type="hidden" name="sort" id="sort" value="regdate">
  <input type="hidden" name="order" id="order" value="asc">
  <input type="hidden" name="perpage" id="perpage" value="15">
  <input type="text"   name="username" id="username" title="Username">
  <input type="submit" name="submit" value="Find">
</form>

[ExiTuS]
Reply
#12
Not Solved
They have a single unified search box, so if they change the action to be memberlist.php, it will then no longer show thread and post results. They want combined results on one page from one single search box, which as I keep saying, will require a plugin.
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
Reply
#13
Not Solved
"Combined" is the keyword, I got it... So it is not just about the search box, it's about the results containing a list of posts/threads AND an additional list of members in case the search pattern will also fit an exact username...
Yes, Matt, this will require a plugin then for sure Smile

Cheers!
[ExiTuS]
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)