Skip to Content Skip to Menu

[SOLVED] Question about _cbsubs_subscriptions.status ...

  • mikerotec
  • mikerotec
  • OFFLINE
  • Posts: 346
  • Thanks: 28
  • Karma: 2
11 years 2 weeks ago - 11 years 1 week ago #236516 by mikerotec
I've searched the forums, couldn't find this.

We have a real mishmash of blocked, unconfirmed, etc users after a couple years of having some basic settings misconfigured.

What I am trying to do is determine which users were simply 'expired' ( as opposed to 'cancelled')... it appears that in CB User Manager, the users with nothing showing in their "Subscription" (we have two types) were probably cancelled or expired... but it allows us to filter further and it seems there are the two distinct possibilities.

For some time users were accidentally blocked after their subscription expiry(could not log in to renew their subscriptions!), and I would like to unblock and confirm their accounts and send them an apology/opportunity to log in again.

But I don't want to pester former users who intentionally 'cancelled'.

So I need to be able to filter these accounts in the db (I plan to leave the cancelled accounts 'unconfirmed' - but set expiries back to confirmed). This will allow them to at least LOG IN and renew their subscriptions, should they desire to.

The question is - what exactly do the 'status' codes indicate?
I see A, U, and X (Active, Upgraded, Expired?? - or is X actually 'cancelled'??)

I can see that setting _comprofiler.confirmed =1 and _comprofiler.cbactivation ='' should make a user "confirmed" again - but I only want to do this for users who did not explicitly CANCEL their accounts. Just not sure how to determine this...
Last edit: 11 years 1 week ago by mikerotec.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
11 years 1 week ago #236797 by krileon

The question is - what exactly do the 'status' codes indicate?

The statuses are as follows.

A = Active
R = Registered Unpaid
X = Expired
C = Unsubscribed
U = Upgraded to other
I = Invalid


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

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

Moderators: beatnantkrileon
Powered by Kunena Forum