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

@@ -187,15 +187,16 @@ CREATE TABLE [phpbb_forums] (
[forum_parents] [text] NULL ,
[forum_name] [varchar] (150) NOT NULL ,
[forum_desc] [text] NULL ,
[forum_desc_bitfield] [int] NOT NULL ,
[forum_desc_uid] [varchar] (5) NOT NULL ,
[forum_link] [varchar] (200) NOT NULL ,
[forum_password] [varchar] (32) NOT NULL ,
[forum_style] [int] NULL ,
[forum_image] [varchar] (50) NOT NULL ,
[forum_rules] [text] NOT NULL ,
[forum_rules_link] [varchar] (200) NOT NULL ,
[forum_rules_flags] [int] NOT NULL ,
[forum_rules_bbcode_bitfield] [int] NOT NULL ,
[forum_rules_bbcode_uid] [varchar] (5) NOT NULL ,
[forum_rules_bitfield] [int] NOT NULL ,
[forum_rules_uid] [varchar] (5) NOT NULL ,
[forum_topics_per_page] [int] NOT NULL ,
[forum_type] [int] NOT NULL ,
[forum_status] [int] NOT NULL ,
@@ -236,6 +237,9 @@ CREATE TABLE [phpbb_groups] (
[group_id] [int] IDENTITY (1, 1) NOT NULL ,
[group_type] [int] NOT NULL ,
[group_name] [varchar] (40) NOT NULL ,
[group_desc] [text] NULL ,
[group_desc_bitfield] [int] NOT NULL ,
[group_desc_uid] [varchar] (5) NOT NULL ,
[group_display] [int] NOT NULL ,
[group_avatar] [varchar] (100) NOT NULL ,
[group_avatar_type] [int] NOT NULL ,
@@ -247,7 +251,6 @@ CREATE TABLE [phpbb_groups] (
[group_receive_pm] [int] NOT NULL ,
[group_message_limit] [int] NOT NULL ,
[group_chgpass] [int] NOT NULL ,
[group_description] [varchar] (255) NOT NULL ,
[group_legend] [int] NOT NULL
) ON [PRIMARY]
GO
@@ -521,7 +524,7 @@ CREATE TABLE [phpbb_sessions] (
[session_time] [int] NOT NULL ,
[session_ip] [varchar] (40) NOT NULL ,
[session_browser] [varchar] (150) NULL ,
[session_page] [varchar] (100) NOT NULL ,
[session_page] [varchar] (200) NOT NULL ,
[session_viewonline] [int] NOT NULL ,
[session_admin] [int] NOT NULL
) ON [PRIMARY]
@@ -762,7 +765,7 @@ CREATE TABLE [phpbb_users] (
[user_lastvisit] [int] NOT NULL ,
[user_lastmark] [int] NOT NULL ,
[user_lastpost_time] [int] NOT NULL ,
[user_lastpage] [varchar] (100) NOT NULL ,
[user_lastpage] [varchar] (200) NOT NULL ,
[user_last_confirm_key] [varchar] (10) NOT NULL ,
[user_warnings] [int] NOT NULL ,
[user_last_warning] [int] NOT NULL ,
@@ -1299,8 +1302,8 @@ ALTER TABLE [phpbb_forums] WITH NOCHECK ADD
CONSTRAINT [DF_forums_parent_id] DEFAULT (0) FOR [parent_id],
CONSTRAINT [DF_forums_left_id] DEFAULT (0) FOR [left_id],
CONSTRAINT [DF_forums_right_id] DEFAULT (0) FOR [right_id],
CONSTRAINT [DF_forums_rules_flags] DEFAULT (0) FOR [forum_rules_flags],
CONSTRAINT [DF_forums_rules_bbcode_bitfiel] DEFAULT (0) FOR [forum_rules_bbcode_bitfield],
CONSTRAINT [DF_forums_desc_bitfield] DEFAULT (0) FOR [forum_desc_bitfield],
CONSTRAINT [DF_forums_rules_bitfield] DEFAULT (0) FOR [forum_rules_bitfield],
CONSTRAINT [DF_forums_topics_per_page] DEFAULT (0) FOR [forum_topics_per_page],
CONSTRAINT [DF_forums_forum_type] DEFAULT (0) FOR [forum_type],
CONSTRAINT [DF_forums_forum_status] DEFAULT (0) FOR [forum_status],
@@ -1335,6 +1338,7 @@ GO
ALTER TABLE [phpbb_groups] WITH NOCHECK ADD
CONSTRAINT [DF_groups_group_type] DEFAULT (1) FOR [group_type],
CONSTRAINT [DF_groups_group_display] DEFAULT (0) FOR [group_display],
CONSTRAINT [DF_groups_group_desc_bitfield] DEFAULT (0) FOR [group_desc_bitfield],
CONSTRAINT [DF_groups_group_avatar_type] DEFAULT (0) FOR [group_avatar_type],
CONSTRAINT [DF_groups_group_avatar_width] DEFAULT (0) FOR [group_avatar_width],
CONSTRAINT [DF_groups_group_avatar_height] DEFAULT (0) FOR [group_avatar_height],