gnu-social/plugins/RequireValidatedEmail
2015-03-08 09:34:38 +01:00
..
actions Managed_DataObject->updateWithKeys throws its own exception 2015-01-25 12:54:08 +01:00
locale Snapshot of the Transifex translation project - February 2015 2015-03-08 09:34:38 +01:00
scripts plugins onAutoload now only overloads if necessary (extlibs etc.) 2013-08-28 16:10:30 +02:00
README
RequireValidatedEmailPlugin.php Using GNUSOCIAL_VERSION instead of STATUSNET_VERSION 2013-11-01 13:51:41 +01: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