Skip to Content Skip to Menu

🏖 Summer has arrived! Start your summer right with our summer sale! Get 25% off professional and developer memberships with code SUMMER-2025!

Display fields in Group Member Tab (Grid View)

  • AlexRag
  • AlexRag
  • ONLINE
  • Posts: 571
  • Thanks: 41
  • Karma: 7
3 days 6 hours ago #341664 by AlexRag
I am wondering if there is a way to display a standard or custom-added field type to be displayed on the tab where group members are visible?  In some ways, similar to how we can create grid view lists in the List Management section, where we can select which fields to display?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49426
  • Thanks: 8462
  • Karma: 1465
2 days 20 hours ago #341673 by krileon
There's a trigger for that view so yes that's possible to add more information there using CB Auto Actions. Specifically the below trigger.
Code:
$_PLUGINS->trigger( 'gj_onDisplayUser', array( &$row, &$counters, &$content, &$menu, $group, $user ) );

$row = gj group user object
$counters = array of content displayed in the footer (where Member is)
$content = custom content displayed below the footer
$menu = custom links for the dropdown menu
$group = gj group object
$user = cb user object

So the below for example should work to output whatever profile fields you like.

Global
Triggers: gj_onDisplayUser
Type: Code
User: Automatic
Access: Everybody
Action
Method: PHP
Code:
Code:
$variables['var2'][] = 'Test';
Parameters
Reference Variables: Variable 2

With the above you should see "Test" output in the footer now. Replace that with substitutions or with whatever custom PHP you want. Add more to that array to output more as it'll split them into containers for the footer.


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.
The following user(s) said Thank You: AlexRag

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

  • AlexRag
  • AlexRag
  • ONLINE
  • Posts: 571
  • Thanks: 41
  • Karma: 7
1 day 15 hours ago - 1 day 15 hours ago #341689 by AlexRag
Thank you.  I just have a couple of follow-up questions:

1. Is there a way to sort the order of what appears in the members tab of the group? Right now it looks to be in order on when they joined (last one first).   Perhaps there's an alphabetical order option I am overlooking?

2. Is there a way to increase how many members appear before the pagination kicks in?
 

 
Last edit: 1 day 15 hours ago by AlexRag.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49426
  • Thanks: 8462
  • Karma: 1465
20 hours 10 minutes ago #341692 by krileon

1. Is there a way to sort the order of what appears in the members tab of the group? Right now it looks to be in order on when they joined (last one first). Perhaps there's an alphabetical order option I am overlooking?

No, they appear by status followed by newest first.

2. Is there a way to increase how many members appear before the pagination kicks in?

That defaults to 15 so I'm guessing it was changed at some point, but yes you can adjust that in CB GroupJive > Parameters > Groups > Users > Paging.


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.

  • AlexRag
  • AlexRag
  • ONLINE
  • Posts: 571
  • Thanks: 41
  • Karma: 7
15 hours 27 minutes ago #341693 by AlexRag
Thank you.  I tried changing the setting as suggested, but the limit doesn't seem to change.   Am I in the correct place?   I cleared the cache and tried it in incognito mode.  

I also noticed the Order By setting. What is that meant for?

 

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

Moderators: beatnantkrileon
Powered by Kunena Forum