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) »
  • Renewal reminders sent when membership status changed to Cancelled
Pages: [1]

Author Topic: Renewal reminders sent when membership status changed to Cancelled  (Read 602 times)

Neil Adair

  • I post occasionally
  • **
  • Posts: 78
  • Karma: 4
  • CiviCRM version: 4.5.8
  • CMS version: Drupal 7
  • MySQL version: MariaDB 10
  • PHP version: 5.5 FPM
Renewal reminders sent when membership status changed to Cancelled
October 24, 2012, 01:53:39 pm
A client wanted to create a group of expired organization members and found that some with current memberships were included because an old membership (of a different type) was expired. When these memberships were changed to Cancelled status renewal reminders were automatically sent. I can't think of a scenario when this action would be appropriate.

Is it possible to prevent reminders being sent when memberships are set to Cancelled?

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: Renewal reminders sent when membership status changed to Cancelled
October 30, 2012, 09:09:09 am
This is a flaw of the 4.1.5 system that has been replaced in the 4.2 system.

The short story is you should upgrade.

The long story is that code in version 4.1.5 (if that is what you are still running) and earlier checks only the membership 'reminder date' and sends to any membership where that date is =< today.   When changing a status and saving a membership, the reminder date is saved and changed. 

This is an inappropriate combination, and can easily be hacked if you cannot upgrade so that reminders are only sent to "current" memberships.

If you need code, PM me.

Try CiviTeacher: the online video tutorial CiviCRM learning library.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • Renewal reminders sent when membership status changed to Cancelled

This forum was archived on 2017-11-26.