[#7302] 1 year plan to start on 1st of month of subscription

5 years 6 months ago - 5 years 6 months ago #307896 by CBSheen
We are a Tennis and Squash club looking to replace our subscription service and have started to play with CBSubs since our membership details are held on Community Builder.
Subscriptions run for 12 months but start on the 1st of the month in which a new member joins.
In experimenting with the initial validity settings we cannot find a way to do this. We seem to be able to do this calendar month and the next 1, 2, ...6 but not this plus next 11 to give a yearly membership starting at the beginning of the month.
Am I missing something? It seems to us to be a fairly commomn requirement for clubs and societies and other 'non-web content' purposes.

Please Log in to join the conversation.

5 years 6 months ago #307941 by krileon
There's no duration setting for 1 year, but starting on the beginning of current month. Closest you'll get to that is "This and next 5 calendar months" which gives them 6 month subscription basically. Have added a feature ticket to review extending this further as if it supported this + next 11 months it'd work how you're wanting I suspect.

#7302

Note this isn't officially supported, but you maybe able to force the durations with the below XML edit. Please note you'd be using these added durations at your own risk. Please test thoroughly.

IN: components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/xml/edit.plugin.xml
ON: Line 116
FROM:
			<option value="U:0000-07-00 00:00:00">This and next 6 calendar months</option>
TO:
			<option value="U:0000-07-00 00:00:00">This and next 6 calendar months</option>
			<option value="U:0000-08-00 00:00:00">This and next 7 calendar months</option>
			<option value="U:0000-09-00 00:00:00">This and next 8 calendar months</option>
			<option value="U:0000-10-00 00:00:00">This and next 9 calendar months</option>
			<option value="U:0000-11-00 00:00:00">This and next 10 calendar months</option>
			<option value="U:0000-12-00 00:00:00">This and next 11 calendar months</option>

That should make those durations available for selection, but may or may not work as expected so again please test thoroughly. Note that core file changes will be lost every time you update, but since this setting is saved you shouldn't lose it as long as you don't re-save the plan before making the above changes.


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: nant, CBSheen

Please Log in to join the conversation.

5 years 6 months ago #307949 by CBSheen
Many thanks Krileon
I will try the suggestion and also look forward to a future feature release.
Best wishes
CBSheen

Please Log in to join the conversation.

5 years 6 months ago #307964 by CBSheen
Many thanks Krileon
Works a treat
Best wishes
CBSheen
The following user(s) said Thank You: krileon

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.222 seconds

Facebook Twitter LinkedIn