Skip to Content Skip to Menu

user reports or lists

  • spletcher
  • spletcher
  • OFFLINE
  • Posts: 54
  • Thanks: 0
  • Karma: 0
9 years 8 months ago #260994 by spletcher
user reports or lists was created by spletcher
I am trying to make a frontend user list showing the active subscriptions by subscription date.

I am making a list of active members for a certain plan using this query:

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

However, it appears that there is no way to show a field in my userlist from the CB Subscriptions table such as `subscription_date` or `last_renewed_date` from this table.

The only thing I can see in the user list is the CB fields that are defined. Does Joomlapolis have any suggested plugin to do this or do I need to look elsewhere in the JED for something to do queries on database tables and write the queries?

Thanks,

Stan

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
9 years 8 months ago #261009 by nant
Replied by nant on topic user reports or lists

spletcher wrote: I am trying to make a frontend user list showing the active subscriptions by subscription date.

I am making a list of active members for a certain plan using this query:

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

However, it appears that there is no way to show a field in my userlist from the CB Subscriptions table such as `subscription_date` or `last_renewed_date` from this table.

The only thing I can see in the user list is the CB fields that are defined. Does Joomlapolis have any suggested plugin to do this or do I need to look elsewhere in the JED for something to do queries on database tables and write the queries?

Thanks,

Stan


The CB Query field plugin that is part of the Professional membership level can be used to do this.

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

Moderators: beatnantkrileon
Powered by Kunena Forum