Skip to Content Skip to Menu

List of users, membership-status

  • eirikop
  • eirikop
  • OFFLINE
  • Posts: 5
  • Thanks: 0
  • Karma: 0
13 years 9 months ago #151207 by eirikop
List of users, membership-status was created by eirikop
I'm using CBsubs to control memberships, but in the list of users (Community Builder->User Management) all users are listed with a membership, even when the membership has expired. Is this correct?
How can I see how many users that have a valid membership?

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

  • nant
  • nant
  • ONLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
13 years 9 months ago #151229 by nant
Replied by nant on topic Re: List of users, membership-status

eirikop wrote: I'm using CBsubs to control memberships, but in the list of users (Community Builder->User Management) all users are listed with a membership, even when the membership has expired. Is this correct?
How can I see how many users that have a valid membership?


Unless the user list is filtering based on some CB Field that is populated/reset upon subscription / ending of subscription, then the userlist is correct.

You would need to use the CBSubs CB Fields integration plugin to assign a value to a CB field upon plan subscription and remove value when subscription ends.

Then you would need to filter your userlist and show only users that have the field set.

You can also use the CB User Manager in backend that can automatically filter against CBSubs plans and their status.

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

  • mpausch
  • mpausch
  • OFFLINE
  • Posts: 8
  • Thanks: 0
  • Karma: 2
13 years 9 months ago #151499 by mpausch
Replied by mpausch on topic Re: List of users, membership-status
If you want to filter out cb subs expired users, create an advanced filter and add..

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

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

  • mozgras
  • mozgras
  • OFFLINE
  • Posts: 21
  • Thanks: 3
  • Karma: 0
12 years 4 months ago - 12 years 4 months ago #201605 by mozgras
Replied by mozgras on topic Re: List of users, membership-status
Where would one put this filter? My guess is somewhere in the sql actions plugin integration, but where and how exactly?
Last edit: 12 years 4 months ago by mozgras.

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

  • mozgras
  • mozgras
  • OFFLINE
  • Posts: 21
  • Thanks: 3
  • Karma: 0
12 years 4 months ago #201607 by mozgras
Replied by mozgras on topic Re: List of users, membership-status
Another idea, in Access tab of a plan there is a setting that can change a users access level... can or does this get changed to something else when the subscription ends?

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

Moderators: beatnantkrileon
Powered by Kunena Forum