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.
Post hash of the post which the attachment will be associated with. The post hash is used to identify posts before the post has been inserted into the database (ie before it gets a real post ID).
uid
int(10)
No
0
Uploader's user ID
filename
varchar(120)
No
Original filename of the attachment
filetype
varchar(120)
No
Type of file
filesize
int(10)
No
0
File size in bytes
attachname
varchar(120)
No
The filename of the attachment stored in the filesystem
downloads
int(10)
No
0
The number of downloads
dateuploaded
bigint(30)
No
0
Date attachment was uploaded in UNIX timestamp
visible
int(1)
No
0
Either 1, meaning approved and visible, or 0 meaning unapproved and hidden.
thumbnail
varchar(120)
No
Either "SMALL" or the filename to the thumbnail of the attachment