MyBB Documentation

mybb_polls

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 the poll questions.

Field Type Null Key Default Description
pid int(10) No Primary Poll ID
tid int(10) No 0 Thread ID
question varchar(200) No Poll question
dateline bigint(30) No 0 Date poll was created in UNIX timestamp format
options text No Poll options
votes text No Summary of votes
numoptions smallint(5) No 0 Number of options
numvotes smallint(5) No 0 Number of votes
timeout bigint(30) No 0 When the poll times out
closed char(3) No 'yes'/'no' indicating whether the poll is open/closed
multiple char(3) No 'yes'/'no' indicating whether multiple choice is enabled or disabled
public char(3) No 'yes'/'no' indicating whether the poll is public or not

Indexes:

Keyname Type Cardinality Field
PRIMARY PRIMARY 0 pid
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