You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With that setting email will be permitted but disabled for each user by default. It can be turned on by each user through the `preferences/notification` preferences options (`/message/notificationpreferences.php?userid=X`)
89
+
With that setting email will be permitted but disabled for each user by default. It can be turned on by each user through the `preferences/notification` preferences options (`/message/notificationpreferences.php?userid=X`)
90
90
The possible values are recorded in the lib.php file of messaging
91
91
92
92
```php
93
93
/**
94
94
* Define contants for messaging default settings population. For unambiguity of
95
95
* plugin developer intentions we use 4-bit value (LSB numbering):
96
-
* bit 0 - whether to send message when user is loggedin (MESSAGE_DEFAULT_LOGGEDIN)
97
-
* bit 1 - whether to send message when user is loggedoff (MESSAGE_DEFAULT_LOGGEDOFF)
96
+
* bit 0 - whether to send message (MESSAGE_DEFAULT_ENABLED)
97
+
* bit 1 - not used
98
98
* bit 2..3 - messaging permission (MESSAGE_DISALLOWED|MESSAGE_PERMITTED|MESSAGE_FORCED)
99
99
*
100
100
* MESSAGE_PERMITTED_MASK contains the mask we use to distinguish permission setting
With that setting email will be permitted but disabled for each user by default. It can be turned on by each user through the `preferences/notification` preferences options (`/message/notificationpreferences.php?userid=X`)
89
+
With that setting email will be permitted but disabled for each user by default. It can be turned on by each user through the `preferences/notification` preferences options (`/message/notificationpreferences.php?userid=X`)
90
90
The possible values are recorded in the lib.php file of messaging
91
91
92
92
```php
93
93
/**
94
94
* Define contants for messaging default settings population. For unambiguity of
95
95
* plugin developer intentions we use 4-bit value (LSB numbering):
96
-
* bit 0 - whether to send message when user is loggedin (MESSAGE_DEFAULT_LOGGEDIN)
97
-
* bit 1 - whether to send message when user is loggedoff (MESSAGE_DEFAULT_LOGGEDOFF)
96
+
* bit 0 - whether to send message (MESSAGE_DEFAULT_ENABLED)
97
+
* bit 1 - not used
98
98
* bit 2..3 - messaging permission (MESSAGE_DISALLOWED|MESSAGE_PERMITTED|MESSAGE_FORCED)
99
99
*
100
100
* MESSAGE_PERMITTED_MASK contains the mask we use to distinguish permission setting
With that setting email will be permitted but disabled for each user by default. It can be turned on by each user through the `preferences/notification` preferences options (`/message/notificationpreferences.php?userid=X`)
89
+
With that setting email will be permitted but disabled for each user by default. It can be turned on by each user through the `preferences/notification` preferences options (`/message/notificationpreferences.php?userid=X`)
90
90
The possible values are recorded in the lib.php file of messaging
91
91
92
92
```php
93
93
/**
94
94
* Define contants for messaging default settings population. For unambiguity of
95
95
* plugin developer intentions we use 4-bit value (LSB numbering):
96
-
* bit 0 - whether to send message when user is loggedin (MESSAGE_DEFAULT_LOGGEDIN)
97
-
* bit 1 - whether to send message when user is loggedoff (MESSAGE_DEFAULT_LOGGEDOFF)
96
+
* bit 0 - whether to send message (MESSAGE_DEFAULT_ENABLED)
97
+
* bit 1 - not used
98
98
* bit 2..3 - messaging permission (MESSAGE_DISALLOWED|MESSAGE_PERMITTED|MESSAGE_FORCED)
99
99
*
100
100
* MESSAGE_PERMITTED_MASK contains the mask we use to distinguish permission setting
With that setting email will be permitted but disabled for each user by default. It can be turned on by each user through the `preferences/notification` preferences options (`/message/notificationpreferences.php?userid=X`)
89
+
With that setting email will be permitted but disabled for each user by default. It can be turned on by each user through the `preferences/notification` preferences options (`/message/notificationpreferences.php?userid=X`)
90
90
The possible values are recorded in the lib.php file of messaging
91
91
92
92
```php
93
93
/**
94
94
* Define contants for messaging default settings population. For unambiguity of
95
95
* plugin developer intentions we use 4-bit value (LSB numbering):
96
-
* bit 0 - whether to send message when user is loggedin (MESSAGE_DEFAULT_LOGGEDIN)
97
-
* bit 1 - whether to send message when user is loggedoff (MESSAGE_DEFAULT_LOGGEDOFF)
96
+
* bit 0 - whether to send message (MESSAGE_DEFAULT_ENABLED)
97
+
* bit 1 - not used
98
98
* bit 2..3 - messaging permission (MESSAGE_DISALLOWED|MESSAGE_PERMITTED|MESSAGE_FORCED)
99
99
*
100
100
* MESSAGE_PERMITTED_MASK contains the mask we use to distinguish permission setting
0 commit comments