We are currently upgrading the infrastructure of the .org community. We appreciate your patience as some features may be disabled or not working temporarily. More details here
Help with mod to display *only * users in a Category instead of entire user list.
This discussion is related to the User List
Hi everyone. I'm new to Vanilla and happy to be using it.
I've got this plugin working (thanks Ellie and everyone who contributed!!), but I'd like help with limiting User List to display only those users with Roles that give them access to a particular Category or Categories.
The forum I'm working on contains categories that are exclusive to their corresponding group of users. For example, users who enrolled in one course have access to a Category created for their course, but may not view or participate in discussions within a Category for a different course, and so on.
In this case, UserList would be more useful if it listed only those users with access to particular categories and not others.
I suspect it requires determining the Roles assigned to the Category and somehow using that to omit users whose roles don't match? Can anyone help?
Many thanks in advance!
0 · ·