1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +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:
Meik Sievertsen
2006-03-25 12:07:13 +00:00
parent 529aabd46d
commit 5de37a5c0a
28 changed files with 428 additions and 226 deletions

View File

@@ -181,15 +181,16 @@ CREATE TABLE phpbb_forums (
forum_parents BLOB SUB_TYPE TEXT,
forum_name VARCHAR(150) NOT NULL,
forum_desc BLOB SUB_TYPE TEXT,
forum_desc_bitfield INTEGER DEFAULT 0 NOT NULL,
forum_desc_uid VARCHAR(5) NOT NULL,
forum_link VARCHAR(200) NOT NULL,
forum_password VARCHAR(32) NOT NULL,
forum_style INTEGER,
forum_image VARCHAR(50) NOT NULL,
forum_rules BLOB SUB_TYPE TEXT NOT NULL,
forum_rules_link VARCHAR(200) NOT NULL,
forum_rules_flags INTEGER DEFAULT 0 NOT NULL,
forum_rules_bbcode_bitfield INTEGER DEFAULT 0 NOT NULL,
forum_rules_bbcode_uid VARCHAR(5) NOT NULL,
forum_rules_bitfield INTEGER DEFAULT 0 NOT NULL,
forum_rules_uid VARCHAR(5) NOT NULL,
forum_topics_per_page INTEGER DEFAULT 0 NOT NULL,
forum_type INTEGER DEFAULT 0 NOT NULL,
forum_status INTEGER DEFAULT 0 NOT NULL,
@@ -230,6 +231,9 @@ CREATE TABLE phpbb_groups (
group_id INTEGER NOT NULL,
group_type INTEGER DEFAULT 1 NOT NULL,
group_name VARCHAR(40) NOT NULL,
group_desc BLOB SUB_TYPE TEXT,
group_desc_bitfield INTEGER DEFAULT 0 NOT NULL,
group_desc_uid VARCHAR(5) NOT NULL,
group_display INTEGER DEFAULT 0 NOT NULL,
group_avatar VARCHAR(100) NOT NULL,
group_avatar_type INTEGER DEFAULT 0 NOT NULL,
@@ -241,7 +245,6 @@ CREATE TABLE phpbb_groups (
group_receive_pm INTEGER DEFAULT 0 NOT NULL,
group_message_limit INTEGER DEFAULT 0 NOT NULL,
group_chgpass INTEGER DEFAULT 0 NOT NULL,
group_description VARCHAR(255) NOT NULL,
group_legend INTEGER DEFAULT 1 NOT NULL
);;
@@ -515,7 +518,7 @@ CREATE TABLE phpbb_sessions (
session_time INTEGER DEFAULT 0 NOT NULL,
session_ip VARCHAR(40) DEFAULT '0' NOT NULL,
session_browser VARCHAR(150),
session_page VARCHAR(100) NOT NULL,
session_page VARCHAR(200) NOT NULL,
session_viewonline INTEGER DEFAULT 1 NOT NULL,
session_admin INTEGER DEFAULT 0 NOT NULL
);;
@@ -756,7 +759,7 @@ CREATE TABLE phpbb_users (
user_lastvisit INTEGER DEFAULT 0 NOT NULL,
user_lastmark INTEGER DEFAULT 0 NOT NULL,
user_lastpost_time INTEGER DEFAULT 0 NOT NULL,
user_lastpage VARCHAR(100) NOT NULL,
user_lastpage VARCHAR(200) NOT NULL,
user_last_confirm_key VARCHAR(10) NOT NULL,
user_warnings INTEGER DEFAULT 0 NOT NULL,
user_last_warning INTEGER DEFAULT 0 NOT NULL,