Skip to Content Skip to Menu

Community Builder 2.0 beta 3 released !

  • krileon
  • krileon
  • ONLINE
  • Posts: 48314
  • Thanks: 8253
  • Karma: 1443
10 years 4 months ago #244508 by krileon
Replied by krileon on topic Community Builder 2.0 beta 3 released !

martinmg wrote: Hi,

I have multiple user lists and have created a meny item pointing to a selected list (the default). When I'm viewing the list and choose another list from the drop-down it correctly displays the members of that list, but the drop-down still displays the initial (default) list. Since the drop-down always displays the initial (default) list it can not be choosen.

Regards
Martin

Thank you for reporting this. Confirmed and fixed for next release. Please see the below changes for a quickfix.

IN: administrator/components/com_comprofiler/library/cb/cb.lists.php
ON: Line 100
FROM:
Code:
$publishedlists[] = moscomprofilerHTML::makeOption( $plist->listid, $listTitleNoHtml );
TO:
Code:
$publishedlists[] = moscomprofilerHTML::makeOption( (int) $plist->listid, $listTitleNoHtml );

IN: administrator/components/com_comprofiler/library/cb/cb.lists.php
ON: Line 121
FROM:
Code:
$lists['plists'] = moscomprofilerHTML::selectList( $publishedlists, 'listid', 'class="form-control" onchange="this.form.submit();"', 'value', 'text', $listid, 1 );
TO:
Code:
$lists['plists'] = moscomprofilerHTML::selectList( $publishedlists, 'listid', 'class="form-control" onchange="this.form.submit();"', 'value', 'text', (int) $listid, 1 );

We use strict typing now in CB 2.0. This is a case of mixed type (options as INT, but value as STRING). The above will ensure int casting is enforced. If you notice any other little bugs like this with field usages please be sure to let us know.


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.

  • GUEST
10 years 4 months ago #244548 by
When I use the search function in "User management" back end, I get the error message below. My site runs Joomla 3.3.0 RC and CB 2.0 Beta 3. When installing CB I upgraded from CB 1.9.1.

Unknown column 'b.username' in 'where clause' SQL=SELECT COUNT( DISTINCT a.`id` ) FROM `j30_comprofiler` AS a WHERE ( ( b.`username` LIKE '%user%' ) OR ( b.`name` LIKE '%user%' ) )

Is this a local error on my site?

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

  • GUEST
10 years 4 months ago #244551 by
In the profiles I have configured a tab with the plugin CB Menu. It is displayed with the layout rounddiv.

The tab has the fields onlinestatus, lastvisited and so on attached to it and configured to show "1 Line with title".

As seen on my attached screen shot there is not enough space to display the title. Is it possible to configure the length of the title?
Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48314
  • Thanks: 8253
  • Karma: 1443
10 years 4 months ago - 10 years 4 months ago #244552 by krileon
Replied by krileon on topic Community Builder 2.0 beta 3 released !

martinmg wrote: When I use the search function in "User management" back end, I get the error message below. My site runs Joomla 3.3.0 RC and CB 2.0 Beta 3. When installing CB I upgraded from CB 1.9.1.

Unknown column 'b.username' in 'where clause' SQL=SELECT COUNT( DISTINCT a.`id` ) FROM `j30_comprofiler` AS a WHERE ( ( b.`username` LIKE '%user%' ) OR ( b.`name` LIKE '%user%' ) )

Is this a local error on my site?

It's a bug with the JOIN usage in the COUNT query statement. Can be fixed with the below XML change.

IN: administrator/components/com_comprofiler/xmlcb/views/view.com_comprofiler.showusers.xml
FROM:
Code:
<field name="username" type="string" width="10%" align="left" label="Username"> <data name="username" type="sql:field" table="#__users" key="id" value="id" /> </field>
TO:
Code:
<field name="username" type="string" width="10%" align="left" label="Username"> <data name="username" type="sql:field" table="#__users"> <joinkeys type="inner" dogroupby="false"> <column name="id" operator="=" value="id" type="sql:field" valuetype="sql:field" /> </joinkeys> </data> </field>


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.
Last edit: 10 years 4 months ago by krileon.

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

  • cmoiaaa
  • cmoiaaa
  • OFFLINE
  • Posts: 13
  • Thanks: 0
  • Karma: 0
10 years 4 months ago - 10 years 4 months ago #244606 by cmoiaaa
Replied by cmoiaaa on topic Community Builder 2.0 beta 3 released !
Hello

When can we expect the release of CB 2.0?
How to interpret the roadmap forge.joomlapolis.com/projects/cb/roadmap
because for months that it does not evolve almost
Thanks
Last edit: 10 years 4 months ago by cmoiaaa.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48314
  • Thanks: 8253
  • Karma: 1443
10 years 4 months ago #244611 by krileon
Replied by krileon on topic Community Builder 2.0 beta 3 released !

martinmg wrote: In the profiles I have configured a tab with the plugin CB Menu. It is displayed with the layout rounddiv.

The tab has the fields onlinestatus, lastvisited and so on attached to it and configured to show "1 Line with title".

As seen on my attached screen shot there is not enough space to display the title. Is it possible to configure the length of the title?

You may need to increase the space of the Right side column within CB > Configuration > User Profile to give that tab more space to render. We'll be working more on some of these UX issues before we reach a stable release. I'll look into this one specifically and see if I can improve its appearance better. You can also set those fields to display on 2 line to ensure they display well.


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:

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

Moderators: beatnantkrileon
Powered by Kunena Forum