]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - plugins/RequireValidatedEmail/README
MINOR: Please don't set a+x on files which are not being executed as shell script...
[quix0rs-gnu-social.git] / plugins / RequireValidatedEmail / README
1 This plugin disables posting for accounts that do not have a
2 validated email address.
3
4 Example:
5
6   addPlugin('RequireValidatedEmail');
7
8 If you don't want to apply the validationr equirement to existing
9 accounts, you can specify a cutoff date to grandfather in users
10 registered prior to that timestamp.
11
12   addPlugin('RequireValidatedEmail',
13             array('grandfatherCutoff' => 'Dec 7, 2009');
14
15 You can also exclude the validation checks from OpenID accounts
16 connected to a trusted provider, by providing a list of regular
17 expressions to match their provider URLs.
18
19 For example, to trust WikiHow and Wikipedia users:
20
21   addPlugin('RequireValidatedEmailPlugin', array(
22      'trustedOpenIDs' => array(
23          '!^http://\w+\.wikihow\.com/!',
24          '!^http://\w+\.wikipedia\.org/!',
25      ),
26   ));
27
28 Todo:
29 * add a more visible indicator that validation is still outstanding
30 * test with XMPP, API posting