Skip to Content Skip to Menu

🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

CB Code Field 1.0 Released!

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
8 years 10 months ago #277635 by nant
The following user(s) said Thank You: JoaoTapuia

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

  • jpdenny1
  • jpdenny1
  • OFFLINE
  • Posts: 195
  • Thanks: 25
  • Karma: 5
8 years 10 months ago #277682 by jpdenny1
Replied by jpdenny1 on topic CB Code Field 1.0 Released!
A nice bit of kit, thanks.
Currently only see the age as an imediate use for me but I'm sure more will pop up later.

Joomla 3.6.2
CB 2.0.15 Latest Nightly
GJ 3.0.1 nightly
Php version 5.5.35
Auto actions nightly
Activity nightly
Privacy nightly
Conditions nightly
CB Gallery 2.0
.....all nightly!
Uddeim 3.9

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

  • jojo12
  • jojo12
  • OFFLINE
  • Posts: 957
  • Thanks: 109
  • Karma: 25
8 years 10 months ago - 8 years 10 months ago #277788 by jojo12
Replied by jojo12 on topic [SOLVED] CB Code Field 1.0 Released!
I tried your tutorial for that, but I always get:
"Exact age is: 0 years, 0 months, 0 days"

I have an enabled field: cb_birthday

EDIT:
in addition there's no screenshot in the tutorial (as said)
Attachments:
Last edit: 8 years 10 months ago by jojo12.

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

  • jojo12
  • jojo12
  • OFFLINE
  • Posts: 957
  • Thanks: 109
  • Karma: 25
8 years 10 months ago #277854 by jojo12
Replied by jojo12 on topic CB Code Field 1.0 Released!
oops, sorry
I found my fault: in the formule there is cb_birthdate and I have cb_birthday!
Now it works.
The following user(s) said Thank You: nant, krileon

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

8 years 10 months ago - 8 years 10 months ago #278222 by edmundcheong
Replied by edmundcheong on topic CB Code Field 1.0 Released!
Great plugin.. What other language does it support as well?
Last edit: 8 years 10 months ago by edmundcheong.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48622
  • Thanks: 8303
  • Karma: 1446
8 years 10 months ago #278239 by krileon
Replied by krileon on topic CB Code Field 1.0 Released!
It only executes PHP so anything you can do from PHP you can do from a Code field. Please keep in mind it executes your string as an anonymous function so you don't need php tags.


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

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

Moderators: beatnantkrileon
Powered by Kunena Forum