CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • 6 months fixed!?!
Pages: [1]

Author Topic: 6 months fixed!?!  (Read 1388 times)

Vandalf

  • I post occasionally
  • **
  • Posts: 45
  • Karma: 0
6 months fixed!?!
September 11, 2011, 11:46:08 am
Yes I know, I know.. It's been asked before. Funnily, I couldn't recover the old forum posts, though, maybe someone could direct me?

Anyway, I just want to know how it is possible after all this time, not to have enabled fixed date setup for a monthly based membership???? That is, why can't you say have a 6 month membership with fixed start/end dates?
In our case, we are a student activity club, with two membership periods, following the school terms: first period 1. january - 31 july and second period 1. august - 31. december. It'd also be good to define an overlapping period of 1-2 weeks.

However, this is STILL not possible?? Or am I terribly wrong, has this been implemented recently?
I'm really sorry that I'm not a very skilled coder myself, or I would've made this my topmost priority until it was solved. I just cannot believe that we're the only ones that would like this opportunity, and as far as I can tell, this must be a really important topic to fix? After all, memberships is what civicrm is all about, isn't it?

Sorry if I sound harsh, but I cannot see why this has not been implemented ages ago. And as I already said, if there is a fix for this, I'd love to be directed to it, as I just couldn't find any other posts on this topic (amazingly! and I know from earlier reading that there are some, so I just can't understand why I cannot find them...). Again, pardon my frustration.

Best regards from one of your dedicated translators.

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: 6 months fixed!?!
September 11, 2011, 04:10:29 pm
Hi Vandalf - your original post was here http://forum.civicrm.org/index.php/topic,12679 - I just looked at your Profile and your previous Posts - alternatively I could have Adv Search and put your name in the field.
Anyhow, now that I see you are doing this for a kayak club (yay paddlers!) I will be more more supportive than I might have when I first read this post ;-)
So - you are right - this is a missing feature - but it seems like it isn't one that has been widely asked for. And certainly doesn't appear that anyone who wants it has yet put their hand up to help/fund the development of.
As a community project that is how such features get built.
So yes the above did sound a bit harsh.
I see your original post didn't acknowledge or respond to Dave's suggested work around (which I suspect isn't going to work in your case)
Quote
I just cannot believe that we're the only ones that would like this opportunity, and as far as I can tell, this must be a really important topic to fix? After all, memberships is what civicrm is all about, isn't it?
  • If you can point us to others who have asked, then perhaps we can knit them together and get the needed resources together to 'make this happen'
  • see above
  • civicrm is about much more than membership but yes it is a core feature
So I am happy to help do what I can to get the specs for this sorted but we still need to find someone who can put their hand up to provide a patch or put money towards someone else doing it.

In terms of specs - and assuming we are only considering multiple monthly periods that add up to 12 months (ie 2, 3, 4 or 6 months) then what i think is going to be required from the UI side is
- when multiple months are entered, a start fixed period field is provided. The user then enters the first month of the cycle (most likely Jan - or maybe this doesn't even need to be an option?)
A rollover date is offered, which would be set for the rollover period in the first cycle.
CiviCRM then has to calculate the other Fixed periods and Rollover dates.
eg for a 3-monthly cycle with a 2-week rollover period

Membership Type = Fixed
Period = 3 Months
Start Date #1 = Jan 1
(End Date #1 calculated as Mar 31)
Rollover date = Mar 15

Therefore Period 2 is calculated as
Start Date #2 = Start Date #1 + period of months set in field in UI = April 1
Rollover date = Rollover Date #1 + period of months set in field in UI = June 15

Therefore Period 3 is calculated as
Start Date #3 = Start Date #1 + 2 x period of months set in field in UI = July 1
Rollover date = Rollover Date #1 + 2 x period of months set in field in UI = Sept 15

Therefore Period 4 is calculated as
Start Date #4 = Start Date #1 + 3 x period of months set in field in UI = July 1
Rollover date = Rollover Date #1 + 3 x period of months set in field in UI = Sept 1

Does that sound like the recipe we are after?
« Last Edit: September 11, 2011, 04:21:23 pm by petednz »
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: 6 months fixed!?!
September 11, 2011, 04:49:53 pm
Just documenting that Help currently states correctly
Quote
If membership duration is specified in months, memberships will start on the 1st of the current month and run for the number of specified months.
and then uses an example of
Quote
Fixed Membership - 3 Months Duration: A person signs up on February 15th, 2008. Their membership start date is set to February 1, 2008 - and the end date is April 30, 2008.
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Vandalf

  • I post occasionally
  • **
  • Posts: 45
  • Karma: 0
Re: 6 months fixed!?!
September 14, 2011, 06:44:31 am
First, sorry if I was a bit harsh (I do think I was). It was just several years (literally) that finally surfaced after many hours of frustration building our page. And of course, I'm from Northern Norway, and up here, we just haven't got any manners at all (and there I probably insulted thousands of people once more :D ).

To define my problem in a little more detail: I'm not very interested in the start date, actually. What I need is to be able to set the roll-over/end date to a fixed date (end of term). That is the topmost important thing. Then of course, I need the statistics, but this should contain only how many was in fact members during that particular term. So when they started exactly, is not so interesting, only that they were members. Thus, the start date could either be fixed to the first day of the term, or be defined to the date the member joins/pays. The statistics is only for getting funds anyway, as we do get paid per member from our mother organization. :D

I think that what you described in your first (very kind) response, was just at the spot! Except that in my case, I'd only need two terms, though, but that's of course besides the point.

About finding others, I really tried hard to find those posts I read before about this, but I just cant recover them for some strange reason. I probably just suck at searching this forum, though...
Then it is the funding, I guess I could raise about $200 (edit: $400) from our club, but more than that I'd really have difficulties defending I think. And I'm pretty sure that this isn't by far enough.

Still, I do believe it would be a serious "lift" for CiviCRM, especially when directed at this kind of associations/clubs, tied to school terms and such, as these clubs (at least in Norway) mostly offer term-based memberships.

What do you think (in terms of cash) that this job would take (I really haven't got a clue)?
(and I'll try controling my temper in the future! I'll probably break it if I promised to stop, but I'll do an effort :) )

Thanks for your response!
« Last Edit: September 14, 2011, 10:24:21 am by Vandalf »

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: 6 months fixed!?!
September 14, 2011, 12:42:32 pm
hi - if there are regular jokes about northeren wegians and tempers then i haven't heard them before - but have been to tromso and nordkapp long ago and i don't remember any problems with manners - shame i wasn't doing whitewater kayaking at the time as am sure you have some wonderful rivers up there.

Yes i used an example using 3 months to flesh out the concept - but understand yours will be 2 x 6 monthly - just wanted to get the concept clear with a slightly more complex option. 

I can't really help in terms of coding a solution but thought it might help others chip in if I tried to get the requirements clear. I understand your ability to fund work is very limited but thanks for indicating what seed money you could put in.

At this point we need to wait and see if others spot this and comment on it. Or I may put up as a blog post to widen the audience.
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: 6 months fixed!?!
September 14, 2011, 12:51:00 pm

If i had to take a rough guess, w/o seeing the spec, i suspect this is a 40-60 hour project.

Yes, it would be a serious "lift" for folks using civicrm and civimember. Hopefully we'll get a few of them come on the forum and support it and/or design/implement a solution

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

jackrabbithanna

  • I post occasionally
  • **
  • Posts: 61
  • Karma: 3
  • Quick like bunny
    • http://www.skvare.com
  • CiviCRM version: 4.3.5
  • CMS version: Drupal 7.23
  • MySQL version: 5.1
  • PHP version: 5.3.3
Re: 6 months fixed!?!
February 09, 2013, 12:31:46 pm
http://wiki.civicrm.org/confluence/display/CRMDOC42/hook_civicrm_pre

Try doing rolling memberships not fixed and in a custom module change the enddate upon the memberships creation.  Then the rolling mech will get you on the proper 3 month or 6 month schedule or whatever you set the rolling to.

Use this hook in a custom module like so:

Code: [Select]
function bbacivicrm_civicrm_pre( $op, $objectName, $id, &$params ){

  if($op=='create' && $objectName=='Membership'){
     $params['end_date'] = '20130929' //Set end date to to September 29 2013
  }
}
[/code]

Of course you can add code to make the end date whatever you wish

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: 6 months fixed!?!
February 10, 2013, 01:16:16 am
Agree with Lobo, it will be a 40-60 hours job. In euros that would be roughly between 3000 and 4500 euros. I also think it would be a really good one, but as Pete pointed CiviCRM grows with funded or community development. I would certainly recommend writing a blog post about it to attract a little more attention?
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • 6 months fixed!?!

This forum was archived on 2017-11-26.