Similar to the request for CiviCRM_Subscribe-- wondering whether there's a plan/work going on to have this module support the new CiviCRM APIs that were deprecated as of 1.9?
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 2.0_api_compat-235959-3.patch | 2.96 KB | EvanDonovan |
| #1 | civicrm_activeuser.module.5.x-1.x.patch | 1.03 KB | anniekin |
Comments
Comment #1
anniekin commentedI ported this for our site for CiviCRM 2.0, so I'm posting the patch here. I've never contributed to Drupal before, so the code definitely needs review if anyone else is planning on using it.
The code modifications are to support CiviCRM 2.0. This involved two things: using the non-deprecated CiviCRM API's and referring to Contacts and Groups as arrays rather than objects.
Comment #2
EvanDonovan commentedWill review this, and commit it as 5.x-2.0 shortly. (2.0 since I don't want to disrupt people on the stable 5.x-1.2 branch.)
Patches should be made with diff -up.
Comment #3
EvanDonovan commentedAttached is a revised version of the patch, which I am about to commit to 5.x-1.x-dev.
It is untested, since I do not have a 5.x install of Drupal & CiviCRM locally, but should be good. If anyone still uses the 5.x branch of this module, could they report if it works?
Comment #4
EvanDonovan commentedRealized, too late, that the array keys didn't have quotes around them. I'm going to call this fixed, but would be good to get a confirmation from someone who may still be using the 5.x-1.x version, if they are willing to try the 5.x-1.x-dev after it gets rebuilt.