Field | Type | Default | Description |
id | int(10) | | Auto-increment message ID. |
sender_id | int(10) | 0 | The ID of the sender in users table. |
receiver_id | int(10) | NULL | The ID of the receiver in users table. |
lastedited_at | int(10) | 0 | Timestamp of last editing. |
read_at | int(10) | 0 | Timestamp of message reading. |
subject | varchar(255) | | |
body | text | | |
status | varchar(9) | draft | One of the 'draft', 'sent', 'delivered', 'read'. |
deleted_by_sender | tinyint(1) | 0 | 0 or 1. 1 - deleted by sender. |
deleted_by_receiver | tinyint(1) | 0 | 0 or 1. 1 - deleted by receiver. |
Field | Type | Default | Description |
pun_pm_new_messages | int(10) | NULL | Stores the cached value of new messages. Values pun_pm_new_messages >= 0 stand for the count of unread messages. pun_pm_new_messages == -1 means that user's Inbox is full. pun_pm_new_messages == NULL means the cache has been cleared and is to be regenerated (for example, when user receives a message). |
pun_pm_long_subject | tinyint(1) | 1 | 0 or 1. 1 - quote the beginning of the message in message lists. |
conf_name | conf_value (default) |
o_pun_pm_inbox_size | 100 |
o_pun_pm_outbox_size | 100 |
o_pun_pm_show_new_count | 1 |
o_pun_pm_show_global_link | 0 |
Control | Type | Default |
Inbox limit | Text input | 100 |
Outbox limit | Text input | 100 |
Display 'New messages (N)' link at the top of every page | Checkbox | Yes |
Put the PM Inbox link into the main navigation menu | Checkbox | No |
Control | Type | Default |
Quote the beginning of the message in message lists | Checkbox | Yes |
Viewtopic → Each post → Author → Send private message - Link to new message (Author as receiver)
View user's profile → Send a private message to this user
Private Meassaging (
describe in details)
Inbox
Outbox
Compose message
Every page → Page header (near “New posts”)
Main navigation menu (near 'Profile') → 'Private messages' link
Take into account if a user have post permissions on sending PM. See
the Forums post for details.
-
Option: History under the quick reply form.
Option: Show unread/not delivered messages number in box links (for example Inbox [ 3 ] | Outbox [ 2 ]
)
Option: Quote message in the quick reply form.
Option: Display few usernames (those, who recently has written a message) next to the 'To' field. (
JS)
User option: E-mail notifications (on every message being unread for some period, or once a day)
Option:
Threads (messages grouped by topic)
-
Option: 'This user is writing a letter for you'
Feature: Sort/filter messages*
-
Option: Ajaxify them all