ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Add a mailing list unsubscribe check box in a member profile

December 17, 2011 5:12pm

Subscribe [1]
  • #1 / Dec 17, 2011 5:12pm

    EnergyFreak

    102 posts

    Hi,

    I can’t seem to find anywhere in the documentation how to add a unsubscribe check box to native ee mailing list. I want the users to be able to unsubscribe themselves from the mailing list from their profiles. I know users can unsubscribe themselves from a link at the bottom of the email, but I want to add an extra capability.

    Anyone have an idea what I must add?

    Thanks.

  • #2 / Dec 19, 2011 6:33pm

    EnergyFreak

    102 posts

    Anyone know?

    It must be something like this:

    <input type="checkbox" name="notify_by_default" id="notify_by_default" value="y" {if notify_by_default == "y"}checked="checked"{/if} /> <label for="notify_by_default">Enable email notifications by default when you post messages</label>

    I am just not sure which variables I should use.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases