MyBB Documentation


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 information on banned accounts

Field Type Null Key Default Description
uid int(10) No Multiple 0 User ID
gid int(10) No 0 Current usergroup ID
oldgroup int(10) No 0 Stores the usergroup of before a user is banned so it can be restored
oldadditionalgroups text No Stores the additionalgroups of before a user is banned so they can be restored
olddisplaygroup int(11) No 0 Stores the displaygroup of before a user is banned so it can be restored
admin int(10) No 0 Administrator who banned the user
dateline bigint(30) No Multiple 0 Time of ban in UNIX Timestamp
bantime varchar(50) No Length of ban
lifted bigint(30) No 0 Time that ban is lifted
reason varchar(255) No Reason for the ban


Keyname Type Cardinality Field
uid INDEX None uid
dateline INDEX None dateline
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