[Plugin: Aleph] Searching and filtering users (3 posts)

  1. Stefano Garuti
    Posted 6 years ago #

    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!


  2. Stefano Garuti
    Posted 6 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

  3. brainsolid
    Posted 6 years ago #

    Hm... garubi, can you show code that give ability to use filtered list for users?

Topic Closed

This topic has been closed to new replies.

About this Topic