fix issue #2 recieve typo

This commit is contained in:
Wikinaut 2013-02-09 21:36:51 +01:00
parent 67887b074a
commit 47103735ad
3 changed files with 6 additions and 6 deletions

View file

@ -1,13 +1,13 @@
# Description # Description
This plugin allows users to subscribe to pads and recieve email updates when a pad is being modified. You can modify the frequency. This plugin is very much in alpha stage and has a lot of things TODO (See TODO). This plugin allows users to subscribe to pads and receive email updates when a pad is being modified. You can modify the frequency. This plugin is very much in alpha stage and has a lot of things TODO (See TODO).
# Installation # Installation
Make sure an SMTP gateway is installed IE postfix Make sure an SMTP gateway is installed IE postfix
Configure SPF and RDNS records to ensure proper mail flow <-- Search online Configure SPF and RDNS records to ensure proper mail flow <-- Search online
Copy/Edit the below to your settings.json Copy/Edit the below to your settings.json
Connect to a pad, Click on the Share/Embed link and enter in your email address. Connect to a pad, Click on the Share/Embed link and enter in your email address.
Open that pad in ANOTHER BROWSER then begin modifying, you should recieve an email when the pad has begun editing and once the pad has gone stale (when everyone stops editing it and a time period passes). Open that pad in ANOTHER BROWSER then begin modifying, you should receive an email when the pad has begun editing and once the pad has gone stale (when everyone stops editing it and a time period passes).
NOTE: You will NOT recieve an email if you(the author that registered their email) are currently on or editing that pad! NOTE: You will NOT receive an email if you(the author that registered their email) are currently on or editing that pad!
``` ```
"ep_email_notifications" : { "ep_email_notifications" : {

View file

@ -1,6 +1,6 @@
{ {
"name": "ep_email_notifications", "name": "ep_email_notifications",
"description": "Subscribe to a pad and recieve an email when someone edits your pad", "description": "Subscribe to a pad and receive an email when someone edits your pad",
"version": "0.0.5", "version": "0.0.5",
"author": { "author": {
"name": "johnyma22", "name": "johnyma22",

View file

@ -43,7 +43,7 @@ function showRegistrationSuccess(){ // show a successful registration message
// (string | mandatory) the heading of the notification // (string | mandatory) the heading of the notification
title: "Email subscribed", title: "Email subscribed",
// (string | mandatory) the text inside the notification // (string | mandatory) the text inside the notification
text: "You will recieve email when someone changes this pad. If this is the first time you have requested emails you may need to confirm your email address" text: "You will receive email when someone changes this pad. If this is the first time you have requested emails you may need to confirm your email address"
}); });
} }
@ -74,7 +74,7 @@ function clientHasAlreadyRegistered(){ // Has the client already registered for
function askClientToEnterEmail(){ function askClientToEnterEmail(){
$.gritter.add({ $.gritter.add({
// (string | mandatory) the heading of the notification // (string | mandatory) the heading of the notification
title: "Enter your email to recieve an email when someone modifies this pad", title: "Enter your email to receive an email when someone modifies this pad",
// (string | mandatory) the text inside the notification // (string | mandatory) the text inside the notification
text: "<form class='ep_email_form'><label for='ep_email'><input id='ep_email_notification' placeholder='your@email.com' style='padding:5px;width:180px;' type=email><input type=submit value=subscribe style='padding:5px;'></form>", text: "<form class='ep_email_form'><label for='ep_email'><input id='ep_email_notification' placeholder='your@email.com' style='padding:5px;width:180px;' type=email><input type=submit value=subscribe style='padding:5px;'></form>",
// (bool | optional) if you want it to fade out on its own or just sit there // (bool | optional) if you want it to fade out on its own or just sit there