]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - plugins/AutoSandbox/README
Type-hint is array here.
[quix0rs-gnu-social.git] / plugins / AutoSandbox / README
1 StatusNet AutoSandbox plugin 0.1 03/16/10
2 =========================================
3 Automatically sandboxes newly registered users as a spam-management technique.
4 Only really suits small sites where all users can be hand-moderated. A moderator
5 will then have to unbox legimate users, using the following built-in script:
6
7 ./scripts/userrole.php -n username -r moderator
8
9 (replace 'username' with the nickname of the user you wish to make a moderator).
10
11 The following note will be added to the top of the Registration form:
12
13 "Note you will initially be "sandboxed" so your posts will not appear in the
14 public timeline."
15
16 This can be followed by the following extra information if a contact user (denoted
17 here by XXX) is specified:
18
19 "Send a message to @XXX to speed up the unsandboxing process."
20
21 If no contact user is specified, it will default to the "Default subscription" user
22 who automatically subscribes to new users (set in Admin -> User).
23
24 Use:
25 1. Add plugin:
26
27 Default usage:
28 addPlugin('AutoSandbox');
29
30 Specify a contact user (replace 'someuser' with appropriate username):
31 addPlugin('AutoSandbox', array('contact' => 'someuser'));
32
33 Stop contact user from defaulting to the Defaul subscription:
34 addPlugin('AutoSandbox', array('contact' => ''));
35
36 Changelog
37 =========
38 0.1 initial release
39