I have a quick way you can do it....
There is already a view_all_users page that I think is set to private. You could make that so all user groups could see it. Next, you can decide to share more informaiton to that table (whatever you want to be searchable I guess). Then you can use the search function we have built into admin_pages (it's super simple) to "filter" all of the users you have. Would that work?
Hey mudmin, the filter function is not really an option as it would show all the users in the database to the person that did the "search". That could potentially be thousands of records that would be shown.
I just need a simple search query echoeing the results on the same page. Like...type in a country, and all the users from that country would be listed below the search bar.
Can you give me an idea of what needs to be searched?
Like if I put the word Dan in a search box, what parts of the db do you want it to look in?
I am also confused why the normal search methods don't work. US uses a completely standard db.
Hello Dan. Thank you for your response.
I only need the users table to be searched (by registered members). I have added country and city to that, and what I need is when someone types in France that all the users from France are displayed. Or when someone types in New York, that all the users from NY are displayed.
Thats it really.
As I mentioned my coding skills are rather mediocre at best so i could well be missing something very simple.
I think I just dont know what names have been given to certain functions or what have you, so I dont know what to change in the search form codes I copy from other places (as I mentioned my coding consists of copy/pasting pieces of coding I find on different sites and tutorials).
Now if i could only get the search bar to look in the users table and display the results (without showing every single user and then just filter out the ones matching the query), than I'm sure I coukd pick up from there ?
I have a few ideas... I am not in front of my computer, but I will definitely look at that over the next day or two. Don't stress out about that part do the rest of what you need to do. I can make that work.