mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-09 02:06:32 +02:00
- extended session_page and user_lastpage to hold a maximum of 200 chars (instead of 100) - session_page gets truncated to 200 chars
- streamlined the process of generating text with bbcode/smilies/urls (forum rules, forum descriptions, group descriptions at the moment) - a bunch of schema changes for the bbcode-enabled text and the session page change (sorry for this) - if decode_message is used there is no need to include functions_posting.php anymore (should fix the search.php bug too) git-svn-id: file:///svn/phpbb/trunk@5709 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -275,15 +275,16 @@ CREATE TABLE phpbb_forums (
|
||||
forum_parents text,
|
||||
forum_name varchar(150) NOT NULL,
|
||||
forum_desc text,
|
||||
forum_desc_bitfield INT4 DEFAULT '0' NOT NULL,
|
||||
forum_desc_uid varchar(5) DEFAULT '' NOT NULL,
|
||||
forum_link varchar(200) DEFAULT '' NOT NULL,
|
||||
forum_password varchar(32) DEFAULT '' NOT NULL,
|
||||
forum_style INT2 ,
|
||||
forum_image varchar(50) DEFAULT '' NOT NULL,
|
||||
forum_rules text DEFAULT '' NOT NULL,
|
||||
forum_rules_link varchar(200) DEFAULT '' NOT NULL,
|
||||
forum_rules_flags INT2 DEFAULT '0' NOT NULL,
|
||||
forum_rules_bbcode_bitfield INT4 DEFAULT '0' NOT NULL,
|
||||
forum_rules_bbcode_uid varchar(5) DEFAULT '' NOT NULL,
|
||||
forum_rules_bitfield INT4 DEFAULT '0' NOT NULL,
|
||||
forum_rules_uid varchar(5) DEFAULT '' NOT NULL,
|
||||
forum_topics_per_page INT2 DEFAULT '0' NOT NULL,
|
||||
forum_type INT2 DEFAULT '0' NOT NULL,
|
||||
forum_status INT2 DEFAULT '0' NOT NULL,
|
||||
@@ -308,8 +309,8 @@ CREATE TABLE phpbb_forums (
|
||||
CHECK (left_id>=0),
|
||||
CHECK (right_id>=0),
|
||||
CHECK (forum_style>=0),
|
||||
CHECK (forum_rules_flags>=0),
|
||||
CHECK (forum_rules_bbcode_bitfield>=0),
|
||||
CHECK (forum_desc_bitfield>=0),
|
||||
CHECK (forum_rules_bitfield>=0),
|
||||
CHECK (forum_topics_per_page>=0),
|
||||
CHECK (forum_posts>=0),
|
||||
CHECK (forum_topics>=0),
|
||||
@@ -364,6 +365,9 @@ CREATE TABLE phpbb_groups (
|
||||
group_id INT4 DEFAULT nextval('phpbb_groups_group_id_seq'),
|
||||
group_type INT2 DEFAULT '1' NOT NULL,
|
||||
group_name varchar(40) DEFAULT '' NOT NULL,
|
||||
group_desc text,
|
||||
group_desc_bitfield INT4 DEFAULT '0' NOT NULL,
|
||||
group_desc_uid varchar(5) DEFAULT '' NOT NULL,
|
||||
group_display INT2 DEFAULT '0' NOT NULL,
|
||||
group_avatar varchar(100) DEFAULT '' NOT NULL,
|
||||
group_avatar_type INT2 DEFAULT '0' NOT NULL,
|
||||
@@ -375,11 +379,11 @@ CREATE TABLE phpbb_groups (
|
||||
group_receive_pm INT2 DEFAULT '0' NOT NULL,
|
||||
group_message_limit INT4 DEFAULT '0' NOT NULL,
|
||||
group_chgpass INT2 DEFAULT '0' NOT NULL,
|
||||
group_description varchar(255) DEFAULT '' NOT NULL,
|
||||
group_legend INT2 DEFAULT '1' NOT NULL,
|
||||
PRIMARY KEY (group_id),
|
||||
CHECK (group_avatar_width>=0),
|
||||
CHECK (group_avatar_height>=0),
|
||||
CHECK (group_desc_bitfield>=0),
|
||||
CHECK (group_sig_chars>=0),
|
||||
CHECK (group_message_limit>=0)
|
||||
);
|
||||
@@ -822,7 +826,7 @@ CREATE TABLE phpbb_sessions (
|
||||
session_time INT4 DEFAULT '0' NOT NULL,
|
||||
session_ip varchar(40) DEFAULT '0' NOT NULL,
|
||||
session_browser varchar(150) DEFAULT '' NULL,
|
||||
session_page varchar(100) DEFAULT '' NOT NULL,
|
||||
session_page varchar(200) DEFAULT '' NOT NULL,
|
||||
session_viewonline INT2 DEFAULT '1' NOT NULL,
|
||||
session_admin INT2 DEFAULT '0' NOT NULL,
|
||||
PRIMARY KEY (session_id),
|
||||
@@ -1165,7 +1169,7 @@ CREATE TABLE phpbb_users (
|
||||
user_lastvisit INT4 DEFAULT '0' NOT NULL,
|
||||
user_lastmark INT4 DEFAULT '0' NOT NULL,
|
||||
user_lastpost_time INT4 DEFAULT '0' NOT NULL,
|
||||
user_lastpage varchar(100) DEFAULT '' NOT NULL,
|
||||
user_lastpage varchar(200) DEFAULT '' NOT NULL,
|
||||
user_last_confirm_key varchar(10) DEFAULT '' NOT NULL,
|
||||
user_warnings INT2 DEFAULT '0' NOT NULL,
|
||||
user_last_warning INT4 DEFAULT '0' NOT NULL,
|
||||
|
Reference in New Issue
Block a user