Posted by pelicani on May 11, 2009 at 7:09pm
Jump to:
| Project: | CiviCRM Subscribe |
| Version: | 6.x-1.0-beta1 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (won't fix) |
Issue Summary
function civicrm_subscribe_form_submit() only sends an email
$contact_added = crm_mailer_event_subscribe($form_state['values']['email'], $group_id);
and displays a message
drupal_set_message(_civicrm_subscribe_variable_get_page_submitted($group_name));
The there is an email sent, which asks user to respond to confirm.
If I respond, I also receive an email confirmation welcoming me to the group.
Is there a way to turn this off?
Does the civicrm_subscribe hash table work in this version?
Comments
#1
I believe that the email message is part of CiviCRM's subscription API, which is called in the 6.x version. I don't think there is a way to prevent this, unless you want to add people to the group manually, bypassing CiviCRM's externally facing API.
Let me know if that would be of interest to you and I could try to work on a solution. I can't guarantee I'll resolve the issue quickly though.
#2
Feature request.
This will come in for discussion as part of #850456: [meta] Release roadmap, which is postponed on #850452: Release 6.x-1.x-beta.
#3
After there is a 6.x-1.0 full release (i.e., no bugs with the basic subscription process), I might consider having an "advanced" option in admin/settings/civicrm_subscribe which would bypass the CiviCRM subscription API, thus making it so you could subscribe people to groups without emails being sent, as well as subscribing people to hidden groups.
This would allow you to use groups for other things beside mailing lists. Another critical feature that I think would be needed then, however, would be spam control, probably through integration with CAPTCHA or Mollom, to prevent bots from adding bogus email addresses to your system.
By the way, you should upgrade to 6.x-1.0-beta1 and report any issues you have with it. That will help me move along to 6.x-1.0 quicker.
Until this feature is added to CiviCRM Subscribe, you can avoid requiring that users confirm their group subscription by adding the following to your civicrm.settings.php file:
define( 'CIVICRM_PROFILE_DOUBLE_OPTIN' , 0 );Note that this was added in CiviCRM 2.2 - see http://issues.civicrm.org/jira/browse/CRM-4153 for more information.
#4
pelicani, Do you still use this module? Your response will help me decide if I move forward with adding this.
If you do not use it, I think that a full integration of CiviCRM with Webform module might be a more useful module for me to develop, but that would be starting from scratch, and though it would do much more than this module, it would also take more time to create, and I don't have a lot of spare time to develop this. See #850456: [meta] Release roadmap for my current thoughts on what I will do with this module.
#5
Clearer title.
#6
make sure u'll check and work with coleman on his civicirm+webform work
http://civicrm.org/node/1039
http://drupal.org/node/1050680
#7
@lobo:
Thanks for the note. I plan basically on deprecating this module in favor of that one, as soon as there's subscription integration in the CiviCRM+Webform module, since (imo) that is a much better and more flexible route.
#8
I've decided that I am not going to add this in, in favor of keeping this module as simple as possible.