I need to create an on-line address book for students of a local high school band that is only accessible to one Joomla user group (and higher groups such as staff and super admins as shown below), that consists of all the members in that one group. Additional lists will allow for filtering of the current students by section.
Public
- Registered
- - Current Members
- - - Staff
- Super Users
When users sign up, they identify the section (using a CB drop-down field) to which they belong (e.g. Trumpet, Flute, percussion, etc.). Once the user graduates, their profile will still list their instrument as an alum of the program. To identify a current member an admin will place the student ID in the "Current Members" group, which will both grant access to the on-line address book as well as add the individual to the address book. When they leave the group they will be taken out of the Current Members group and lose access to the list and remove their names from the address book.
I know I need an advanced filter, but I'm having trouble figuring out how to verify they belong to the Current Members group in the filter. I'll also need to be able to filter additional lists based on the first (all the Trumpet players in the Current Member group). Do you have a suggestion on how to write a filter that can check the Joomla! group membership?
Joomla! 3.6.2/ CB 2.0.15
Last edit: 8 years 1 month ago by krileon. Reason: Added [SOLVED] tag to subject
You don't filter for usergroups in a userlist, but instead under Global you adjust the "Usergroups" parameter. The "Usergroups" parameter filters the userlist to users that have one of the selected usergroups. So in your case you'd select "Current Members" to show all users with that usergroup.
Kyle (Krileon) Community Builder Team Member Before posting on forums:
Read FAQ thoroughly
+
Read our Documentation
+
Search the forums CB links:
Documentation
-
Localization
-
CB Quickstart
-
CB Paid Subscriptions
-
Add-Ons
-
Forge
-- If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
-- If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please
send me a private message
with your thread and will reply when possible!
-- Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
-- My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.