GroupJive Events custom fields

2 months 1 week ago #317204 by krileon
We implemented nested substitutions. So we had to improve the REGEXP. The syntax became more strict. You've random spaces in the syntax that don't belong and aren't shown in our examples. Make the below change and it should work fine again.

FROM: [cb:if group=~"/10/" ]
TO: [cb:if group=~"/10/"]

Will review improving the REGEXP to see if we can support extra spaces after a condition, but it's best to follow the syntax properly.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Templates - CBSubs - Hosting - Forge - Incubator - GroupJive
--
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 EST to 4:00 PM EST. 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
2 months 1 week ago #317220 by activha
Sorry but found the same problem with
[cb:if cb_pme_status="0" or cb_pme_status="4"]<span class="h4 text-success">Compte actif</span>[/cb:if]
[cb:if cb_pme_status="2" or cb_pme_status="3"]<span class="h4 text-danger">Compte clôturé</span>[/cb:if]
[cb:if cb_pme_status!="0" and cb_pme_status !="4" and cb_pme_status!="2" and cb_pme_status!="3"]<span  class="h4 text-info">Statut inexistant</span>[/cb:if]

This is a profil and list value substitution in a cb query field
2 months 1 week ago #317224 by krileon
Already fixed in latest build released earlier today. The capture group in the IF REGEXP was in the wrong place, which is now fixed.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Templates - CBSubs - Hosting - Forge - Incubator - GroupJive
--
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 EST to 4:00 PM EST. 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
Moderators: beatnantkrileon
Time to create page: 0.393 seconds

Facebook Twitter LinkedIn