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) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Sign-up form for newsletter
Pages: [1]

Author Topic: Sign-up form for newsletter  (Read 2850 times)

that0n3guy

  • Guest
Sign-up form for newsletter
March 18, 2008, 03:50:52 pm
Hello all,
I am trying to setup a newsletter sign up block, is there a way to customize the default subscribe page (civicrm/mailing/subscribe?reset=1&gid=1) and use it in a block?

I want to create a simple signup block that looks something like this:

Newsletter:
Hey wanna sign up for this sweet newsletter (or something a little more professional)
First name:__________________
Email:______________________

Almost all newsletter subscription modules (ie: Simplenews, civicrm_subscribe, and the builtin "subscribe page") don't have first name (or any name, just email) as an option.  This seems very odd to me, sending an email to a person using their first name seems very basic.

I have also tried doing this with profiles, but this doesn't send out a validation email does it?  It doesn't seem to, just signs them up for the newsletter group and thats it.

I am using civicrm 2.0.1 and drupal 5.7

Thanks

P.S. is the irc channel usually super inactive?

tonyg

  • Guest
Re: Sign-up form for newsletter
March 18, 2008, 04:52:42 pm
Hey that0n3guy

Don't know if this will help but here is a conversation on CiviMail blocks and customizing the subscribe page to add profiles.  I'm in a similar situation and would love to use both profiles and the subscribe page/block. But it is not available as of yet. We recommend to groups to use profiles to capture additional info and while it doesn't send a subscribe confirmation email, it at least can automatically add them to a group and capture the info they want.

http://forum.civicrm.org/index.php/topic,2044.0.html

hope this helps
Tony

that0n3guy

  • Guest
Re: Sign-up form for newsletter
March 19, 2008, 07:19:29 am
I looked through that thread and tried copying the html form the subscribe (civicrm/mailing/subscribe?reset=1&gid=1) page but in the end I came up with the same error they did "Could not find valid Key." 

If I did get that to work, it still doesn't solve my problem of needing a first name along with the email.

The closest thing I can get to work is with profiles.  I can create a block/page that looks like my original post.  It functions correctly in that when a user signs up, he is added to my mailing list group.  My problem with this is that it Instantly adds them to the group and there is no email verification.

No email verification is BAD.  My mailing list would become full of bot sign-ups sooo fast.

If anyone knows how to make civimail send a confirmation email with the use of profiles, that would be awesome.
« Last Edit: March 19, 2008, 07:22:55 am by that0n3guy »

ctarascio

  • I post frequently
  • ***
  • Posts: 334
  • Karma: 30
    • American Friends Service Committee
  • CiviCRM version: 4.1.3
  • CMS version: Drupal 6.26
  • MySQL version: 5.5.20
  • PHP version: 5.3.13
Re: Sign-up form for newsletter
March 19, 2008, 07:58:11 am
Hello there,
   If you look here, I think you will find a solution to your problem:http://forum.civicrm.org/index.php/topic,2044.0.html. I have tested this with our configuration and it is possible to send a confirmation receipt. We are using the CiviSMTP service for CiviMail, but I do not think this will make a difference.

Cynthia

that0n3guy

  • Guest
Re: Sign-up form for newsletter
March 19, 2008, 08:12:08 am
I am confused, that link is that same as the one tonyg posted.

I got what they were doing to work, but were you ever able to add a first or last name to the form?


emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: Sign-up form for newsletter
March 19, 2008, 08:48:25 am
Not sure how soon u need this, but there is an improvement filed for this that will allow subscription pages (and thus blocks) to be created via profiles (so u will be able to customize them to your needs).

http://issues.civicrm.org/jira/browse/CRM-2861


that0n3guy

  • Guest
Re: Sign-up form for newsletter
March 19, 2008, 08:58:33 am
I was hoping to have something setup fairly soon.  I can probably get by without first name for now, but this just seems silly that it is so difficult to do.

I might even be willing to fork out some doe ($) for someone to figure this out.

Anyone else have any suggestions?

that0n3guy

  • Guest
Re: Sign-up form for newsletter
March 19, 2008, 09:06:49 am
I have an idea but am not experienced enough to know if it is possible.

-I currently have a block that adds a user (first name and email) to a mailing group using a "Profile" but has not email confirmation.
-I also have a block that that uses the "built in subscribe" html (just email) and has email conformation (but no first name)

Is there a way to combine the two, so that both submit at the same time.  But since the "profile" email and "built in subscribe" email are the same, it would recognize a duplicate, combine the info (first name and email), and wait for the confirmation.

Does that make sense?


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: Sign-up form for newsletter
March 19, 2008, 03:49:39 pm

As emily said, there is an issue for this already in 2.1. if you need this earlier please consider contributing a patch for that issue

thanx

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

Erich Schulz

  • I post frequently
  • ***
  • Posts: 142
  • Karma: 5
    • When no-one understands what you are going on about its time to start a blog
  • CiviCRM version: 4.4
  • CMS version: Drupal 7
  • MySQL version: 5.somthing
  • PHP version: 5.3.3
Re: Sign-up form for newsletter
October 05, 2010, 04:14:39 am
mmm sorry I'm new!

love civicrm! thanks all! I'm just setting up civi in antarqld.org.au... and heres a feature request following on from the above dialog:

would be lovely for each each mailing list group  (or possibly the profile not sure which would be easiest/best, maybe both) you had a menu option "subscribe form html" ... the html could then be used in drupal blocks, or any other place

Erich Schulz

  • I post frequently
  • ***
  • Posts: 142
  • Karma: 5
    • When no-one understands what you are going on about its time to start a blog
  • CiviCRM version: 4.4
  • CMS version: Drupal 7
  • MySQL version: 5.somthing
  • PHP version: 5.3.3
Re: Sign-up form for newsletter
October 05, 2010, 04:22:42 am
oops sorry - ok this exists for profile, but only visible from the profile list - you cant get to it from editing the profile (and you don't seem to be able to go back to the profile list from editing a single profile)

so I guess that would make it even easier to add a link from an individual profile to the html form snippet.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Sign-up form for newsletter

This forum was archived on 2017-11-26.