Community Builder 2.0 beta 3 released !

9 years 11 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:
			   	$publishedlists[]	=	moscomprofilerHTML::makeOption( $plist->listid, $listTitleNoHtml );
TO:
			   	$publishedlists[]	=	moscomprofilerHTML::makeOption( (int) $plist->listid, $listTitleNoHtml );

IN: administrator/components/com_comprofiler/library/cb/cb.lists.php
ON: Line 121
FROM:
			$lists['plists']	=	moscomprofilerHTML::selectList( $publishedlists, 'listid', 'class="form-control" onchange="this.form.submit();"', 'value', 'text', $listid, 1 );
TO:
			$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 to join the conversation.

9 years 10 months ago #244548 by martinmg
Replied by martinmg on topic Community Builder 2.0 beta 3 released !
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 to join the conversation.

9 years 10 months ago #244551 by martinmg
Replied by martinmg on topic Community Builder 2.0 beta 3 released !
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 to join the conversation.

9 years 10 months ago - 9 years 10 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:
						<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:
						<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.

Please Log in to join the conversation.

9 years 10 months ago - 9 years 10 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

Please Log in to join the conversation.

9 years 10 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: martinmg

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.232 seconds

Facebook Twitter LinkedIn