CB List Manager - users subcategorys

12 years 5 months ago #148200 by Playman22
CB List Manager - users subcategorys was created by Playman22
Good day.
(sorry I dont speak english well)

I use Community Builder. I need to make lists of users, where in addition to classical selection based on the completed figure in profile, the possibility to further narrow down your choices according to profile information. as an example in my profile check boxs bricklayer, carpenter, welder, painter etc. I still check boxes, for example: Western Region, Eastern Region, Southern Region, Northern Region. I have the menu categories bricklayer, carpenter, painter, etc.After click on them i want to show me lists of those who are in that category, and as in each sub menu I East, west, north, south. How to make a filter,if I click the subcategory I view only those users who are also checked, such as bricklayers and just east.

Please Log in to join the conversation.

12 years 5 months ago #148283 by krileon
Replied by krileon on topic Re:CB List Manager - users subcategorys
Multi-check lists are stored as value1|*|value2|*|etc, so applying a filter to your userlist for them takes a little extra work. Please see the below example filter.

Field: cb_multicheck
Values: Value 1, Value 2, Value 3, Value 4
Selected: Value 1, Value 4
Stored: Value 1|*|Value 4
Filter: `cb_multicheck` LIKE '%Value 1%'

The above filter with the above scenario would properly display any user that has checked Value 1. You can also do this with BASIC filters using the LIKE operator and ensuring you surround the value with % wildcards (e.g. %Value 1%).

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.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.199 seconds

Facebook Twitter LinkedIn