mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-12 03:34:04 +02:00
Changes related to private messaging + some bug fixes
git-svn-id: file:///svn/phpbb/trunk@1111 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -35,6 +35,9 @@ INSERT INTO phpbb_config VALUES ('topics_per_page','50');
|
||||
INSERT INTO phpbb_config VALUES ('hot_threshold','25');
|
||||
INSERT INTO phpbb_config VALUES ('max_poll_options','10');
|
||||
INSERT INTO phpbb_config VALUES ('max_sig_chars','255');
|
||||
INSERT INTO phpbb_config VALUES ('max_inbox_privmsgs','50');
|
||||
INSERT INTO phpbb_config VALUES ('max_sentbox_privmsgs','25');
|
||||
INSERT INTO phpbb_config VALUES ('max_savebox_privmsgs','50');
|
||||
INSERT INTO phpbb_config VALUES ('board_email_sig','Thanks, The Management');
|
||||
INSERT INTO phpbb_config VALUES ('board_email','youraddress@yourdomain.com');
|
||||
INSERT INTO phpbb_config VALUES ('smtp_delivery','0');
|
||||
|
@@ -259,13 +259,13 @@ CREATE TABLE [phpbb_privmsgs] (
|
||||
[privmsgs_enable_bbcode] [smallint] NULL ,
|
||||
[privmsgs_enable_html] [smallint] NULL ,
|
||||
[privmsgs_enable_smilies] [smallint] NULL ,
|
||||
[privmsgs_enable_sig] [smallint] NULL ,
|
||||
[privmsgs_bbcode_uid] [char] (10) NULL
|
||||
[privmsgs_attach_sig] [smallint] NULL ,
|
||||
) ON [PRIMARY]
|
||||
GO
|
||||
|
||||
CREATE TABLE [phpbb_privmsgs_text] (
|
||||
[privmsgs_text_id] [int] NOT NULL ,
|
||||
[privmsgs_bbcode_uid] [char] (10) NULL
|
||||
[privmsgs_text] [text] NULL
|
||||
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
|
||||
GO
|
||||
|
@@ -29,6 +29,9 @@ INSERT INTO phpbb_config VALUES ('topics_per_page','50');
|
||||
INSERT INTO phpbb_config VALUES ('hot_threshold','25');
|
||||
INSERT INTO phpbb_config VALUES ('max_poll_options','10');
|
||||
INSERT INTO phpbb_config VALUES ('max_sig_chars','255');
|
||||
INSERT INTO phpbb_config VALUES ('max_inbox_privmsgs','50');
|
||||
INSERT INTO phpbb_config VALUES ('max_sentbox_privmsgs','25');
|
||||
INSERT INTO phpbb_config VALUES ('max_savebox_privmsgs','50');
|
||||
INSERT INTO phpbb_config VALUES ('board_email_sig','Thanks, The Management');
|
||||
INSERT INTO phpbb_config VALUES ('board_email','youraddress@yourdomain.com');
|
||||
INSERT INTO phpbb_config VALUES ('smtp_delivery','0');
|
||||
|
@@ -216,8 +216,7 @@ CREATE TABLE phpbb_privmsgs (
|
||||
privmsgs_enable_bbcode tinyint(1) DEFAULT '1' NOT NULL,
|
||||
privmsgs_enable_html tinyint(1) DEFAULT '0' NOT NULL,
|
||||
privmsgs_enable_smilies tinyint(1) DEFAULT '1' NOT NULL,
|
||||
privmsgs_enable_sig tinyint(1) DEFAULT '1' NOT NULL,
|
||||
privmsgs_bbcode_uid char(10) DEFAULT '0' NOT NULL,
|
||||
privmsgs_attach_sig tinyint(1) DEFAULT '1' NOT NULL,
|
||||
PRIMARY KEY (privmsgs_id),
|
||||
KEY privmsgs_from_userid (privmsgs_from_userid),
|
||||
KEY privmsgs_to_userid (privmsgs_to_userid)
|
||||
@@ -231,6 +230,7 @@ CREATE TABLE phpbb_privmsgs (
|
||||
DROP TABLE IF EXISTS phpbb_privmsgs_text;
|
||||
CREATE TABLE phpbb_privmsgs_text (
|
||||
privmsgs_text_id int(11) DEFAULT '0' NOT NULL,
|
||||
privmsgs_bbcode_uid char(10) DEFAULT '0' NOT NULL,
|
||||
privmsgs_text text,
|
||||
PRIMARY KEY (privmsgs_text_id)
|
||||
);
|
||||
|
@@ -29,6 +29,9 @@ INSERT INTO phpbb_config VALUES ('topics_per_page','50');
|
||||
INSERT INTO phpbb_config VALUES ('hot_threshold','25');
|
||||
INSERT INTO phpbb_config VALUES ('max_poll_options','10');
|
||||
INSERT INTO phpbb_config VALUES ('max_sig_chars','255');
|
||||
INSERT INTO phpbb_config VALUES ('max_inbox_privmsgs','50');
|
||||
INSERT INTO phpbb_config VALUES ('max_sentbox_privmsgs','25');
|
||||
INSERT INTO phpbb_config VALUES ('max_savebox_privmsgs','50');
|
||||
INSERT INTO phpbb_config VALUES ('board_email_sig','Thanks, The Management');
|
||||
INSERT INTO phpbb_config VALUES ('board_email','youraddress@yourdomain.com');
|
||||
INSERT INTO phpbb_config VALUES ('smtp_delivery','0');
|
||||
|
@@ -231,7 +231,10 @@ CREATE TABLE phpbb_privmsgs (
|
||||
privmsgs_to_userid number(4) DEFAULT '0' NOT NULL,
|
||||
privmsgs_date number(4) DEFAULT '0' NOT NULL,
|
||||
privmsgs_ip char(8) NOT NULL,
|
||||
privmsgs_bbcode_uid varchar(10) DEFAULT '0' NOT NULL,
|
||||
privmsgs_enable_bbcode number(1) DEFAULT '1' NOT NULL,
|
||||
privmsgs_enable_html number(1) DEFAULT '0' NOT NULL,
|
||||
privmsgs_enable_smilies number(1) DEFAULT '1' NOT NULL,
|
||||
privmsgs_attach_sig number(1) DEFAULT '1' NOT NULL,
|
||||
CONSTRAINT phpbb_privmsgs_pkey PRIMARY KEY (privmsgs_id)
|
||||
);
|
||||
CREATE INDEX privmsgs_from_userid_index ON phpbb_privmsgs (privmsgs_from_userid);
|
||||
@@ -243,6 +246,7 @@ CREATE INDEX privmsgs_to_userid_index ON phpbb_privmsgs (privmsgs_to_userid);
|
||||
-------------------------------------------------------- */
|
||||
CREATE TABLE phpbb_privmsgs_text (
|
||||
privmsgs_text_id number(4) DEFAULT '0' NOT NULL,
|
||||
privmsgs_bbcode_uid char(10) DEFAULT '0' NOT NULL,
|
||||
privmsgs_text varchar(2000),
|
||||
CONSTRAINT phpbb_privmsgs_text_pkey PRIMARY KEY (privmsgs_text_id)
|
||||
);
|
||||
|
@@ -29,6 +29,9 @@ INSERT INTO phpbb_config VALUES ('topics_per_page','50');
|
||||
INSERT INTO phpbb_config VALUES ('hot_threshold','25');
|
||||
INSERT INTO phpbb_config VALUES ('max_poll_options','10');
|
||||
INSERT INTO phpbb_config VALUES ('max_sig_chars','255');
|
||||
INSERT INTO phpbb_config VALUES ('max_inbox_privmsgs','50');
|
||||
INSERT INTO phpbb_config VALUES ('max_sentbox_privmsgs','25');
|
||||
INSERT INTO phpbb_config VALUES ('max_savebox_privmsgs','50');
|
||||
INSERT INTO phpbb_config VALUES ('board_email_sig','Thanks, The Management');
|
||||
INSERT INTO phpbb_config VALUES ('board_email','youraddress@yourdomain.com');
|
||||
INSERT INTO phpbb_config VALUES ('smtp_delivery','0');
|
||||
|
@@ -198,7 +198,10 @@ CREATE TABLE phpbb_privmsgs (
|
||||
privmsgs_to_userid int4 DEFAULT '0' NOT NULL,
|
||||
privmsgs_date int4 DEFAULT '0' NOT NULL,
|
||||
privmsgs_ip char(8) NOT NULL,
|
||||
privmsgs_bbcode_uid varchar(10) DEFAULT '0' NOT NULL,
|
||||
privmsgs_enable_bbcode int2 DEFAULT '1' NOT NULL,
|
||||
privmsgs_enable_html int2 DEFAULT '0' NOT NULL,
|
||||
privmsgs_enable_smilies int2 DEFAULT '1' NOT NULL,
|
||||
privmsgs_attach_sig int2 DEFAULT '1' NOT NULL,
|
||||
CONSTRAINT phpbb_privmsgs_pkey PRIMARY KEY (privmsgs_id)
|
||||
);
|
||||
CREATE INDEX privmsgs_from_userid_index ON phpbb_privmsgs (privmsgs_from_userid);
|
||||
@@ -210,6 +213,7 @@ CREATE INDEX privmsgs_to_userid_index ON phpbb_privmsgs (privmsgs_to_userid);
|
||||
-------------------------------------------------------- */
|
||||
CREATE TABLE phpbb_privmsgs_text (
|
||||
privmsgs_text_id int4 DEFAULT '0' NOT NULL,
|
||||
privmsgs_bbcode_uid char(10) DEFAULT '0' NOT NULL,
|
||||
privmsgs_text text,
|
||||
CONSTRAINT phpbb_privmsgs_text_pkey PRIMARY KEY (privmsgs_text_id)
|
||||
);
|
||||
|
Reference in New Issue
Block a user