brunoccast 5c0a3102ff [ROUTES] Allow accept-header specification during router creation 4 years ago
..
actions 7967db6ff5 Various obvious bug fixes and better PHP 7 support 5 years ago
locale c7afe2f86c [TRANSLATION] Update Plugin POs 4 years ago
scripts 6ec72b2978 Move mail_confirm_address out of mail.php 8 years ago
README 158140a118 Add translator documentation. 13 years ago
RequireValidatedEmailPlugin.php 5c0a3102ff [ROUTES] Allow accept-header specification during router creation 4 years ago

README

This plugin disables posting for accounts that do not have a
validated email address.

Example:

addPlugin('RequireValidatedEmail');

If you don't want to apply the validationr equirement to existing
accounts, you can specify a cutoff date to grandfather in users
registered prior to that timestamp.

addPlugin('RequireValidatedEmail',
array('grandfatherCutoff' => 'Dec 7, 2009');

You can also exclude the validation checks from OpenID accounts
connected to a trusted provider, by providing a list of regular
expressions to match their provider URLs.

For example, to trust WikiHow and Wikipedia users:

addPlugin('RequireValidatedEmailPlugin', array(
'trustedOpenIDs' => array(
'!^http://\w+\.wikihow\.com/!',
'!^http://\w+\.wikipedia\.org/!',
),
));

Todo:
* add a more visible indicator that validation is still outstanding
* test with XMPP, API posting