I setup different types for users. In the add event page, I want to filter the lists that assign users. For example, I have a user type called “Organizer”. The add event page there is a section for “Assign Organizer” that lists all users, but the lists includes all of the users. I only want to show users with the type “Organizer”.
Currently, we don’t have a filter you can use for this, but the metabox template can be overridden for a custom version within the root directory of your theme using this function:
So you could copy the \eea-people-addon\admin\people\templates\people_type_event_metabox_details.template.php template into your theme, then within that template check the person’s type matches the current people_type variable and if not, continue to the next person.
Whilst not the same, you can find an example of another user using the above function to override the template and do their own filtering here:
The support post ‘People Admin Addon: Filter user lists by type of user’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.