-
Notifications
You must be signed in to change notification settings - Fork 1
/
README.txt
executable file
·42 lines (30 loc) · 1.29 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
; $Id: README.txt,v 1.1.2.1 2009/06/25 04:11:56 danielb Exp $
CONTENTS OF THIS FILE
----------------------
* Introduction
* Installation
* Configuration
* Usage
INTRODUCTION
------------
Maintainer: Daniel Braksator (http://drupal.org/user/134005)
Project page: http://drupal.org/project/misery.
INSTALLATION
------------
1. Copy misery folder to modules (usually 'sites/all/modules') directory.
2. At 'admin/build/modules' enable the Misery module and the Misery PHP module.
CONFIGURATION
-------------
1. Enable permissions at 'admin/user/permissions'. Any roles with the
'endure misery' permission and without the 'administer misery' permission
will enjoy the effects of the Misery module by default.
2. Configure Misery at 'admin/user/misery'.
USAGE
-----
There are a number of ways to inflict misery:
a) Using roles and permission as per the configuration above.
b) By editing an individual user's account page and ticking 'endure misery'.
c) Using the Troll module's "blacklist" feature to punish IP addresses' with
misery. Troll is available at http://drupal.org/project/troll.
d) By programatically flagging an account with $user->endure_misery = TRUE.
e) By programatically responding to hook_misery_access() with TRUE.