Please Log in to join the conversation.
If you're importing you can specify the users expiration date manually (by specifying the Subscription date), you do not need to use the CBSubs SQL Actions method (which will also work as Import will trigger integrations).I really appreciate the response. I think what I'm looking for wouldn't update a user's expiration date on a new subscription (as I need to import a number of users and adjust some dates in there) manually.
The registration date is stored in the _users database table.For example, if I import a user and need to set their registration date to 4/10/2005, would I be switching that within the Community Builder user database or in the Joomla! user database (I looked at the database and saw that field in jos_users, but not jos_comprofiler - but I do want to be 100% sure)?
You would need to find and edit the users subscription within the _cbsubs_subscriptions database table.Also, if I want to go into PHPmyAdmin (as well as the first one) and switch when their subscription starts and ends, where exactly would I go for that?
No, you should adjust the dates within CBSubs. Navigate to the Subscriptions icon within CBSubs then click the ID of the subscription.For example, I see a jos_cbsubs_subscriptions table, where I could probably edit those dates, is that the best place to do that? Would the 'last renew' and and 'subscription date' probably be set to the same?
Please Log in to join the conversation.
Please Log in to join the conversation.
Again, if I'm over excited because I'm saying something wrong up there please feel free to jump-in ha, but thank you!
Please Log in to join the conversation.
UPDATE `#__cbsubs_subscriptions` SET `expiry_date` = '2012-10-01'
WHERE `user_id` = [user_id] AND `plan_id` = 1 AND `status` = 'A'
Please Log in to join the conversation.
Please Log in to join the conversation.