Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

[SOLVED] Summerize or Categorize in a List

  • danpoole
  • danpoole
  • OFFLINE
  • Posts: 49
  • Thanks: 6
  • Karma: 0
11 years 1 month ago - 11 years 1 month ago #233307 by danpoole
Hi, I am wanting to do the following...

I have a field called 'university' with either selectable or dropdown choices of
  • university 1
  • university 2
  • university 3
  • etc.

Lets say there are 20 members that select 'university 1' and 10 that select 'university 2' and none that select 'university 3'.

When I make a list that will only show the university field it will show 20 lines of 'university 1' then 10 lines of 'university 2' and naturally none of 'university 3'. Is there a way to make it so it shows on one line (a summary) of 'university 1' and only line of 'university 2'.

My thoughts for this would be if the university was a category & the list would only show available or active categories.

Is what I am taking about possible, please don't reply with a simple 'no'
Last edit: 11 years 1 month ago by krileon.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
11 years 1 month ago #233346 by krileon
Replied by krileon on topic Summerize or Categorize in a List
You want your userlist to display only users who have selected a specific university? Like a userlist to display only the users who selected "University 1" for example? If that's what you're wanting yes it's doable. You'll need to edit your userlist within CB > List Management then add a Basic filter of "University Like %University 1%" for example.


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 or Create an account to join the conversation.

  • danpoole
  • danpoole
  • OFFLINE
  • Posts: 49
  • Thanks: 6
  • Karma: 0
11 years 1 month ago #233352 by danpoole
Replied by danpoole on topic Summerize or Categorize in a List
Thank you for the reply but that still shows multiple listings of the same university where as I need the university's summerised. At the moment they are showing like this...
  • Charles Sturt University
  • Charles Sturt University
  • Curtin University
  • Curtin University
  • Curtin University
  • Flinders University
  • Flinders University

Where as I need them to show like this...
  • Charles Sturt University
  • Curtin University
  • Flinders University

With no repeat entries.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
11 years 1 month ago #233358 by krileon
Replied by krileon on topic Summerize or Categorize in a List
You only want to show 1 user per university? I'm sorry, but I don't understand what you're wanting.


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 or Create an account to join the conversation.

  • danpoole
  • danpoole
  • OFFLINE
  • Posts: 49
  • Thanks: 6
  • Karma: 0
11 years 1 month ago - 11 years 1 month ago #233406 by danpoole
Replied by danpoole on topic Summerize or Categorize in a List
Yes I have other lists showing all the members and all their details, but I want this list to only show a short list of the universities.

Here is the Full List View

Here is the Short List Example , so every time my client adds in a new user and that user may belong to a new university then only one listing of that uni will show.
Last edit: 11 years 1 month ago by danpoole.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
11 years 1 month ago #233430 by krileon
Replied by krileon on topic Summerize or Categorize in a List
I see, no you can't do that with a userlist. There's no way to add to the userlist query the needed GROUP BY without developing a CB plugin to alter the userlist query. I suppose you could try adding a WHERE statement and do a IN check against a subquery of grouped user ids, but that's going to be inefficient and slow the more users you have.


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 or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum