README 906 B

12345678910111213141516171819202122232425262728293031
  1. This plugin disables posting for accounts that do not have a
  2. validated email address.
  3. Example:
  4. addPlugin('RequireValidatedEmail');
  5. If you don't want to apply the validationr equirement to existing
  6. accounts, you can specify a cutoff date to grandfather in users
  7. registered prior to that timestamp.
  8. addPlugin('RequireValidatedEmail',
  9. array('grandfatherCutoff' => 'Dec 7, 2009');
  10. You can also exclude the validation checks from OpenID accounts
  11. connected to a trusted provider, by providing a list of regular
  12. expressions to match their provider URLs.
  13. For example, to trust WikiHow and Wikipedia users:
  14. addPlugin('RequireValidatedEmailPlugin', array(
  15. 'trustedOpenIDs' => array(
  16. '!^http://\w+\.wikihow\.com/!',
  17. '!^http://\w+\.wikipedia\.org/!',
  18. ),
  19. ));
  20. Todo:
  21. * add a more visible indicator that validation is still outstanding
  22. * test with XMPP, API posting