From db6e63ca525efe43ca3ebbccac891c8dcd6b9843 Mon Sep 17 00:00:00 2001 From: Graham Eames Date: Thu, 9 Mar 2006 21:55:09 +0000 Subject: [PATCH] - Enabled VC by default on new installs - Changed default forum permisions Meik : Can you port to Access again please Support Team: Note the need to update the relevant KB article post release git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5616 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/admin/admin_forums.php | 4 ++-- phpBB/docs/CHANGELOG.html | 1 + phpBB/install/schemas/mssql_basic.sql | 4 ++-- phpBB/install/schemas/mysql_basic.sql | 4 ++-- phpBB/install/schemas/postgres_basic.sql | 4 ++-- 5 files changed, 9 insertions(+), 8 deletions(-) diff --git a/phpBB/admin/admin_forums.php b/phpBB/admin/admin_forums.php index e1006dd0f0..58d99750b9 100644 --- a/phpBB/admin/admin_forums.php +++ b/phpBB/admin/admin_forums.php @@ -39,8 +39,8 @@ include($phpbb_root_path . 'includes/functions_admin.'.$phpEx); $forum_auth_ary = array( "auth_view" => AUTH_ALL, "auth_read" => AUTH_ALL, - "auth_post" => AUTH_ALL, - "auth_reply" => AUTH_ALL, + "auth_post" => AUTH_REG, + "auth_reply" => AUTH_REG, "auth_edit" => AUTH_REG, "auth_delete" => AUTH_REG, "auth_sticky" => AUTH_MOD, diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html index d4d0cddd28..1941a393b3 100644 --- a/phpBB/docs/CHANGELOG.html +++ b/phpBB/docs/CHANGELOG.html @@ -94,6 +94,7 @@ p,ul,td {font-size:10pt;}
  • [Sec] Changed the way we create "random" values for use as keys - chinchilla/Anthrax101
  • [Change] Changed handling of the case where a selected style doesn't exist in the database
  • [Change] Changed handling of topic pruning to improve performance
  • +
  • [Change] Changed default forum permissions to only allow registered users to post in new forums
  • diff --git a/phpBB/install/schemas/mssql_basic.sql b/phpBB/install/schemas/mssql_basic.sql index 4be9d31f34..93dacc67eb 100644 --- a/phpBB/install/schemas/mssql_basic.sql +++ b/phpBB/install/schemas/mssql_basic.sql @@ -41,7 +41,7 @@ INSERT INTO phpbb_config (config_name, config_value) VALUES ('max_sentbox_privms INSERT INTO phpbb_config (config_name, config_value) VALUES ('max_savebox_privmsgs','50'); INSERT INTO phpbb_config (config_name, config_value) VALUES ('board_email_sig','Thanks, The Management'); INSERT INTO phpbb_config (config_name, config_value) VALUES ('board_email','youraddress@yourdomain.com'); -INSERT INTO phpbb_config (config_name, config_value) VALUES ('enable_confirm', '0'); +INSERT INTO phpbb_config (config_name, config_value) VALUES ('enable_confirm', '1'); INSERT INTO phpbb_config (config_name, config_value) VALUES ('allow_autologin','1'); INSERT INTO phpbb_config (config_name, config_value) VALUES ('max_autologin_time','0'); INSERT INTO phpbb_config (config_name, config_value) VALUES ('smtp_delivery','0'); @@ -90,7 +90,7 @@ SET IDENTITY_INSERT phpbb_categories OFF; /* -- Forums */ -INSERT INTO phpbb_forums (forum_id, cat_id, forum_name, forum_desc, forum_status, forum_order, forum_posts, forum_topics, forum_last_post_id, prune_next, prune_enable, auth_view, auth_read, auth_post, auth_reply, auth_edit, auth_delete, auth_announce, auth_sticky, auth_pollcreate, auth_vote, auth_attachments) VALUES (1, 1, 'Test Forum 1', 'This is just a test forum, nothing special here.', '', 1, 1, 1, 1, '', 1, '', '', '', '', 1, 1, 3, 3, 1, 1, 3); +INSERT INTO phpbb_forums (forum_id, cat_id, forum_name, forum_desc, forum_status, forum_order, forum_posts, forum_topics, forum_last_post_id, prune_next, prune_enable, auth_view, auth_read, auth_post, auth_reply, auth_edit, auth_delete, auth_announce, auth_sticky, auth_pollcreate, auth_vote, auth_attachments) VALUES (1, 1, 'Test Forum 1', 'This is just a test forum, nothing special here.', '', 1, 1, 1, 1, '', 1, '', '', 1, 1, 1, 1, 3, 3, 1, 1, 3); /* -- Users diff --git a/phpBB/install/schemas/mysql_basic.sql b/phpBB/install/schemas/mysql_basic.sql index baa4c1b398..68c2771f77 100644 --- a/phpBB/install/schemas/mysql_basic.sql +++ b/phpBB/install/schemas/mysql_basic.sql @@ -23,7 +23,7 @@ INSERT INTO phpbb_config (config_name, config_value) VALUES ('allow_theme_create INSERT INTO phpbb_config (config_name, config_value) VALUES ('allow_avatar_local','0'); INSERT INTO phpbb_config (config_name, config_value) VALUES ('allow_avatar_remote','0'); INSERT INTO phpbb_config (config_name, config_value) VALUES ('allow_avatar_upload','0'); -INSERT INTO phpbb_config (config_name, config_value) VALUES ('enable_confirm', '0'); +INSERT INTO phpbb_config (config_name, config_value) VALUES ('enable_confirm', '1'); INSERT INTO phpbb_config (config_name, config_value) VALUES ('allow_autologin','1'); INSERT INTO phpbb_config (config_name, config_value) VALUES ('max_autologin_time','0'); INSERT INTO phpbb_config (config_name, config_value) VALUES ('override_user_style','0'); @@ -76,7 +76,7 @@ INSERT INTO phpbb_categories (cat_id, cat_title, cat_order) VALUES (1, 'Test cat # -- Forums -INSERT INTO phpbb_forums (forum_id, forum_name, forum_desc, cat_id, forum_order, forum_posts, forum_topics, forum_last_post_id, auth_view, auth_read, auth_post, auth_reply, auth_edit, auth_delete, auth_announce, auth_sticky, auth_pollcreate, auth_vote, auth_attachments) VALUES (1, 'Test Forum 1', 'This is just a test forum.', 1, 10, 1, 1, 1, 0, 0, 0, 0, 1, 1, 3, 3, 1, 1, 3); +INSERT INTO phpbb_forums (forum_id, forum_name, forum_desc, cat_id, forum_order, forum_posts, forum_topics, forum_last_post_id, auth_view, auth_read, auth_post, auth_reply, auth_edit, auth_delete, auth_announce, auth_sticky, auth_pollcreate, auth_vote, auth_attachments) VALUES (1, 'Test Forum 1', 'This is just a test forum.', 1, 10, 1, 1, 1, 0, 0, 1, 1, 1, 1, 3, 3, 1, 1, 3); # -- Users diff --git a/phpBB/install/schemas/postgres_basic.sql b/phpBB/install/schemas/postgres_basic.sql index 1fef4e2c41..04f802c590 100644 --- a/phpBB/install/schemas/postgres_basic.sql +++ b/phpBB/install/schemas/postgres_basic.sql @@ -24,7 +24,7 @@ INSERT INTO phpbb_config (config_name, config_value) VALUES ('allow_theme_create INSERT INTO phpbb_config (config_name, config_value) VALUES ('allow_avatar_local','0'); INSERT INTO phpbb_config (config_name, config_value) VALUES ('allow_avatar_remote','0'); INSERT INTO phpbb_config (config_name, config_value) VALUES ('allow_avatar_upload','0'); -INSERT INTO phpbb_config (config_name, config_value) VALUES ('enable_confirm', '0'); +INSERT INTO phpbb_config (config_name, config_value) VALUES ('enable_confirm', '1'); INSERT INTO phpbb_config (config_name, config_value) VALUES ('allow_autologin','1'); INSERT INTO phpbb_config (config_name, config_value) VALUES ('max_autologin_time','0'); INSERT INTO phpbb_config (config_name, config_value) VALUES ('override_user_style','0'); @@ -76,7 +76,7 @@ INSERT INTO phpbb_categories (cat_id, cat_title, cat_order) VALUES (1, 'Test cat -- Forums -INSERT INTO phpbb_forums (forum_id, forum_name, forum_desc, cat_id, forum_order, forum_posts, forum_topics, forum_last_post_id, auth_view, auth_read, auth_post, auth_reply, auth_edit, auth_delete, auth_announce, auth_sticky, auth_pollcreate, auth_vote, auth_attachments) VALUES (1, 'Test Forum 1', 'This is just a test forum.', 1, 10, 1, 1, 1, 0, 0, 0, 0, 1, 1, 3, 3, 1, 1, 3); +INSERT INTO phpbb_forums (forum_id, forum_name, forum_desc, cat_id, forum_order, forum_posts, forum_topics, forum_last_post_id, auth_view, auth_read, auth_post, auth_reply, auth_edit, auth_delete, auth_announce, auth_sticky, auth_pollcreate, auth_vote, auth_attachments) VALUES (1, 'Test Forum 1', 'This is just a test forum.', 1, 10, 1, 1, 1, 0, 0, 1, 1, 1, 1, 3, 3, 1, 1, 3); -- Users INSERT INTO phpbb_users (user_id, username, user_level, user_regdate, user_password, user_email, user_icq, user_website, user_occ, user_from, user_interests, user_sig, user_viewemail, user_style, user_aim, user_yim, user_msnm, user_posts, user_attachsig, user_allowsmile, user_allowhtml, user_allowbbcode, user_allow_pm, user_notify_pm, user_allow_viewonline, user_rank, user_avatar, user_lang, user_timezone, user_dateformat, user_actkey, user_newpasswd, user_notify, user_active) VALUES ( -1, 'Anonymous', 0, 0, '', '', '', '', '', '', '', '', 0, NULL, '', '', '', 0, 0, 1, 1, 1, 0, 1, 1, NULL, '', '', 0, '', '', '', 0, 0);