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 »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • 'Member Since' date far in the past - date range-checking too inflexible
Pages: [1]

Author Topic: 'Member Since' date far in the past - date range-checking too inflexible  (Read 1638 times)

David Hepper

  • I’m new here
  • *
  • Posts: 20
  • Karma: 0
  • CiviCRM version: 4.4.3
  • CMS version: Drupal 7.32
  • MySQL version: 5.5
  • PHP version: 5.4
'Member Since' date far in the past - date range-checking too inflexible
February 20, 2014, 02:21:59 am
My non-profit has Life members who joined over 50 years ago. Their 'Member Since' dates are thus well beyond the concessionary 20 years ago that CiviMember allows. See issues.civicrm.org/jira/browse/CRM-1480. Dave G. said at the time that this was increased to 20 from 3 "We will be looking at a more general solution for date field configuration in a future release." That was in 1.7.
Are not arbitrary, unconfigurable limits like this against the spirit of open source in general and CiviCRM in particular?

jaapjansma

  • I post frequently
  • ***
  • Posts: 247
  • Karma: 9
    • CiviCoop
  • CiviCRM version: 4.4.2
  • CMS version: Drupal 7
  • MySQL version: 5
  • PHP version: 5.4
Re: 'Member Since' date far in the past - date range-checking too inflexible
February 20, 2014, 03:40:21 am
I think you can change this in CiviCRM under Administer --> Localisation --> Date Formats --> Advacned settings
Developer at Edeveloper / CiviCoop

David Hepper

  • I’m new here
  • *
  • Posts: 20
  • Karma: 0
  • CiviCRM version: 4.4.3
  • CMS version: Drupal 7.32
  • MySQL version: 5.5
  • PHP version: 5.4
'Member Since' date far in the past - flexibility found
February 20, 2014, 09:01:28 am
 :) Jaap, that's just what I needed. And very well hidden!
For anyone else looking for this, on 4.4.3 it is Localization > Date Formats > Advanced Date Input Settings (link part way down) > activityDate > Start Offset. Mine is now set to 100 years, allowing entering of 1914. Should be plenty.
Many thanks.
David

David Hepper

  • I’m new here
  • *
  • Posts: 20
  • Karma: 0
  • CiviCRM version: 4.4.3
  • CMS version: Drupal 7.32
  • MySQL version: 5.5
  • PHP version: 5.4
Re: 'Member Since' date far in the past - date range-checking too inflexible
April 13, 2014, 01:15:46 pm
Mostly the changes worked...
... but I think there is a bug in the range-checking of Memberships > Batch Data Entry. The 'Member Since' date, and possibly the others, are validated against the old default of '20 years before now'. Thus any date earlier than 1994 currently fails validation at the import stage and causes the whole batch to be rejected. Should I report this or can I leave it to someone else?

jaapjansma

  • I post frequently
  • ***
  • Posts: 247
  • Karma: 9
    • CiviCoop
  • CiviCRM version: 4.4.2
  • CMS version: Drupal 7
  • MySQL version: 5
  • PHP version: 5.4
Re: 'Member Since' date far in the past - date range-checking too inflexible
April 14, 2014, 12:33:05 am
You should report this
Developer at Edeveloper / CiviCoop

calbasi

  • I post occasionally
  • **
  • Posts: 36
  • Karma: 0
    • calbasi.net
  • CiviCRM version: 4.5
  • CMS version: Drupal 7
  • MySQL version: 5.1
  • PHP version: 5.3
Re: 'Member Since' date far in the past - flexibility found
April 18, 2014, 01:19:13 am
Quote from: David Hepper on February 20, 2014, 09:01:28 am
:) Jaap, that's just what I needed. And very well hidden!
For anyone else looking for this, on 4.4.3 it is Localization > Date Formats > Advanced Date Input Settings (link part way down) > activityDate > Start Offset. Mine is now set to 100 years, allowing entering of 1914. Should be plenty.
Many thanks.
David

 :)

David Hepper

  • I’m new here
  • *
  • Posts: 20
  • Karma: 0
  • CiviCRM version: 4.4.3
  • CMS version: Drupal 7.32
  • MySQL version: 5.5
  • PHP version: 5.4
Re: 'Member Since' date far in the past - date range-checking too inflexible
February 24, 2015, 02:27:35 pm
I've belatedly reported this bug at https://issues.civicrm.org/jira/browse/CRM-16006 having tried unsuccessfully to see whether it has been fixed in a later version than 4.4.3.
If anyone can suggest a workaround that defeats the date validation temporarily I would be grateful. Unfortunately, I'm not competent to try amending the PHP.
David

joanne

  • Administrator
  • Ask me questions
  • *****
  • Posts: 852
  • Karma: 83
  • CiviCRM version: 4.4.16
  • CMS version: Drupal 7
Re: 'Member Since' date far in the past - date range-checking too inflexible
February 24, 2015, 03:21:39 pm
Just FYI, from 4.6  the  Advanced Date Input Settings  have become Date preferences and will located under Customise Data and screens.  https://issues.civicrm.org/jira/browse/CRM-14578
« Last Edit: February 24, 2015, 03:43:20 pm by joanne »

David Hepper

  • I’m new here
  • *
  • Posts: 20
  • Karma: 0
  • CiviCRM version: 4.4.3
  • CMS version: Drupal 7.32
  • MySQL version: 5.5
  • PHP version: 5.4
Re: 'Member Since' date far in the past - date range-checking too inflexible
March 02, 2015, 03:16:52 am
@Joanne - yes, I fully support this move to Date Preferences.

There is a workaround for the problem - details in a note attached to JIRA CRM-16006. In brief, at Advanced Date Input Settings set the 'custom' date range the same as the 'activityDate' range and Batch Update Membership will validate your Member-Since, Start and End dates in the same way as on the Membership form.

David

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • 'Member Since' date far in the past - date range-checking too inflexible

This forum was archived on 2017-11-26.