Skip to Content Skip to Menu

🌟Discover the Joomla AI Plugin that wrote its own story! - CB Editor Assistant 1.1now for Joomla 3, 4 & 5!
✍️ 5-Day Free Trial, then 🎯 save up to 30% with our 🛍️ Intro Offer (First 50 users, ends Dec. 31)
🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

expire_date as a CB Field

  • ajack036
  • ajack036
  • OFFLINE
  • Posts: 12
  • Thanks: 0
  • Karma: 0
10 years 11 months ago #239213 by ajack036
expire_date as a CB Field was created by ajack036
Hi,

I would like to add expire_date to the CB Field list so i can then display this field in my member list on the frontend. I assume I use the MySQL Field, but I am unsure how to fill out the Field-specific Parameters so i will get a desired result. Any help would be appreciated.

Thanks
Amanda

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48634
  • Thanks: 8307
  • Karma: 1446
10 years 11 months ago - 10 years 11 months ago #239316 by krileon
Replied by krileon on topic expire_date as a CB Field
We are not the developers of "MySQL Field" so I can't advise you on its usage, but our Professional subscriber plugin CB Query Field can certainly do this. The alternative is to use CBSubs SQL Actions integration to insert the expiration date into a users field. An example query to do this with our CB Query Field plugin as follows, which may help with configuration of your "MySQL Field" plugin.

Code:
SELECT `expiry_date` FROM `#__cbsubs_subscriptions` WHERE `user_id` = '[user_id]' AND `id` = PLAN_ID_HERE


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.
Last edit: 10 years 11 months ago by krileon.

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

Moderators: beatnantkrileon
Powered by Kunena Forum