Blame Identity/Webenv/App/phpBB/3.0.4/includes/constants.php

f2e824
f2e824
/**
f2e824
*
f2e824
* @package phpBB3
f2e824
* @version $Id: constants.php 9187 2008-12-12 14:47:03Z acydburn $
f2e824
* @copyright (c) 2005 phpBB Group
f2e824
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
f2e824
*
f2e824
*/
f2e824
f2e824
/**
f2e824
* @ignore
f2e824
*/
f2e824
if (!defined('IN_PHPBB'))
f2e824
{
f2e824
	exit;
f2e824
}
f2e824
f2e824
/**
f2e824
* valid external constants:
f2e824
* PHPBB_MSG_HANDLER
f2e824
* PHPBB_DB_NEW_LINK
f2e824
* PHPBB_ROOT_PATH
f2e824
* PHPBB_ADMIN_PATH
f2e824
*/
f2e824
f2e824
// phpBB Version
f2e824
define('PHPBB_VERSION', '3.0.4');
f2e824
f2e824
// QA-related
f2e824
// define('PHPBB_QA', 1);
f2e824
f2e824
// User related
f2e824
define('ANONYMOUS', 1);
f2e824
f2e824
define('USER_ACTIVATION_NONE', 0);
f2e824
define('USER_ACTIVATION_SELF', 1);
f2e824
define('USER_ACTIVATION_ADMIN', 2);
f2e824
define('USER_ACTIVATION_DISABLE', 3);
f2e824
f2e824
define('AVATAR_UPLOAD', 1);
f2e824
define('AVATAR_REMOTE', 2);
f2e824
define('AVATAR_GALLERY', 3);
f2e824
f2e824
define('USER_NORMAL', 0);
f2e824
define('USER_INACTIVE', 1);
f2e824
define('USER_IGNORE', 2);
f2e824
define('USER_FOUNDER', 3);
f2e824
f2e824
define('INACTIVE_REGISTER', 1);
f2e824
define('INACTIVE_PROFILE', 2);
f2e824
define('INACTIVE_MANUAL', 3);
f2e824
define('INACTIVE_REMIND', 4);
f2e824
f2e824
// ACL
f2e824
define('ACL_NEVER', 0);
f2e824
define('ACL_YES', 1);
f2e824
define('ACL_NO', -1);
f2e824
f2e824
// Login error codes
f2e824
define('LOGIN_CONTINUE', 1);
f2e824
define('LOGIN_BREAK', 2);
f2e824
define('LOGIN_SUCCESS', 3);
f2e824
define('LOGIN_SUCCESS_CREATE_PROFILE', 20);
f2e824
define('LOGIN_ERROR_USERNAME', 10);
f2e824
define('LOGIN_ERROR_PASSWORD', 11);
f2e824
define('LOGIN_ERROR_ACTIVE', 12);
f2e824
define('LOGIN_ERROR_ATTEMPTS', 13);
f2e824
define('LOGIN_ERROR_EXTERNAL_AUTH', 14);
f2e824
define('LOGIN_ERROR_PASSWORD_CONVERT', 15);
f2e824
f2e824
// Group settings
f2e824
define('GROUP_OPEN', 0);
f2e824
define('GROUP_CLOSED', 1);
f2e824
define('GROUP_HIDDEN', 2);
f2e824
define('GROUP_SPECIAL', 3);
f2e824
define('GROUP_FREE', 4);
f2e824
f2e824
// Forum/Topic states
f2e824
define('FORUM_CAT', 0);
f2e824
define('FORUM_POST', 1);
f2e824
define('FORUM_LINK', 2);
f2e824
define('ITEM_UNLOCKED', 0);
f2e824
define('ITEM_LOCKED', 1);
f2e824
define('ITEM_MOVED', 2);
f2e824
f2e824
// Forum Flags
f2e824
define('FORUM_FLAG_LINK_TRACK', 1);
f2e824
define('FORUM_FLAG_PRUNE_POLL', 2);
f2e824
define('FORUM_FLAG_PRUNE_ANNOUNCE', 4);
f2e824
define('FORUM_FLAG_PRUNE_STICKY', 8);
f2e824
define('FORUM_FLAG_ACTIVE_TOPICS', 16);
f2e824
define('FORUM_FLAG_POST_REVIEW', 32);
f2e824
f2e824
// Optional text flags
f2e824
define('OPTION_FLAG_BBCODE', 1);
f2e824
define('OPTION_FLAG_SMILIES', 2);
f2e824
define('OPTION_FLAG_LINKS', 4);
f2e824
f2e824
// Topic types
f2e824
define('POST_NORMAL', 0);
f2e824
define('POST_STICKY', 1);
f2e824
define('POST_ANNOUNCE', 2);
f2e824
define('POST_GLOBAL', 3);
f2e824
f2e824
// Lastread types
f2e824
define('TRACK_NORMAL', 0);
f2e824
define('TRACK_POSTED', 1);
f2e824
f2e824
// Notify methods
f2e824
define('NOTIFY_EMAIL', 0);
f2e824
define('NOTIFY_IM', 1);
f2e824
define('NOTIFY_BOTH', 2);
f2e824
f2e824
// Email Priority Settings
f2e824
define('MAIL_LOW_PRIORITY', 4);
f2e824
define('MAIL_NORMAL_PRIORITY', 3);
f2e824
define('MAIL_HIGH_PRIORITY', 2);
f2e824
f2e824
// Log types
f2e824
define('LOG_ADMIN', 0);
f2e824
define('LOG_MOD', 1);
f2e824
define('LOG_CRITICAL', 2);
f2e824
define('LOG_USERS', 3);
f2e824
f2e824
// Private messaging - Do NOT change these values
f2e824
define('PRIVMSGS_HOLD_BOX', -4);
f2e824
define('PRIVMSGS_NO_BOX', -3);
f2e824
define('PRIVMSGS_OUTBOX', -2);
f2e824
define('PRIVMSGS_SENTBOX', -1);
f2e824
define('PRIVMSGS_INBOX', 0);
f2e824
f2e824
// Full Folder Actions
f2e824
define('FULL_FOLDER_NONE', -3);
f2e824
define('FULL_FOLDER_DELETE', -2);
f2e824
define('FULL_FOLDER_HOLD', -1);
f2e824
f2e824
// Download Modes - Attachments
f2e824
define('INLINE_LINK', 1);
f2e824
// This mode is only used internally to allow modders extending the attachment functionality
f2e824
define('PHYSICAL_LINK', 2);
f2e824
f2e824
// Confirm types
f2e824
define('CONFIRM_REG', 1);
f2e824
define('CONFIRM_LOGIN', 2);
f2e824
define('CONFIRM_POST', 3);
f2e824
f2e824
// Categories - Attachments
f2e824
define('ATTACHMENT_CATEGORY_NONE', 0);
f2e824
define('ATTACHMENT_CATEGORY_IMAGE', 1); // Inline Images
f2e824
define('ATTACHMENT_CATEGORY_WM', 2); // Windows Media Files - Streaming
f2e824
define('ATTACHMENT_CATEGORY_RM', 3); // Real Media Files - Streaming
f2e824
define('ATTACHMENT_CATEGORY_THUMB', 4); // Not used within the database, only while displaying posts
f2e824
define('ATTACHMENT_CATEGORY_FLASH', 5); // Flash/SWF files
f2e824
define('ATTACHMENT_CATEGORY_QUICKTIME', 6); // Quicktime/Mov files
f2e824
f2e824
// BBCode UID length
f2e824
define('BBCODE_UID_LEN', 8);
f2e824
f2e824
// Number of core BBCodes
f2e824
define('NUM_CORE_BBCODES', 12);
f2e824
f2e824
// Magic url types
f2e824
define('MAGIC_URL_EMAIL', 1);
f2e824
define('MAGIC_URL_FULL', 2);
f2e824
define('MAGIC_URL_LOCAL', 3);
f2e824
define('MAGIC_URL_WWW', 4);
f2e824
f2e824
// Profile Field Types
f2e824
define('FIELD_INT', 1);
f2e824
define('FIELD_STRING', 2);
f2e824
define('FIELD_TEXT', 3);
f2e824
define('FIELD_BOOL', 4);
f2e824
define('FIELD_DROPDOWN', 5);
f2e824
define('FIELD_DATE', 6);
f2e824
f2e824
// referer validation
f2e824
define('REFERER_VALIDATE_NONE', 0);
f2e824
define('REFERER_VALIDATE_HOST', 1);
f2e824
define('REFERER_VALIDATE_PATH', 2);
f2e824
f2e824
// phpbb_chmod() permissions
f2e824
@define('CHMOD_ALL', 7);
f2e824
@define('CHMOD_READ', 4);
f2e824
@define('CHMOD_WRITE', 2);
f2e824
@define('CHMOD_EXECUTE', 1);
f2e824
f2e824
// Additional constants
f2e824
define('VOTE_CONVERTED', 127);
f2e824
f2e824
// Table names
f2e824
define('ACL_GROUPS_TABLE',			$table_prefix . 'acl_groups');
f2e824
define('ACL_OPTIONS_TABLE',			$table_prefix . 'acl_options');
f2e824
define('ACL_ROLES_DATA_TABLE',		$table_prefix . 'acl_roles_data');
f2e824
define('ACL_ROLES_TABLE',			$table_prefix . 'acl_roles');
f2e824
define('ACL_USERS_TABLE',			$table_prefix . 'acl_users');
f2e824
define('ATTACHMENTS_TABLE',			$table_prefix . 'attachments');
f2e824
define('BANLIST_TABLE',				$table_prefix . 'banlist');
f2e824
define('BBCODES_TABLE',				$table_prefix . 'bbcodes');
f2e824
define('BOOKMARKS_TABLE',			$table_prefix . 'bookmarks');
f2e824
define('BOTS_TABLE',				$table_prefix . 'bots');
f2e824
define('CONFIG_TABLE',				$table_prefix . 'config');
f2e824
define('CONFIRM_TABLE',				$table_prefix . 'confirm');
f2e824
define('DISALLOW_TABLE',			$table_prefix . 'disallow');
f2e824
define('DRAFTS_TABLE',				$table_prefix . 'drafts');
f2e824
define('EXTENSIONS_TABLE',			$table_prefix . 'extensions');
f2e824
define('EXTENSION_GROUPS_TABLE',	$table_prefix . 'extension_groups');
f2e824
define('FORUMS_TABLE',				$table_prefix . 'forums');
f2e824
define('FORUMS_ACCESS_TABLE',		$table_prefix . 'forums_access');
f2e824
define('FORUMS_TRACK_TABLE',		$table_prefix . 'forums_track');
f2e824
define('FORUMS_WATCH_TABLE',		$table_prefix . 'forums_watch');
f2e824
define('GROUPS_TABLE',				$table_prefix . 'groups');
f2e824
define('ICONS_TABLE',				$table_prefix . 'icons');
f2e824
define('LANG_TABLE',				$table_prefix . 'lang');
f2e824
define('LOG_TABLE',					$table_prefix . 'log');
f2e824
define('MODERATOR_CACHE_TABLE',		$table_prefix . 'moderator_cache');
f2e824
define('MODULES_TABLE',				$table_prefix . 'modules');
f2e824
define('POLL_OPTIONS_TABLE',		$table_prefix . 'poll_options');
f2e824
define('POLL_VOTES_TABLE',			$table_prefix . 'poll_votes');
f2e824
define('POSTS_TABLE',				$table_prefix . 'posts');
f2e824
define('PRIVMSGS_TABLE',			$table_prefix . 'privmsgs');
f2e824
define('PRIVMSGS_FOLDER_TABLE',		$table_prefix . 'privmsgs_folder');
f2e824
define('PRIVMSGS_RULES_TABLE',		$table_prefix . 'privmsgs_rules');
f2e824
define('PRIVMSGS_TO_TABLE',			$table_prefix . 'privmsgs_to');
f2e824
define('PROFILE_FIELDS_TABLE',		$table_prefix . 'profile_fields');
f2e824
define('PROFILE_FIELDS_DATA_TABLE',	$table_prefix . 'profile_fields_data');
f2e824
define('PROFILE_FIELDS_LANG_TABLE',	$table_prefix . 'profile_fields_lang');
f2e824
define('PROFILE_LANG_TABLE',		$table_prefix . 'profile_lang');
f2e824
define('RANKS_TABLE',				$table_prefix . 'ranks');
f2e824
define('REPORTS_TABLE',				$table_prefix . 'reports');
f2e824
define('REPORTS_REASONS_TABLE',		$table_prefix . 'reports_reasons');
f2e824
define('SEARCH_RESULTS_TABLE',		$table_prefix . 'search_results');
f2e824
define('SEARCH_WORDLIST_TABLE',		$table_prefix . 'search_wordlist');
f2e824
define('SEARCH_WORDMATCH_TABLE',	$table_prefix . 'search_wordmatch');
f2e824
define('SESSIONS_TABLE',			$table_prefix . 'sessions');
f2e824
define('SESSIONS_KEYS_TABLE',		$table_prefix . 'sessions_keys');
f2e824
define('SITELIST_TABLE',			$table_prefix . 'sitelist');
f2e824
define('SMILIES_TABLE',				$table_prefix . 'smilies');
f2e824
define('STYLES_TABLE',				$table_prefix . 'styles');
f2e824
define('STYLES_TEMPLATE_TABLE',		$table_prefix . 'styles_template');
f2e824
define('STYLES_TEMPLATE_DATA_TABLE',$table_prefix . 'styles_template_data');
f2e824
define('STYLES_THEME_TABLE',		$table_prefix . 'styles_theme');
f2e824
define('STYLES_IMAGESET_TABLE',		$table_prefix . 'styles_imageset');
f2e824
define('STYLES_IMAGESET_DATA_TABLE',$table_prefix . 'styles_imageset_data');
f2e824
define('TOPICS_TABLE',				$table_prefix . 'topics');
f2e824
define('TOPICS_POSTED_TABLE',		$table_prefix . 'topics_posted');
f2e824
define('TOPICS_TRACK_TABLE',		$table_prefix . 'topics_track');
f2e824
define('TOPICS_WATCH_TABLE',		$table_prefix . 'topics_watch');
f2e824
define('USER_GROUP_TABLE',			$table_prefix . 'user_group');
f2e824
define('USERS_TABLE',				$table_prefix . 'users');
f2e824
define('WARNINGS_TABLE',			$table_prefix . 'warnings');
f2e824
define('WORDS_TABLE',				$table_prefix . 'words');
f2e824
define('ZEBRA_TABLE',				$table_prefix . 'zebra');
f2e824
f2e824
// Additional tables
f2e824
f2e824
f2e824
?>