mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
Latest update ... should be okay
git-svn-id: file:///svn/phpbb/trunk@396 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
bc18a32d45
commit
eec6b08295
2 changed files with 13 additions and 22 deletions
|
@ -12,16 +12,20 @@ INSERT INTO phpbb_categories VALUES (1,'Test category 1','1');
|
||||||
# -- Forums
|
# -- Forums
|
||||||
INSERT INTO phpbb_forums VALUES (1,1,'Test Forum 1','This is just a test forum, nothing special here.',1,1,1,1,1,1);
|
INSERT INTO phpbb_forums VALUES (1,1,'Test Forum 1','This is just a test forum, nothing special here.',1,1,1,1,1,1);
|
||||||
|
|
||||||
# -- Forum Mods
|
# -- Users (admin is set as that, an admin ... password is null, change it once online!)
|
||||||
INSERT INTO phpbb_forum_mods VALUES (1,1,0);
|
|
||||||
|
|
||||||
# -- Users
|
|
||||||
INSERT INTO phpbb_users VALUES (-1,1,'Anonymous',NOW(),'','','Default','','-8','d M Y H:i',0,'',1,'','','','','','','',0,1,'','','',0,0,0,0,0,'','',0);
|
INSERT INTO phpbb_users VALUES (-1,1,'Anonymous',NOW(),'','','Default','','-8','d M Y H:i',0,'',1,'','','','','','','',0,1,'','','',0,0,0,0,0,'','',0);
|
||||||
INSERT INTO phpbb_users VALUES (1,1,'admin',NOW(),'','','','','-8','d M Y H:i','0','','4','admin@yourdomain.com','','','','','','This is just a stupid sig',1,1,'','','',0,1,0,0,0,'','',0);
|
INSERT INTO phpbb_users (user_id, username, user_level, user_regdate, user_password, user_autologin_key, user_email, user_icq, user_website, user_occ, user_from, user_interests, user_sig, user_viewemail, user_theme, user_aim, user_yim, user_msnm, user_posts, user_attachsig, user_allowsmile, user_allowhtml, user_allowbbcode, user_rank, user_avatar, user_lang, user_timezone, user_dateformat, user_actkey, user_newpasswd, user_notify, user_active, user_template) VALUES ( '2', 'Admin', '1', NOW(), '', '', 'admin@yourdomain.com', '', '', '', '', '', 'A Signature', '1', '1', '', '', '', '0', '0', '1', '0', '1', '1', '', 'english', '-8', 'd M Y h:i a', '', '', '0', '1', 'Default');
|
||||||
|
|
||||||
|
# -- Ranks
|
||||||
|
INSERT INTO phpbb_ranks (rank_id, rank_title, rank_min, rank_max, rank_special, rank_image) VALUES ( '1', 'Site Admin', '-1', '-1', '1', '');
|
||||||
|
INSERT INTO phpbb_ranks (rank_id, rank_title, rank_min, rank_max, rank_special, rank_image) VALUES ( '2', 'Newbie', '0', '9', '0', '');
|
||||||
|
INSERT INTO phpbb_ranks (rank_id, rank_title, rank_min, rank_max, rank_special, rank_image) VALUES ( '5', 'Here Often', '10', '49', '0', '');
|
||||||
|
INSERT INTO phpbb_ranks (rank_id, rank_title, rank_min, rank_max, rank_special, rank_image) VALUES ( '6', 'Should Get Out More', '50', '199', '0', '');
|
||||||
|
INSERT INTO phpbb_ranks (rank_id, rank_title, rank_min, rank_max, rank_special, rank_image) VALUES ( '7', 'Has No Life', '200', '99999', '0', '');
|
||||||
|
|
||||||
# -- Groups
|
# -- Groups
|
||||||
INSERT INTO phpbb_groups (group_id, group_name, group_note, single_user) VALUES (1, 'Anonymous', 'Personal User', 1);
|
INSERT INTO phpbb_groups (group_id, group_name, group_note, single_user) VALUES (1, 'Anonymous', 'Personal User', 1);
|
||||||
INSERT INTO phpbb_groups (group_id, group_name, group_note, single_user) VALUES (2, 'admin', 'Personal User', 1);
|
INSERT INTO phpbb_groups (group_id, group_name, group_note, single_user) VALUES (2, 'Admin', 'Personal User', 1);
|
||||||
|
|
||||||
# -- User -> Group
|
# -- User -> Group
|
||||||
INSERT INTO phpbb_user_group (group_id, user_id) VALUES (1, 1);
|
INSERT INTO phpbb_user_group (group_id, user_id) VALUES (1, 1);
|
||||||
|
@ -30,8 +34,8 @@ INSERT INTO phpbb_user_group (group_id, user_id) VALUES (2, 2);
|
||||||
# -- Forum Access (Open access to ALL)
|
# -- Forum Access (Open access to ALL)
|
||||||
INSERT INTO phpbb_auth_forums (forum_id, auth_view, auth_read, auth_post, auth_reply, auth_edit, auth_delete, auth_votecreate, auth_vote) VALUES (1, 0, 0, 0, 0, 0, 0, 0, 0);
|
INSERT INTO phpbb_auth_forums (forum_id, auth_view, auth_read, auth_post, auth_reply, auth_edit, auth_delete, auth_votecreate, auth_vote) VALUES (1, 0, 0, 0, 0, 0, 0, 0, 0);
|
||||||
|
|
||||||
# -- User Access (admin is just that, an admin)
|
# -- User Access (admin is set as a moderator of the created forum)
|
||||||
INSERT INTO phpbb_auth_access (group_id, forum_id, auth_view, auth_read, auth_post, auth_reply, auth_edit, auth_delete, auth_votecreate, auth_vote, auth_mod, auth_admin) VALUES (2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1);
|
INSERT INTO phpbb_auth_access (group_id, forum_id, auth_view, auth_read, auth_post, auth_reply, auth_edit, auth_delete, auth_votecreate, auth_vote, auth_mod) VALUES (2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1);
|
||||||
|
|
||||||
# -- Demo Topic
|
# -- Demo Topic
|
||||||
INSERT INTO phpbb_topics VALUES(1,1,'Demo Topic', 1,NOW(), 0,0,0,0,1);
|
INSERT INTO phpbb_topics VALUES(1,1,'Demo Topic', 1,NOW(), 0,0,0,0,1);
|
||||||
|
|
|
@ -159,19 +159,6 @@ CREATE TABLE phpbb_forum_access (
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
# --------------------------------------------------------
|
|
||||||
#
|
|
||||||
# Table structure for table 'phpbb_forum_mods'
|
|
||||||
#
|
|
||||||
DROP TABLE IF EXISTS phpbb_forum_mods;
|
|
||||||
|
|
||||||
CREATE TABLE phpbb_forum_mods (
|
|
||||||
forum_id int(10) DEFAULT '0' NOT NULL,
|
|
||||||
user_id int(10) DEFAULT '0' NOT NULL,
|
|
||||||
mod_notify tinyint(3)
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
# --------------------------------------------------------
|
# --------------------------------------------------------
|
||||||
#
|
#
|
||||||
# Table structure for table 'phpbb_forums'
|
# Table structure for table 'phpbb_forums'
|
||||||
|
@ -433,6 +420,7 @@ CREATE TABLE phpbb_users (
|
||||||
user_id int(11) NOT NULL auto_increment,
|
user_id int(11) NOT NULL auto_increment,
|
||||||
user_active tinyint(4),
|
user_active tinyint(4),
|
||||||
username varchar(40) NOT NULL,
|
username varchar(40) NOT NULL,
|
||||||
|
user_level int(11) DEFAULT '0',
|
||||||
user_regdate int(11) DEFAULT '0' NOT NULL,
|
user_regdate int(11) DEFAULT '0' NOT NULL,
|
||||||
user_password varchar(32) NOT NULL,
|
user_password varchar(32) NOT NULL,
|
||||||
user_autologin_key varchar(32),
|
user_autologin_key varchar(32),
|
||||||
|
@ -442,7 +430,6 @@ CREATE TABLE phpbb_users (
|
||||||
user_dateformat varchar(14) DEFAULT 'd M Y H:i' NOT NULL,
|
user_dateformat varchar(14) DEFAULT 'd M Y H:i' NOT NULL,
|
||||||
user_rank int(11) DEFAULT '0',
|
user_rank int(11) DEFAULT '0',
|
||||||
user_avatar varchar(100),
|
user_avatar varchar(100),
|
||||||
user_level int(11) DEFAULT '1',
|
|
||||||
user_email varchar(255),
|
user_email varchar(255),
|
||||||
user_icq varchar(15),
|
user_icq varchar(15),
|
||||||
user_website varchar(100),
|
user_website varchar(100),
|
||||||
|
|
Loading…
Add table
Reference in a new issue