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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Email confirmation on profile or profile on newsetter subscription ?
Pages: [1]

Author Topic: Email confirmation on profile or profile on newsetter subscription ?  (Read 3272 times)

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Email confirmation on profile or profile on newsetter subscription ?
January 21, 2009, 10:43:04 am
Hi,

My goal is to offer a form :
- First name,
- Last Name,
- email,
- whatever field 1...

and a list of newsletter they can subscribe to:
- general news
- specific news about this
- specific news about that

When someone registers, she got an email "please confirm that you want to register click this link..."

Two existing features provide part of the solution:
1) /civicrm/profile/create?reset=1&gid=n
That allows to show the right fields as defined by the profile and add the contact to a group
but
1a) it can't add to more than one group
1b) it doesn't provide a confirmation email

and
2) the newsletter registration
but doesn't offer more than one email field (no other field)

Question for those knowing civi in detail, What is easier to modify, add a profile on the newsletter registration, or add a confirmation email feature on the profile ?

A third way that is even easier to implement or a magic feature a missed is also more than welcome.

X+



-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Email confirmation on profile or profile on newsetter subscription ?
January 21, 2009, 01:15:05 pm

If CiviMail is enabled, and you add the "groups" field to profile, you get the desired behavior :). The groups that are exposed are the ones marked as "public" and of type: "mailing list"

i.e. it becomes a double opt-in, user gets an email for each group they've opted into asking for a confirmation

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

gts0815

  • Guest
Re: Email confirmation on profile or profile on newsetter subscription ?
February 12, 2009, 01:40:22 am
Hi,

maybe I'm blind as a bat, but I can't find the "groups" field!

I checked: CiviMail is enabled and the group is marked public and is of the type mailinglist.

Please give me a hint.


Sunil

  • I post frequently
  • ***
  • Posts: 131
  • Karma: 23
  • The community around a product more important than the product itself?
    • CiviCRM
Re: Email confirmation on profile or profile on newsetter subscription ?
February 12, 2009, 03:27:17 am
hi
Group(s) field will be find under Contacts (since it is used by Individual, Household and Organization )

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

gts0815

  • Guest
Re: Email confirmation on profile or profile on newsetter subscription ?
February 13, 2009, 11:02:25 am
Thank you so much. and as a fact, i am blind as a bat :-)

DHLao

  • Guest
Re: Email confirmation on profile or profile on newsetter subscription ?
March 31, 2009, 02:53:43 am
Hi Lobo,

user gets an email for each group they've opted into asking for a confirmation ?

What if the user subscribe 10 newsletter groups at the frontend profile form.

The user need to open 10 emails with same subject and click on that link 10 times !?

Anyway to make them all-in-one ?

Or disable the Subscription Confirmation ? (I don't know how to disable  :()
« Last Edit: March 31, 2009, 03:20:34 am by DHLao »

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Email confirmation on profile or profile on newsetter subscription ?
March 31, 2009, 07:14:45 am

no. the user will get 10 emails and need to click on them. You are subscribing them to 10 different mailing lists.

u'll need to modify the code to disable.

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Email confirmation on profile or profile on newsetter subscription ?
March 31, 2009, 07:26:17 am
Hi,

I have exactly the opposite problem (on a 2.1 install).

I have the profile that includes the groups, but when I check them, no mail is sent, and they are directly added to the group.

To recap:
I created a profile with a few fields, or public visibles
I added a "field" groups

On the /civicrm/profile/create?reset=1&gid=1 I have the choice between the (two) groups mailinglist and public

If I check them both, no mails are sent, and the contact is created and in the groups.

It is my understanding that it isn't the behaviour expected. Correct ?
X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

DHLao

  • Guest
Re: Email confirmation on profile or profile on newsetter subscription ?
March 31, 2009, 09:09:08 am
Hi xavier,

Your case is exactly what I need.  ;D
Mind to share with me?

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Email confirmation on profile or profile on newsetter subscription ?
March 31, 2009, 10:08:49 am
Quote from: xavier on March 31, 2009, 07:26:17 am
It is my understanding that it isn't the behaviour expected. Correct ?

most likely you dont have civimail enabled. The double opt-in is based on that component being enabled

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Email confirmation on profile or profile on newsetter subscription ?
April 01, 2009, 03:04:22 am
Hi,

Yes I do have it. The double opt in works only on the "civicrm" registration link, (but it doesn't allow you to request additional fields). That's why I'm trying using the profile.

Any other suggestion ?

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Email confirmation on profile or profile on newsetter subscription ?
April 01, 2009, 11:13:26 am

lets chat on IRC so we can get more details / debug this case.

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Email confirmation on profile or profile on newsetter subscription ?

This forum was archived on 2017-11-26.