2017 © Pedro Peláez
 

silverstripe-module silverstripe-memberemailverification

Adds email verification functionality for members

image

jordanmkoncz/silverstripe-memberemailverification

Adds email verification functionality for members

  • Wednesday, January 18, 2017
  • by jordanmkoncz
  • Repository
  • 2 Watchers
  • 4 Stars
  • 149 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 0 Open issues
  • 6 Versions
  • 3 % Grown

The README.md

SilverStripe Member Email Verification Module

This module modifies the registration/login process so that Members are required to validate their email address before they can log in., (*1)

Features: - Works out of the box without any configuration - Supports i18n - Works with custom registration forms and other 3rd party modules (e.g. silverstripe/forum) - All templates and strings are easy to override, (*2)

About

This module adds the following properties to the Member DataObject: - Verified - VerificationString - VerificationEmailSent, (*3)

On creation of a new Member, the Member is assigned a unique VerificationString and sent an email containing a validation link. The user will not be allowed to log in until they've visited the validation link sent in the verification email. After visiting the validation link, Validated is set to true for the Member record, and the user is allowed to log in to the website., (*4)

If the user has lost or deleted their verification email, they can have it re-sent using a form action that is added to the login form., (*5)

Requirements

  • SilverStripe 3.1 or higher

Installation

composer require "jordanmkoncz/silverstripe-memberemailverification", (*6)

Customisation

All text strings can be overridden. To override the English text strings, create or modify your mysite/lang/en.yml file and override the values in this module's lang/en.yml file. To override the strings for additional languages, add the other languages in your mysite/lang folder., (*7)

The template for the verification email can also be overridden. Just create a file in your theme's templates/email folder (note the lowercase "e") called VerificationEmail.ss. Within this template you can access the Member object, SiteConfig object, and of course the ValidationLink that the user must visit to verify their email., (*8)

The templates for all controller actions in the Security extension can also be overridden if needed. Each controller action has its own template name that it will use if it exists, and falls back to using the Security template. For example, to override the template for the Security verify_email action, just create a file in your theme's templates/Layout folder called Security_verify_email.ss., (*9)

Example Project

You can view an example project that uses this module at jordanmkoncz/silverstripe-memberemailverification-example., (*10)

Credits

This module was inspired by the exadium/silverstripe-module-email-verified-member module. It was created to provide the same member email verification functionality but without the unnecessary member moderation functionality, and with cleaner and more well-documented code that is easier to understand and easier to customise., (*11)

The Versions

18/01 2017

dev-master

9999999-dev

Adds email verification functionality for members

  Sources   Download

BSD-3-Clause

The Requires

 

by Jordan Koncz

email silverstripe verification member

18/01 2017

1.0.4

1.0.4.0

Adds email verification functionality for members

  Sources   Download

BSD-3-Clause

The Requires

 

by Jordan Koncz

email silverstripe verification member

18/01 2017

1.0.3

1.0.3.0

Adds email verification functionality for members

  Sources   Download

BSD-3-Clause

The Requires

 

by Jordan Koncz

email silverstripe verification member

25/04 2016

1.0.2

1.0.2.0

Adds email verification functionality for members

  Sources   Download

BSD-3-Clause

The Requires

 

by Jordan Koncz

email silverstripe verification member

25/04 2016

1.0.1

1.0.1.0

Adds email verification functionality for members

  Sources   Download

BSD-3-Clause

The Requires

 

by Jordan Koncz

email silverstripe verification member

08/04 2016

1.0.0

1.0.0.0

Adds email verification functionality for members

  Sources   Download

BSD-3-Clause

The Requires

 

by Jordan Koncz

email silverstripe verification member