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) »
  • Automated membership status update script?
Pages: [1]

Author Topic: Automated membership status update script?  (Read 1129 times)

kyle.vh

  • Guest
Automated membership status update script?
March 17, 2009, 03:37:15 pm
I have 100's of members, and I just changed the Grace status to extend it. But, members have not been shifted from 'expired' to in 'grace' yet. Even though cron has run.
How can I update this?

CiviCRM hints that there is a " automated membership status update script". Is this a URL I need to hit?

Sunil

  • I post frequently
  • ***
  • Posts: 131
  • Karma: 23
  • The community around a product more important than the product itself?
    • CiviCRM
Re: Automated membership status update script?
March 17, 2009, 10:17:39 pm
Hi,
   
 Can you update your forum profile with CiviCRM version, CMS, MySQL, and PHP versions.
 
 for updating the Membership Record through script
 refer this  http://forum.civicrm.org/index.php/topic,6336.msg30954.html#msg30954

sunil
The community around a product more important than the product itself?

kyle.vh

  • Guest
Re: Automated membership status update script?
March 19, 2009, 04:58:58 pm
For this installation I'm on CiviCRM 2.2.beta1, Drupal 6.10, php 5, mySQL 5.

When I create a key, and visit the suggested URL, I see a successful: "Updating ........ Membership records updated. (Done)"

However, my memberships don't appear updated to reflect the fact that I've extended the Grace period at Membership Status Rules..
Is there something I'm missing or doing incorrectly?
Thanks  ;)

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Automated membership status update script?
March 19, 2009, 09:04:46 pm
Hmm - I don't think the script is set up to account for your use case (changing expired back to another status due) - in fact it ignores expired records (see line 137 of the script). You can probably change the array that follows this comment to remove Expired from the exclusions. CAVEAT - test this on a copy of your DB w/ the email sending disabled first.
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Automated membership status update script?

This forum was archived on 2017-11-26.