We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Freeform | mailinglist_opt_in="no" parameter explanation

Development and Programming

elemental's avatar
elemental
77 posts
18 years ago
elemental's avatar elemental

Hello,

Working with the Freeform module and trying to use the mailinglist_opt_in=”no” function. The manual states:

The ‘mailinglist_opt_in’ parameter, when set to no, overrides the default setting and immediately subscribes the user to the given mailinglists.

Does that mean that it doesn’t send the activation email? If yes is seems NOT to be working, but as mentioned maybe I don’t understand the parameter properly.

Thanks for any advice

UPDATE: Even if mailinglist_opt_in is set to no a in

mailinglist_opt_in="no"

it still sends the activation email.

       
Sue Crocker's avatar
Sue Crocker
26,054 posts
18 years ago
Sue Crocker's avatar Sue Crocker

Which version of FreeForm are you using?

       
elemental's avatar
elemental
77 posts
18 years ago
elemental's avatar elemental

Sorry forgot to mention. latest 2.5.1 version

       
Sue Crocker's avatar
Sue Crocker
26,054 posts
18 years ago
Sue Crocker's avatar Sue Crocker

I can replicate the problem here as well. I’d recommend you mention this to Mitchell by email. He comes around fairly frequently, but not every day.

       
elemental's avatar
elemental
77 posts
18 years ago
elemental's avatar elemental

Allright. Thanks Sue for checking that. I made a quick dirty hack for now in the mod.freeform.php forcing the module to NOT send activation mail even if set to NO. Will get this to Mitchell.

A new thing that I would be interested is: Is it possible that Freeform checks the mailing list for duplicates before adding to it. I know it can check for duplicates in the freeform table but it seems it would be beneficial if it could check in the mailing list as well just as the original mailing list form does. Just curious.

Thanks Again

       
Solspace's avatar
Solspace
106 posts
18 years ago
Solspace's avatar Solspace

Elemental,

Thanks for filing the bug. We’ll have a look and try to resolve it.

And yes, Freeform checks to prevent duplicate sign-ups to mailinglists.

mk

       
elemental's avatar
elemental
77 posts
18 years ago
elemental's avatar elemental

Well that might be another bug then, since now with the version 2.5.1 it signs in duplicate emails to the mailing list. :(

       
noregt's avatar
noregt
360 posts
18 years ago
noregt's avatar noregt

Same problem here, the opt-in does not respond AND it tries to make duplicate emails.

What I’d rather have would be the ability to join the mailing list as a checkbox, and then use the opt-in to skip verification (or not depending on your preferences of course). But that might be an offside subject here.

       
kenny2's avatar
kenny2
90 posts
17 years ago
kenny2's avatar kenny2

Same problem here, it does sign up duplicate emails. I have left a note in the Solspace forums but apparently Mitchell has been on hols :coolsmile:

       
kwgray's avatar
kwgray
49 posts
17 years ago
kwgray's avatar kwgray
What I’d rather have would be the ability to join the mailing list as a checkbox, and then use the opt-in to skip verification (or not depending on your preferences of course). But that might be an offside subject here.

This is exactly what I’m trying to do too. Does anyone have a code example or know if it’s possible? At the moment I have two forms on a contact page, one for enquiries and one for the mailing list sign up

http://www.propertylogbook.co.uk/index.php/site/contact/

Thanks

Ken

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.