gnu-social/plugins/RequireValidatedEmail
2015-10-04 18:23:01 +02:00
..
actions PasswordsettingsAction aligned with FormAction 2015-07-17 01:47:43 +02:00
locale Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
scripts Add executable permission to script missing it 2015-07-10 14:46:08 +05:30
README Add translator documentation. 2011-06-05 19:58:11 +02:00
RequireValidatedEmailPlugin.php Stronger typing and fixes in RequireValidatedEmail 2015-07-03 10:17:15 +02:00

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