Skip to Content Skip to Menu

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

  • CBSheen
  • CBSheen
  • OFFLINE
  • Posts: 9
  • Thanks: 1
  • Karma: 0
6 years 1 month ago - 6 years 1 month 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.
Last edit: 6 years 1 month ago by krileon. Reason: Added [#7302] tag to subject

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

  • krileon
  • krileon
  • OFFLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
6 years 1 month 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:
Code:
<option value="U:0000-07-00 00:00:00">This and next 6 calendar months</option>
TO:
Code:
<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 or Create an account to join the conversation.

  • CBSheen
  • CBSheen
  • OFFLINE
  • Posts: 9
  • Thanks: 1
  • Karma: 0
6 years 1 month 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 or Create an account to join the conversation.

  • CBSheen
  • CBSheen
  • OFFLINE
  • Posts: 9
  • Thanks: 1
  • Karma: 0
6 years 1 month ago #307964 by CBSheen
Many thanks Krileon
Works a treat
Best wishes
CBSheen
The following user(s) said Thank You: krileon

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

Moderators: beatnantkrileon
Powered by Kunena Forum