Closed (fixed)
Project:
CiviCRM Subscribe
Version:
5.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Feature request
Assigned:
Reporter:
Created:
18 Mar 2008 at 18:47 UTC
Updated:
13 Feb 2009 at 23:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
alimc29 commentedJust to follow up, it looks like this function is replaced by civicrm_groups_get( $params )
(http://wiki.civicrm.org/confluence/display/CRMDOC/Group+APIs)
Comment #2
xurizaemonhttp://forum.civicrm.org/index.php/topic,3008.0.html is a CiviCRM forum thread on migrating API code from 1.x to 2.x
Comment #3
that0n3guy commentedI may have created a duplicate issue http://drupal.org/node/234066. Different error though.
It seems there are many of us that want/need this for civicrm 2.x. Maybe we should all pitch in some cash to get'r done.
Comment #4
chrismott commentedI have jumped in here and ported the 5.x-1.2 code to use the new v2 api in CiviCRM 2.0. It needs thorough testing and a review before using for a production site. Please give it a test run.
A couple changes of note:
The Drupal repository should probably be branched so that users can download either Drupal 5.0 + CiviCRM 1.9 or Drupal 5.0 + CiviCRM 2.0 versions. The Drupal 6.0 branch won't have this need since it will only be Drupal 6.0 + CiviCRM 2.1+
Comment #5
xurizaemonsubscribe
Comment #6
owen barton commentedThis patch works for me. I have updated the patch to the latest DRUPAL-5 code.
Comment #7
owen barton commentedActually that patch does include a couple of additional fixes I found.
Comment #8
douggreen commentedGrugnog, you have CVS commit rights to this project. If you've tested the patch, can you please commit it too? Thanks!
Comment #9
mlecha commentedsubscribe
Working Drupal 5.7 with CiviCRM 2.0.
Comment #10
douggreen commentedThanks for getting this started. But there's still debugging code in the patch. And I want a patch that works with both 1.0 and 2.0 versions. I've got a client that needs this done, so hopefully a new patch will be posted (and committed) today.
Comment #11
douggreen commentedPlease try the attached patch, and the new civicrm20compat module.
I believe that CiviCRM 2.0 has double-opt-in features. Is this module needed anymore?
Comment #12
sonicthoughts commentedthis is still more powerful than the civi-subscriber logic. for example, it allows an email upon subscription. i also think the do_not_email logic is better.
Comment #13
webdev2 commentedSort of a newbie question, I see the "+" and "-" in the patch. Am I supposed to add the "+" lines in the referenced function and delete the "-" lines?
Comment #14
webdev2 commentedI added patch and still am getting a blank display to this page
ANy ideas??
Comment #15
fm commentedIs this also CiviCRM 2.1 compatible?
Comment #16
owen barton commentedUpdated patch to full CiviCRM 2.x compatibility (not using thecivicrm20compat module). If we still want to support CiviCRM 1.x, perhaps this could be committed as a 2.x branch?
Comment #17
webdev2 commentedDoes this last path (Oct 16, #16) require the previous patches be applied or can I go straight from the downloaded module to this patch?
Also, is there an easier way to apply a patch than to go through each line by line manually and making the change?
Thanks!
Comment #18
owen barton commented@webdev2,
This is a complete patch, that should apply cleanly on the 5.x-1.x-dev branch code.
To apply the patch please see http://drupal.org/patch/apply - no need to apply manually!
Comment #19
webdev2 commentedHoly crap, will that save some time. Many thanks!
Comment #20
sonicthoughts commentedsorry - can you clarify is this is working with drupal 6 + civicrm 2.1? Is it necessary still?
Also - can the subscription email confirmation be customized per group?
thanks,
S.
Comment #21
bcobin commentedDrupal 5.12
CiviCRM 2.0.7
I just get a white screen upon submit, using the patch from #16. The user does get added to the group, but hitting 'return' on the white page url just exposes the form in a page and we're back where we started. (My signup form is in a block.)
This should be such a simple (and really, really important) function; why is everything in CiviCRM such an absolute nightmare?
Thanks for trying anyway... :(
Comment #22
douggreen commentedI applied the patch, tested, created a new branch and new tag. The DRUPAL-5--2 branch now supports CCRM 2.0! Thanks!
Comment #23
fm commentedJust CiviCRM 2.0, or CiviCRM 2.x (including the current version, CiviCRM 2.1; and the soon to be released v2.2)?
Comment #24
xurizaemon@fm: As CiviCRM v2.1+ is only compatible with D6 for now, you'd need the 6.x-dev version, and this patch seems to be against the 5.x code.