MyBB Documentation

mybb_privatemessages

The 1.6 Documentation is no longer maintained and some information may be outdated.

The MyBB 1.6 series reached end of life on October 1, 2015.

This means there will be no more security or maintenance releases for these series and forums running these versions of MyBB may be at risk of unfixed security issues. All administrators are strongly encouraged to upgrade their forums to the latest release of MyBB as soon as possible.

Stores private messages.

Field Type Null Key Default Description
pmid int(10) No Primary Private message ID
uid int(10) No Multiple 0 User ID of the user who 'owns' the message
toid int(10) No 0 User ID of the recipient
fromid int(10) No 0 User ID of the sender
recipients text No Array of additional recipients of this PM
folder smallint(5) No 1 Folder that the PM is stored in
subject varchar(120) No PM subject
icon smallint(5) No 0 Post Icon ID
message text No PM message
dateline bigint(30) No 0 UNIX Timestamp when PM was sent
deletetime bigint(30) No 0 UNIX Timestamp when PM was moved to the trash
status int(1) No 0 Read/unread/replied/forwarded status of the PM
statustime bigint(30) No 0 UNIX Timestamp when PM status was last updated
includesig int(1) No 0 Option to include user's signature
smilieoff int(1) No 0 Option to disable/enable smilies
receipt int(1) No 0 Indicates receipt status
readtime bigint(30) No 0 UNIX timestamp of the time when PM was read


Indexes:

Keyname Type Cardinality Field
PRIMARY PRIMARY 0 pmid
uid INDEX None uid, folder
MyBB Documentation
Front End Index Page - Portal - Forum Display - Thread Display - Posting Threads and Replies - Searching - User CP - Member Profile - Private Messages - Calendar - Member List - Help Docs - Who Is Online - Lite (Archive) Mode - Forum Team - Statistics - RSS Syndication - Miscellaneous
Moderation Standard Thread Moderation - Inline Thread Moderation - Inline Post Moderation - Warning System
Mod CP Home - Forums and Posts - Users
Admin CP Home - Configuration - Forums & Posts - Users & Groups - Templates & Style - Tools & Maintenance
Templates & Themes Images - Postbit - Templates - Themes
Developer Database Methods - Database Tables
Miscellaneous Cookies - UTF8 Setup - Default Settings

Edit this page on GitHub