newhaven-helpwithcovid / covid-volunteers

Organizing and matching volunteers with COVID-19 projects
http://www.newhavenhelpwithcovid.com/
MIT License
1 stars 1 forks source link

[Urgent] Add a check box and line on volunteer profile page for signing up for newsletters #45

Closed tiffanywschan closed 4 years ago

tiffanywschan commented 4 years ago

Place it at the bottom of the page right before people save their volunteer profile:

A check box and a line that says "I'm interested in receiving regular email updates on the latest volunteering openings."

Here's the mailchimp code to embed for sign up on the volunteer profile:

joyceduan commented 4 years ago

Is the idea to have a pop up appear when the check box is clicked or to have them be automatically subscribed when they save?

tiffanywschan commented 4 years ago

The idea is to have a line there with a check box that they can check saying basically please sign me up for newsletters.

On Apr 3, 2020, at 3:24 PM, joyceduan07 notifications@github.com wrote:

Is the idea to have a pop up appear when the check box is clicked or to have them be automatically subscribed when they save?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/newhaven-helpwithcovid/covid-volunteers/issues/45#issuecomment-608616726, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO7NMTUVXPXYF73N35FIEEDRKYZVLANCNFSM4LZ2LO4Q.

chena11356 commented 4 years ago

It looks like the code provided by Mailchimp allows you to subscribe, but not in a checkbox format -- instead it looks like a button that opens a pop-up for you to type in your email, and then subscribe. It might take longer to reformat this into a checkbox (I'm not sure if Mailchimp offers that capability), so would this button popup suffice for now?

tiffanywschan commented 4 years ago

The button popup suffice for now. Thanks a lot!

On Apr 4, 2020, at 2:04 PM, chena11356 notifications@github.com wrote:

It looks like the code provided by Mailchimp allows you to subscribe, but not in a checkbox format -- instead it looks like a button that opens a pop-up for you to type in your email, and then subscribe. It might take longer to reformat this into a checkbox (I'm not sure if Mailchimp offers that capability), so would this button popup suffice for now?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/newhaven-helpwithcovid/covid-volunteers/issues/45#issuecomment-609067229, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO7NMTTXLU65FHRHLWGSBELRK5ZENANCNFSM4LZ2LO4Q.

chena11356 commented 4 years ago

Actually my bad, so I read it wrong -- according to this article , Mailchimp lets you export code as either an embedded sign-up form or a popup that only appears when you first visit the site.

It looks like the former is more useful to us than the latter, so would it be possible for you to go into Mailchimp, change the settings, and get the embedded sign-up code rather than the popup code?

tiffanywschan commented 4 years ago

I’ve just sent you username and password for MailChimp in slack DM. I’m not sure how to change the settings so I think I should let you handle it. Thanks! The verification code is sent to our newhavenpandemic@gmail.com mailto:newhavenpandemic@gmail.com

On Apr 4, 2020, at 2:52 PM, chena11356 notifications@github.com wrote:

Actually my bad, so I read it wrong -- according to this article https://www.create.net/support/how-to-add-a-mailchimp-signup-form-to-your-website , Mailchimp lets you export code as either an embedded sign-up form or a popup that only appears when you first visit the site.

It looks like the former is more useful to us than the latter, so would it be possible for you to go into Mailchimp, change the settings, and get the embedded sign-up code rather than the popup code?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/newhaven-helpwithcovid/covid-volunteers/issues/45#issuecomment-609073108, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO7NMTR6PFDBPI2DKYXLPNDRK56WJANCNFSM4LZ2LO4Q.

sarimabbas commented 4 years ago

There are a bunch of tutorials that use Gibbon, which I'll investigate

chena11356 commented 4 years ago

Gibbon looks perfect! I've been trying to use the following Mailchimp code but it's not working with Rails (for some reason the subscribe button is acting like it's saving the profile instead, and not actually subscribing the email to anything).

sarimabbas commented 4 years ago

Ahh I see! I tried the JS as well but didn't have any luck. I ended up integrating Gibbon and things work so far! In a few moments I'll push the branch. Would love to get your help cleaning up the code/good style etc

sarimabbas commented 4 years ago

Check out https://github.com/newhaven-helpwithcovid/covid-volunteers/pull/52 if you get the chance