Stefano Garuti
Member
Posted 4 years ago #
Hi,
grate grat plugin and wonderful code!!!
I would like to be able to filter users by some extra-field I added in usermeta (that I have no problem listing in profile.php and users.php, btw).
I need my visitors can post a form to filter the user list (users.php) by sex and age and city.
I think it could be something I can achieve with the functions in UserQuery.php but really I need some directions (and some example)...
Thanks in advance!
Stefano
Stefano Garuti
Member
Posted 4 years ago #
In the meantime I done my duty ;-) and studied UserQuery.php
Now my understanding is that I can write a simple plugin to register new views that can provide me some useful filtered list, like "all women", "all men", "all from Rome"... and this is great
But what I need is something dynamic... a way to POST (from a form) a request like "men from Milan between 35 and 45" or "woman from Anywhere between 25 and 40"
And this is still obscure to me :-/
So help is still needed and appreciated
brainsolid
Member
Posted 4 years ago #
Hm... garubi, can you show code that give ability to use filtered list for users?