Skip to Content Skip to Menu

About CB 2.0 and images handling and more

  • dotcom22
  • dotcom22
  • OFFLINE
  • Posts: 522
  • Thanks: 14
  • Karma: 4
10 years 6 months ago - 10 years 6 months ago #244151 by dotcom22
I seem to me to have seen somewhere a better handling of images has been planned in CB 2.0 but I'm not sure..do you confirm ?

What I would like is a better gallery images with enhanced possibility to add our own image and maybe also to create categories. I would like also allow users to choose one image from the gallery when using any standard Image CB field (actually this is only possible with avatar).

I wondering also if you planned to allow CB to auto-generate Username without need to publish the field on registration form. Actually I use a trick with Auto-Action and css but ideally it will be better to have a core feature for that.

I use Joomla 3.3.6 - CB 2.0.4 - CBSubs 4 - Several Incubator plugins
Last edit: 10 years 6 months ago by dotcom22.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
10 years 6 months ago #244177 by krileon
Replied by krileon on topic About CB 2.0 and images handling and more

I seem to me to have seen somewhere a better handling of images has been planned in CB 2.0 but I'm not sure..do you confirm ?

Yes, image fields in CB 2.0 are already using it. Everything else still uses the legacy library until we've upgraded the various plugins to use the new library.

What I would like is a better gallery images with enhanced possibility to add our own image and maybe also to create categories.

The avatar gallery? You can add your own images by adding them to the gallery folder. CB 2.0 supports full size and thumbnail images for gallery images now as well.

I would like also allow users to choose one image from the gallery when using any standard Image CB field (actually this is only possible with avatar).

There are no plans to extend gallery usage beyond the avatar field.

I wondering also if you planned to allow CB to auto-generate Username without need to publish the field on registration form.

You can specify a "fallback field" for the username now in CB 2.0. This means if you set Username to be hidden on registration you can have it fallback to use email address as username or any other field you want.


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.

  • dotcom22
  • dotcom22
  • OFFLINE
  • Posts: 522
  • Thanks: 14
  • Karma: 4
10 years 6 months ago - 10 years 6 months ago #244217 by dotcom22
Replied by dotcom22 on topic About CB 2.0 and images handling and more

The avatar gallery? You can add your own images by adding them to the gallery folder. CB 2.0 supports full size and thumbnail images for gallery images now as well.


Yes but actually when we update CB, all default gallery image are added again even if we have previously remove it. I hope CB 2.0 will not add these image with every update.

There are no plans to extend gallery usage beyond the avatar field.


Too bad because my goal was to allow user to choose one image from the gallery also for all other standard image..and is not possible to copy the core Avatar field. I wondering how I could do for propose some predefined image to include in their profile.

I thought to set a radio field with for example 50 options and when one option is selected to show inside "Edit profile" a corresponding image (using a delimiter field and condition) for let user see the image before update his profile. Then according to the user choice, display the image on profile view based of his url. But this seem to be complex to do and I don't think to be able to display properly a predefined image in that way.

Any clue?


Other point:

I tested CB 2.0 beta and I tried to setup a radio field. I see is possible now to set for each option the value + the label and this is a great thing which is missing in CB 1.9.1. However I tested and this seem to not work as expected.

For example I set 2 options like this:

Value: Man / Label: I'm a Man
Value: Woman / Label: I'm a Woman

Then when I update my profile and I choose "I'm a Woman", instead to see on my profile "Woman" I see "I'm a Woman".

I miss something ?


Other point:


On CB 2.0 I don't see anymore ability to set our TOS under the tab Configuration > Registration. You moved this elsewhere or you removed that function? I looked in to this because I wondering if CB 2.0 could open the TOS inside Jquery popup. I seen this solution here:

www.joomlapolis.com/forum/153-professional-member-support/206312-solved-create-terms-and-conditions-in-community-builder?start=6#215989

Of course if CB 2.0 could handle this by default without using auto-action is better..

I use Joomla 3.3.6 - CB 2.0.4 - CBSubs 4 - Several Incubator plugins
Last edit: 10 years 6 months ago by dotcom22.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
10 years 6 months ago #244238 by krileon
Replied by krileon on topic About CB 2.0 and images handling and more

Yes but actually when we update CB, all default gallery image are added again even if we have previously remove it. I hope CB 2.0 will not add these image with every update.

CB always copies them over on install. This is encase we change them, update them, add new gallery images, etc.. you'll need to delete them after install to remove them if you don't want the defaults.

I thought to set a radio field with for example 50 options and when one option is selected to show inside "Edit profile" a corresponding image (using a delimiter field and condition) for let user see the image before update his profile. Then according to the user choice, display the image on profile view based of his url. But this seem to be complex to do and I don't think to be able to display properly a predefined image in that way.

That's doable. Each radio input and label has a unique ID so you could use CSS to render the actual image so they know what they're selecting. You'd then just have the values as the image names or something of the sort and use a delimiter IF condition to determine if uploaded image or the select radio image should display. This is even either to do with CB 2.0 as you won't need a delimiter field to do it due to the Layout feature available to all core fields, which lets you customize a fields output.

I tested CB 2.0 beta and I tried to setup a radio field. I see is possible now to set for each option the value + the label and this is a great thing which is missing in CB 1.9.1. However I tested and this seem to not work as expected.

For example I set 2 options like this:

Value: Man / Label: I'm a Man
Value: Woman / Label: I'm a Woman

Then when I update my profile and I choose "I'm a Woman", instead to see on my profile "Woman" I see "I'm a Woman".

I miss something ?

That's working as intended. You're actually quite literally specifying the <option> element value and label (the description tooltips next to each describe this). The label is always used for output. The value is purely for storage. This allows for example the below usages.

Value : Label
0 : No
1 : Yes

With the above it'll store in database as 0 or 1, but its display will be No or Yes.

On CB 2.0 I don't see anymore ability to set our TOS under the tab Configuration > Registration. You moved this elsewhere or you removed that function? I looked in to this because I wondering if CB 2.0 could open the TOS inside Jquery popup. I seen this solution here:

TOS is now a fieldtype. You can create as many as you want with multiple display options (link, iframe, or modal popup). You should have the core Terms and Conditions field within CB > Field Management that you can enable and configure.


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.

Moderators: beatnantkrileon
Powered by Kunena Forum