Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

[SOLVED] Show value or field with date condition

11 years 8 months ago - 11 years 8 months ago #220898 by deltafidesign
Replied by deltafidesign on topic Show value or field with date condition
No way. I've used "and" and added this into the delimiter field:


[cb:userfield field="cb_querydata" /]
[cb_querydata]

First one is not show, second one render exactly " [cb_querydata] "

The cb_querydata field correctly render the month-day value.

Also, if a just check this condition nothing is displayed:


[cb:if cb_querydata="01-01"] where "01-01" is the exactly month-day for that user.
Last edit: 11 years 8 months ago by deltafidesign.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48457
  • Thanks: 8280
  • Karma: 1443
11 years 8 months ago #220904 by krileon
Replied by krileon on topic Show value or field with date condition
CB version? You need to be using CB 1.9 for this to work. Seams to be working fine in all my tests. See attached image of it working fine using [cb_query].



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.
Attachments:

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

11 years 8 months ago #220907 by deltafidesign
Replied by deltafidesign on topic Show value or field with date condition
Yes CB 1.9

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48457
  • Thanks: 8280
  • Karma: 1443
11 years 8 months ago #220910 by krileon
Replied by krileon on topic Show value or field with date condition
Check to make sure your substitution is correct as your delimiter field shouldn't be rendering "[cb_querydata]". If it is that implies the field doesn't even exist or isn't prepared for whatever reason.


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.

11 years 8 months ago #220912 by deltafidesign
Replied by deltafidesign on topic Show value or field with date condition
I've tested it into a delimiter field where many other substitutions correctly works, just this don't work.

I've checked DB. In the _comprofiler tab my cb_query field is not present (non sure if it should not present or not...) and it present into the _comprofiler_fields tab

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

11 years 8 months ago #220913 by deltafidesign
Replied by deltafidesign on topic Show value or field with date condition
Ok, I got it!

The query field wasn't visible on profile!

Everything works fine now!

Thanks.
The following user(s) said Thank You: krileon

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

Moderators: beatnantkrileon
Powered by Kunena Forum