TotalChoice Hosting Family Forums: Mt Email Notifications Form - TotalChoice Hosting Family Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Mt Email Notifications Form

#1 User is offline   maggieroofus 

  • Family Friend
  • PipPip
  • Group: Members
  • Posts: 48
  • Joined: 22-May 05

Posted 30 May 2005 - 03:50 PM

I've added an email notification form to my site for updates but when I tested it I got this message ...

An error occurred:

Email notifications have not been configured! The weblog owner needs to set the EmailVerificationSecret configuration variable in mt.cfg.


Can anyone point me in the right direction to set this so people can use the form? I've been all over the MT configuration section and haven't seen it. Unless I'm looking in the wrong place.

#2 User is offline   TweezerMan 

  • Immediate Family
  • PipPipPipPip
  • Group: Members
  • Posts: 1,767
  • Joined: 26-September 04

Posted 30 May 2005 - 04:10 PM

EmailVerificationSecret is a setting in your mt.cfg file:

Quote

EmailVerificationSecret
If you are exposing the mt-add-notify.cgi interface to users, allowing them to sign up for site update notifications, you should set this value to something that outsiders would not be able to guess. This allows Movable Type to secure the notification signup process so that visitors have to verify their email addresses.

If the EmailVerificationSecret is not present in your mt.cfg file, you just need to add it (it can be added anywhere - I'd add it to the bottom of the file). If it is present, make sure it is uncommented (does not have a "#" at the beginning of the line).

You'd configure the setting like this:
EmailVerificationSecret secretWord

...with whatever secret word you want to use.
David Phillips (TweezerMan)
The Tweezer's Edge v3

#3 User is offline   maggieroofus 

  • Family Friend
  • PipPip
  • Group: Members
  • Posts: 48
  • Joined: 22-May 05

Posted 30 May 2005 - 04:17 PM

TCH-David, on May 30 2005, 05:10 PM, said:

EmailVerificationSecret is a setting in your mt.cfg file:

Quote

EmailVerificationSecret
If you are exposing the mt-add-notify.cgi interface to users, allowing them to sign up for site update notifications, you should set this value to something that outsiders would not be able to guess. This allows Movable Type to secure the notification signup process so that visitors have to verify their email addresses.

If the EmailVerificationSecret is not present in your mt.cfg file, you just need to add it (it can be added anywhere - I'd add it to the bottom of the file). If it is present, make sure it is uncommented (does not have a "#" at the beginning of the line).

You'd configure the setting like this:
EmailVerificationSecret secretWord

...with whatever secret word you want to use.
<{POST_SNAPBACK}>


Well, that went well. Now I'm getting this error message when I try to test the form:

An error occurred:

You need to set the EmailAddressMain configuration value to your own email address in order to use notifications at lib/MT/App/NotifyList.pm line 36.

I went in and set the email address to xxxxxxxxxxxx@xxxxxxxxx.net which is the email address I have associated with MT. Not sure what I'm doing wrong now.

Edited by TCH-David to obscure e-mail address - don't want those pesky spam bots picking it up! ;)

#4 User is offline   maggieroofus 

  • Family Friend
  • PipPip
  • Group: Members
  • Posts: 48
  • Joined: 22-May 05

Posted 30 May 2005 - 04:19 PM

maggieroofus, on May 30 2005, 05:17 PM, said:

TCH-David, on May 30 2005, 05:10 PM, said:

EmailVerificationSecret is a setting in your mt.cfg file:

Quote

EmailVerificationSecret
If you are exposing the mt-add-notify.cgi interface to users, allowing them to sign up for site update notifications, you should set this value to something that outsiders would not be able to guess. This allows Movable Type to secure the notification signup process so that visitors have to verify their email addresses.

If the EmailVerificationSecret is not present in your mt.cfg file, you just need to add it (it can be added anywhere - I'd add it to the bottom of the file). If it is present, make sure it is uncommented (does not have a "#" at the beginning of the line).

You'd configure the setting like this:
EmailVerificationSecret secretWord

...with whatever secret word you want to use.
<{POST_SNAPBACK}>


Well, that went well. Now I'm getting this error message when I try to test the form:

An error occurred:

You need to set the EmailAddressMain configuration value to your own email address in order to use notifications at lib/MT/App/NotifyList.pm line 36.

I went in and set the email address to xxxxxxxxxxxx@xxxxxxxxx.net which is the email address I have associated with MT. Not sure what I'm doing wrong now.
<{POST_SNAPBACK}>


Never mind. I had it commented out. It seems to be working now :)

Thank you!

Edited by TCH-David to obscure e-mail address - don't want those pesky spam bots picking it up! ;)

#5 User is offline   maggieroofus 

  • Family Friend
  • PipPip
  • Group: Members
  • Posts: 48
  • Joined: 22-May 05

Posted 30 May 2005 - 04:31 PM

TCH-David, on May 30 2005, 05:10 PM, said:

EmailVerificationSecret is a setting in your mt.cfg file:

Quote

EmailVerificationSecret
If you are exposing the mt-add-notify.cgi interface to users, allowing them to sign up for site update notifications, you should set this value to something that outsiders would not be able to guess. This allows Movable Type to secure the notification signup process so that visitors have to verify their email addresses.

If the EmailVerificationSecret is not present in your mt.cfg file, you just need to add it (it can be added anywhere - I'd add it to the bottom of the file). If it is present, make sure it is uncommented (does not have a "#" at the beginning of the line).

You'd configure the setting like this:
EmailVerificationSecret secretWord

...with whatever secret word you want to use.
<{POST_SNAPBACK}>


Me again. I have another question. I seem to have it working. But when I click on the link that is sent in the verification email I get a "Page Cannot Be Displayed" message.

Here's the link in the email ...

http://moonjuice.us/mt//mt-add-notify.cgi?...ww.moonjuice.us

Could I possibly have some of the code wrong in the redirect line?

This is how I have it ...

<form method="post" action="<$MTCGIPath$>mt-add-notify.cgi">
<input type="hidden" name="blog_id" value="<$MTBlogID$>" />
<input type="hidden" name="_redirect" value="<$MTBlogURL$>http://www.moonjuice.us" />
<input name="email" size="20" />
<input type="submit" value="add" />
</form>


#6 User is offline   thejerm 

  • Family Friend
  • PipPip
  • Group: Members
  • Posts: 48
  • Joined: 29-January 05

Posted 30 May 2005 - 04:32 PM

Just as a reference here is A Fully-Commented MT.CFG File with all the conditions that can be set.

#7 User is offline   TweezerMan 

  • Immediate Family
  • PipPipPipPip
  • Group: Members
  • Posts: 1,767
  • Joined: 26-September 04

Posted 30 May 2005 - 04:38 PM

The problem is in the hidden redirect field for your form:
<input type="hidden" name="_redirect" value="<$MTBlogURL$>http://www.moonjuice.us" />

You shouldn't have your URL after the MTBlogURL tag:
<input type="hidden" name="_redirect" value="<$MTBlogURL$>" />

David Phillips (TweezerMan)
The Tweezer's Edge v3

#8 User is offline   maggieroofus 

  • Family Friend
  • PipPip
  • Group: Members
  • Posts: 48
  • Joined: 22-May 05

Posted 30 May 2005 - 04:46 PM

TCH-David, on May 30 2005, 05:38 PM, said:

The problem is in the hidden redirect field for your form:
<input type="hidden" name="_redirect" value="<$MTBlogURL$>http://www.moonjuice.us" />

You shouldn't have your URL after the MTBlogURL tag:
<input type="hidden" name="_redirect" value="<$MTBlogURL$>" />

<{POST_SNAPBACK}>


YAY! It's working now. Thank you.

In the MT help section it made it sound like i needed to put the URL in there. Now that I know it reads differently.

#9 User is offline   TweezerMan 

  • Immediate Family
  • PipPipPipPip
  • Group: Members
  • Posts: 1,767
  • Joined: 26-September 04

Posted 30 May 2005 - 05:12 PM

maggieroofus, on May 30 2005, 02:46 PM, said:

YAY!  It's working now.  Thank you.
<{POST_SNAPBACK}>

Yay! :) You're welcome! ;)
David Phillips (TweezerMan)
The Tweezer's Edge v3

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users