gnu-social/plugins/RequireValidatedEmail
Siebrand Mazeland 89aebb4ef0 Localisation updates from http://translatewiki.net. 2011-06-18 18:14:28 +02:00
..
locale Localisation updates from http://translatewiki.net. 2011-06-18 18:14:28 +02:00
README Add translator documentation. 2011-06-05 19:58:11 +02:00
RequireValidatedEmailPlugin.php Add translator documentation. 2011-06-05 19:58:11 +02:00
confirmfirstemail.php Add translator documentation. 2011-06-05 19:58:11 +02:00
registerbyemail.php Let users who aren't allowed to login confirm their email separately 2011-02-25 08:01:41 -08:00

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