SQLAction for expiry date

8 years 1 month ago #158877 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!
8 years 1 month 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 - Templates - CBSubs - Hosting - Forge - Incubator - GroupJive
--
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 EST to 4:00 PM EST. 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.
8 years 1 month ago #160947 by audiownersclub
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
8 years 1 month ago #161120 by krileon
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 - Templates - CBSubs - Hosting - Forge - Incubator - GroupJive
--
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 EST to 4:00 PM EST. 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.
Moderators: beatnantkrileon
Time to create page: 0.401 seconds