Currently, the flow/process of being added to the news letter is as follows:

1. subscribe to a newsletter
2. receive an email and confirm subscription by clicking on the provided link
3. get directed back to website and asked once again if you would like to subscribe?

Is it possible to eliminate the need to redirect back to the websigte to confirm once again. Once an user clicks on the link in the email they should be brought back to site and a "successful" message should be displayed.

CommentFileSizeAuthor
#7 simplenews.508802.patch9.39 KBsutharsan

Comments

sutharsan’s picture

Category: support » feature
polikuj’s picture

I've the same problem.
Anybody had resolved this issue in any way?
thankyou!

polikuj’s picture

Priority: Minor » Normal
sutharsan’s picture

Here I layed out my bigger plan for subscription form improvements.

I think a solution is to add an optional element to the confirmation URL:
http://example.com/newsletter/confirm/add/4eacdf5baa19t1 Brings you to the confirmation form
http://example.com/newsletter/confirm/add/4eacdf5baa19t1/ok Confirms the subscription immediately

sutharsan’s picture

Version: 6.x-1.0-rc6 » 6.x-2.x-dev

Changing version. New features are only added to the new branch.

sutharsan’s picture

sutharsan’s picture

Status: Active » Needs review
StatusFileSize
new9.39 KB

The attached patch
* Adds the option to direct the user to a page after subscribe and unsubscribe confirmation.
* Adds the option to skip the confirmation page by adding a segment to the URL as I described in #4
The default behaviour remains unchanged. You need to modify the content of your confirmation email to skip the confirmation page. See the changed README.txt for information.

The patch is committed and the changes will be available in the next dev release. I'd love to see your test results comming.

svogel’s picture

Hi Sutharsan,

the patch works like a charm. Thanks a lot and
+1
for the idea!
This is a very cool solution, so everyone can configure the confirmation as he wants.
I've just tested it together with the "simplenews analytics"-module and it works right out of the box.

This should definitely go into the new release.

Thanks
Stefan

sutharsan’s picture

Status: Needs review » Fixed

hmm, didn't I say it was committed to 6.x-2.x-dev: http://drupal.org/cvs?commit=318566

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

justme2013’s picture

Hi,

I just recieved the 2.x branche and wunder how to configure this?

>> found out:-) Just adjust a fixed string in de email confirmations...