mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 22:08:54 +00:00
Correct doubled up viewsigs, replace viewemail with allow_viewemail, add couple new groups for COPPA users
git-svn-id: file:///svn/phpbb/trunk@4027 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
2700723d8b
commit
0b58522088
2 changed files with 65 additions and 62 deletions
|
@ -220,6 +220,7 @@ INSERT INTO phpbb_auth_options (auth_option, is_global) VALUES ('u_chggrp', 1);
|
|||
INSERT INTO phpbb_auth_options (auth_option, is_global) VALUES ('u_chgemail', 1);
|
||||
INSERT INTO phpbb_auth_options (auth_option, is_global) VALUES ('u_chgname', 1);
|
||||
INSERT INTO phpbb_auth_options (auth_option, is_global) VALUES ('u_chgpasswd', 1);
|
||||
INSERT INTO phpbb_auth_options (auth_option, is_global) VALUES ('u_chgcensors', 1);
|
||||
INSERT INTO phpbb_auth_options (auth_option, is_global) VALUES ('u_search', 1);
|
||||
|
||||
|
||||
|
@ -260,16 +261,18 @@ INSERT INTO phpbb_ranks (rank_id, rank_title, rank_min, rank_special, rank_image
|
|||
# -- Groups
|
||||
INSERT INTO phpbb_groups (group_id, group_name, group_type) VALUES (1, 'GUESTS', 3);
|
||||
INSERT INTO phpbb_groups (group_id, group_name, group_type) VALUES (2, 'INACTIVE', 3);
|
||||
INSERT INTO phpbb_groups (group_id, group_name, group_type) VALUES (3, 'REGISTERED', 3);
|
||||
INSERT INTO phpbb_groups (group_id, group_name, group_type) VALUES (4, 'SUPER_MODERATORS', 3);
|
||||
INSERT INTO phpbb_groups (group_id, group_name, group_type) VALUES (5, 'ADMINISTRATORS', 3);
|
||||
INSERT INTO phpbb_groups (group_id, group_name, group_type) VALUES (6, 'BANNED', 3);
|
||||
INSERT INTO phpbb_groups (group_id, group_name, group_type) VALUES (3, 'INACTIVE_COPPA', 3);
|
||||
INSERT INTO phpbb_groups (group_id, group_name, group_type) VALUES (4, 'REGISTERED', 3);
|
||||
INSERT INTO phpbb_groups (group_id, group_name, group_type) VALUES (5, 'REGISTERED_COPPA', 3);
|
||||
INSERT INTO phpbb_groups (group_id, group_name, group_type) VALUES (6, 'SUPER_MODERATORS', 3);
|
||||
INSERT INTO phpbb_groups (group_id, group_name, group_type) VALUES (7, 'ADMINISTRATORS', 3);
|
||||
INSERT INTO phpbb_groups (group_id, group_name, group_type) VALUES (8, 'BANNED', 3);
|
||||
|
||||
|
||||
# -- User -> Group
|
||||
INSERT INTO phpbb_user_group (group_id, user_id, user_pending) VALUES (1, 1, 0);
|
||||
INSERT INTO phpbb_user_group (group_id, user_id, user_pending) VALUES (3, 2, 0);
|
||||
INSERT INTO phpbb_user_group (group_id, user_id, user_pending) VALUES (5, 2, 0);
|
||||
INSERT INTO phpbb_user_group (group_id, user_id, user_pending) VALUES (4, 2, 0);
|
||||
INSERT INTO phpbb_user_group (group_id, user_id, user_pending) VALUES (7, 2, 0);
|
||||
|
||||
|
||||
# -- User auth
|
||||
|
|
|
@ -436,7 +436,7 @@ CREATE TABLE phpbb_posts (
|
|||
post_encoding varchar(11) DEFAULT 'iso-8859-15' NOT NULL,
|
||||
post_attachment tinyint(1) DEFAULT '0' NOT NULL,
|
||||
bbcode_bitfield int(11) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
bbcode_uid varchar(10) NOT NULL,
|
||||
bbcode_uid varchar(5) NOT NULL,
|
||||
post_edit_time int(11),
|
||||
post_edit_count smallint(5) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
post_edit_locked tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
|
@ -867,7 +867,7 @@ CREATE TABLE phpbb_users (
|
|||
user_allow_pm tinyint(1) DEFAULT '1' NOT NULL,
|
||||
user_allow_email tinyint(1) DEFAULT '1' NOT NULL,
|
||||
user_allow_viewonline tinyint(1) DEFAULT '1' NOT NULL,
|
||||
user_notify tinyint(1) DEFAULT '1' NOT NULL,
|
||||
user_allow_viewemail tinyint(1) DEFAULT '1' NOT NULL,
|
||||
user_notify_pm tinyint(1) DEFAULT '1' NOT NULL,
|
||||
user_popup_pm tinyint(1) DEFAULT '0' NOT NULL,
|
||||
user_avatar varchar(100) DEFAULT '' NOT NULL,
|
||||
|
@ -875,7 +875,7 @@ CREATE TABLE phpbb_users (
|
|||
user_avatar_width tinyint(4) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
user_avatar_height tinyint(4) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
user_sig text DEFAULT '' NOT NULL,
|
||||
user_sig_bbcode_uid varchar(10) DEFAULT '' NOT NULL,
|
||||
user_sig_bbcode_uid varchar(5) DEFAULT '' NOT NULL,
|
||||
user_sig_bbcode_bitfield int(11) DEFAULT '0' NOT NULL,
|
||||
user_from varchar(100) DEFAULT '' NOT NULL,
|
||||
user_icq varchar(15) DEFAULT '' NOT NULL,
|
||||
|
|
Loading…
Add table
Reference in a new issue