Skip to Content Skip to Menu

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

User Lists in 2.0.10

  • sirweb
  • sirweb
  • ONLINE
  • Posts: 226
  • Thanks: 25
  • Karma: 2
9 years 2 months ago #269194 by sirweb
User Lists in 2.0.10 was created by sirweb
First of all, THANK YOU for your hard work with CB 2!
I have only scratched on the surface yet..and I am deeply impressed.
What a giant step forward! :)

Working with User Lists;
1) The header of every list in frontend shows
"[sitename] intranät has [number] registered members"
but "sitename" is not correct, it should state User List name.
Is this a setting i havent found or is it a bug?

2) Using Joomla 3. I thought it wouldnt be necessart to change database collation any more for sorting national characters (like ÅÄÖ) correct. But I needed to change collation to utf8_swedish_ci to make CB user list sort correctly. Is this still the right approach or is there a better way?

3) Sort Order. I use a multi select field for occupation, which I want to sort on. But obviously, I dont want to sort alphabeticallt. I would like to sort hierarchically = as the optopns appear in the field. Is it possible to create an advanced sort query? Or would it be better ti make an auto action to create a value in a sort field insead?

4) Filtering (and now sorting). In 1.9.1, switching from Basic to Advanced filtering kept the rule entered in Basic mode. That was a quick and handy way to create comples rules. Would it be possible to have this nice feature back in 2.0?

5) On my qiahliat for future versions: It would be very useful in List Manager/Columns to have a simplified view for columns with only sprt button and title. Having many fields (rows) in each column makes it a bit tricky to sort as one column can use most of the screen.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
9 years 2 months ago #269214 by krileon
Replied by krileon on topic User Lists in 2.0.10

1) The header of every list in frontend shows
"[sitename] intranät has [number] registered members"
but "sitename" is not correct, it should state User List name.
Is this a setting i havent found or is it a bug?

Sitename is correct; it has always been sitename. It's the below language string though if you want to remove sitename. There's no substitution or replacement for userlist title in the following string though.

Code:
'SITENAME_HAS_TOTAL_REGISTERED_MEMBERS' => '[SITENAME] has %%TOTAL%% registered member|[SITENAME] has %%TOTAL%% registered members',

2) Using Joomla 3. I thought it wouldnt be necessart to change database collation any more for sorting national characters (like ÅÄÖ) correct. But I needed to change collation to utf8_swedish_ci to make CB user list sort correctly. Is this still the right approach or is there a better way?

This has nothing to do with CB or Joomla. CB does not force a collation. When a table is created it is created with whatever collation your database has set as the default. I recommend contacting your host and having them change the default collation for your database so you won't have to manually fix this.

3) Sort Order. I use a multi select field for occupation, which I want to sort on. But obviously, I dont want to sort alphabeticallt. I would like to sort hierarchically = as the optopns appear in the field. Is it possible to create an advanced sort query? Or would it be better ti make an auto action to create a value in a sort field insead?

Click Advanced and you can supply whatever custom sorting you want as it adds directly to the ORDER BY of the query. CB Auto Actions can't do anything here.

4) Filtering (and now sorting). In 1.9.1, switching from Basic to Advanced filtering kept the rule entered in Basic mode. That was a quick and handy way to create comples rules. Would it be possible to have this nice feature back in 2.0?

No, it's entirely XML driven now and the code for generating sorting in Basic isn't transferable to Advanced. Basic sorting is compiled at usage. Advanced is just a custom query string.

5) On my qiahliat for future versions: It would be very useful in List Manager/Columns to have a simplified view for columns with only sprt button and title. Having many fields (rows) in each column makes it a bit tricky to sort as one column can use most of the screen.

Shouldn't particularly matter as you can just scroll the screen up with mouse wheel or moving the cursor up. Is your screen not scrolling up or down when trying to drag a large column?


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.

  • ernienet
  • ernienet
  • OFFLINE
  • Posts: 132
  • Thanks: 10
  • Karma: 1
9 years 1 month ago #270965 by ernienet
Replied by ernienet on topic User Lists in 2.0.10
Regarding your response to shultman's first question, is there a way to remove this text entirely from the list display, or maybe a way to change it?

Thank you,

Ernie

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
9 years 1 month ago #270991 by krileon
Replied by krileon on topic User Lists in 2.0.10
Yes, you can translate the string to empty or you can use the below CSS to hide it all together.

Code:
.cbUserListResultCount { display: none !important; }


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: abo

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

  • abo
  • abo
  • OFFLINE
  • Posts: 30
  • Thanks: 4
  • Karma: 1
8 years 6 months ago #280238 by abo
Replied by abo on topic User Lists in 2.0.10
Thanks for the hint.
The issue is quite relevant, because:

Referring to the sitename gives wrong result... because a list may be filtered (and usually is in one way or another). Thus Club A may have 150 platinum members, but 4000 members all together. If the list says "Club A has 150 members" - it's simply wrong. Club A has 4000 members, 150 of which are platinum members.

Perhaps this could be looked at in future developments. Meanwhile ... I guess a little manual work will be needed. B) ...which I am not good at :unsure:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
8 years 6 months ago #280259 by krileon
Replied by krileon on topic User Lists in 2.0.10
We've plans to basically completely redo userlist display, which should solve this issue among others.


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: abo

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

Moderators: beatnantkrileon
Powered by Kunena Forum