[SOLVED] CB List Management & CBSubs

10 years 3 months ago - 10 years 3 months ago #239520 by AusAPT
[SOLVED] CB List Management & CBSubs was created by AusAPT
What value do I need to enter in the CB List "filter" field to only display members with "any plan active" in a CB list?

Attachments:

Please Log in to join the conversation.

10 years 3 months ago #239628 by krileon
Replied by krileon on topic CB List Management & CBSubs
The below should ensure the users row has at least 1 active subscription.

( ( SELECT COUNT(*) FROM `#__cbsubs_subscriptions` AS sub WHERE sub.`user_id` = u.`id` AND sub.`status` = 'A' ) >= 1 )

Adjust as needed. Please note I did not test the above.


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

Please Log in to join the conversation.

10 years 3 months ago #239632 by AusAPT
Replied by AusAPT on topic CB List Management & CBSubs
Thanks Kyle.
That did the trick.

Please Log in to join the conversation.

8 years 7 months ago #271495 by jfredball
Replied by jfredball on topic [SOLVED] CB List Management & CBSubs
This didn't work for me, pasted directly in. What adjustments might need to be made?

Please Log in to join the conversation.

8 years 5 months ago #273840 by krileon
Replied by krileon on topic [SOLVED] CB List Management & CBSubs
No adjustments need to be made. Enable debug mode and maximum error reporting in Joomla global configuration before testing to allow errors to expose.


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 to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.176 seconds

Facebook Twitter LinkedIn