Skip to Content Skip to Menu

Change or remove topic of cb lists (X has Y members)

1 year 12 hours ago #335989 by Andromeda57
Hello guys,

how can we change or remove the topic above the cb lists (X has Y members)?

And another question: Could it be possible that every cb list has another topic?

For eample, if you have 2 cb lists:

List 1 has x members

List 2 has x members

Thank you.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
1 year 11 hours ago #335994 by krileon

how can we change or remove the topic above the cb lists (X has Y members)?

It's a language string so you can use language overrides shown below to change it to say whatever you like or translate it to empty string to remove it.

www.joomlapolis.com/blog/kyle/18701-language-overrides-have-arrived

The language strings specifically for it are as follows.

Key: SITENAME_HAS_TOTAL_REGISTERED_MEMBERS
String: [SITENAME] has %%TOTAL%% registered member|[SITENAME] has %%TOTAL%% registered members

Key: USERS_COUNT_MEMBERS
String: %%USERS_COUNT%% member|%%USERS_COUNT%% members

And another question: Could it be possible that every cb list has another topic?

Yes, the above language string has a language key that's userlist specific. Example as follows.

From: SITENAME_HAS_TOTAL_REGISTERED_MEMBERS
To: USERLIST_{LIST-ID-HERE}_TOTAL_REGISTERED_MEMBERS
Example: USERLIST_1_TOTAL_REGISTERED_MEMBERS

From: USERS_COUNT_MEMBERS
To: USERLIST_{LIST-ID-HERE}_COUNT_MEMBERS
Example: USERLIST_1_COUNT_MEMBERS

With the above Example that string would only change for the userlist with an id of 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 or Create an account to join the conversation.

11 months 3 weeks ago #336092 by Andromeda57
Thank you, this works so great !
The following user(s) said Thank You: krileon

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

Moderators: beatnantkrileon
Powered by Kunena Forum