PDA

View Full Version : Search users by multiple conditions (username, mail, homepage, etc: Like Facebook)


ElForro
10-05-2008, 03:02 PM
I would like to extend (and simplify) the users search feature: memberlist.php?do=search by searching a single string in multiple fields..

I mean: If I search for "John" I would like to search not only all the users with "John" in their usernames, but also users with "John" in their e-mail addresses, or a custom field..

It would search together 2 or 3 fields, I don't want to search the same string in ALL the options of that search (homepage, join date, last post, etc)...

I think that searching in Username / E-Mail / Custom Field (ex. Real Name) would be nice...

I mean it would be like Facebook search because you can find a user with "John23" as Username, or an user with an "john@mail.com" e-mail, etc..

I hope somebody can help me with this..

Thanks!

PS: Sorry for my poor english