SQLAction for expiry date

13 years 3 weeks ago #158877 by casweb
SQLAction for expiry date was created by casweb
Hi folks, hope someone can help?!

Currently setting up cbsubs on a club website that i manage. Expiry for our memberships is 31st march every year.

Can anyone advise what changes i need to make to enable this

Cheers
Chris

ps sorry if this is something simple that i've missed somewhere but i'm still trying (slowly but surely) to get my head round it all lol!

Please Log in to join the conversation.

13 years 3 weeks ago #159067 by krileon


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.

13 years 5 days ago #160947 by audiownersclub
Replied by audiownersclub on topic Re: SQLAction for expiry date
hi and thanks for the reply, I did actually see those, however i notice now that the quote that i'd tried putting in the forum hasn't appeared!!

i'd quoted the code for this action, and had asked about the variable date that had been mentioned.

I assume the other options instead of variable date are to create a new plan each year with the end date of mar31, and assume that on renewal, members are forced to select new plan?

Regards
Chris

Please Log in to join the conversation.

13 years 3 days ago #161120 by krileon
Replied by krileon on topic Re: SQLAction for expiry date
Don't understand, you're wanting to create new plans instead of alter expiration date? Please clarify what you're trying to do. You can supply whatever date you like. Being a query you can even use MYSQL functions to calculate the date to ensure it is current year if before that date or next year if after that date.


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.689 seconds