Little bug with Groupjive

1 month 3 weeks ago #332642 by activha
Little bug with Groupjive was created by activha

We have a plan creating automatically a group with the name [cb_company]
One of our users started a personal plan to test, then we upgraded him to the business plan but the group was not created. I guess that's because the field  [cb_company] was empty at this time.
So I removed the plan and upgraded again and all went fine
Could you change the behavior so that the group is created even if the field is empty, then adding input a name or something ?
if you have other ideas I take it 

Please Log in to join the conversation.

1 month 3 weeks ago #332645 by krileon
Replied by krileon on topic Little bug with Groupjive
A group name is required. So no that's not possible. You'd need to put a placeholder name for situations like that. Example as follows.

[cb:if cb_company!=""][cb_company][cb:else]COMPANY[/cb:else][/cb:if]

In this case if cb_company isn't empty it'll substitute in [cb_company] and if it is it'll set the name to COMPANY.

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

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.176 seconds

Facebook Twitter LinkedIn