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) »
  • UpdateMembershipRecord.php as of Civi 3.3.1
Pages: [1]

Author Topic: UpdateMembershipRecord.php as of Civi 3.3.1  (Read 692 times)

mdlueck

  • Ask me questions
  • ****
  • Posts: 382
  • Karma: 4
  • CiviCRM version: 4.7.24
  • CMS version: Drupal 6.x
  • MySQL version: 5.5.54
  • PHP version: 5.3.10
UpdateMembershipRecord.php as of Civi 3.3.1
December 10, 2010, 11:02:54 am
I notice UpdateMembershipRecord.php has been updated between 3.2.5 and 3.3.1.

It used to be I needed to statically enter an email address into that file.

I see now in the 3.3.1 version, the sendReminder API is now using the variable $fromEmailAddress which is looked up and not statically in this file. What email address will the new code be looking up?

The comment at the top of the file about updating email addy on LOC 218 is still present. I assume that is now unnecessary. Correct?
--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

Kiran Jagtap

  • Ask me questions
  • ****
  • Posts: 533
  • Karma: 51
Re: UpdateMembershipRecord.php as of Civi 3.3.1
December 11, 2010, 12:41:50 am
Now 3.3 onward we are using domain from name and email address as a default from email address.

Related issue is here : http://issues.civicrm.org/jira/browse/CRM-6319

also updated comment from script.

thanks

kiran
You Are Designed To Choose... Defined By Choice.

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: UpdateMembershipRecord.php as of Civi 3.3.1
December 11, 2010, 10:14:29 am
A related issue is that although the script no longer needs to be altered it is renamed to end in .txt each upgrade - meaning that people often forget to change it back causing it to stop working. This is logged here

http://issues.civicrm.org/jira/browse/CRM-7023

You might want to keep an eye on this one as you'll be able to drop a step from your upgrade process once it is changed
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

mdlueck

  • Ask me questions
  • ****
  • Posts: 382
  • Karma: 4
  • CiviCRM version: 4.7.24
  • CMS version: Drupal 6.x
  • MySQL version: 5.5.54
  • PHP version: 5.3.10
Re: UpdateMembershipRecord.php as of Civi 3.3.1
December 11, 2010, 11:06:59 am
Thanks Kiran for the link to the explanation.

And thank you to Eileen for covering my logical next question!  ;)
--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • UpdateMembershipRecord.php as of Civi 3.3.1

This forum was archived on 2017-11-26.