|
@@ -590,7 +590,7 @@ class Install extends Page
|
|
|
'FIELDS' => [
|
|
|
'g_id' => ['SERIAL', false],
|
|
|
'g_title' => ['VARCHAR(50)', false, ''],
|
|
|
- 'g_user_title' => ['VARCHAR(50)', true],
|
|
|
+ 'g_user_title' => ['VARCHAR(50)', false, ''],
|
|
|
'g_promote_min_posts' => ['INT(10) UNSIGNED', false, 0],
|
|
|
'g_promote_next_group' => ['INT(10) UNSIGNED', false, 0],
|
|
|
'g_moderator' => ['TINYINT(1)', false, 0],
|
|
@@ -1025,8 +1025,8 @@ class Install extends Page
|
|
|
// g_id, g_title, g_user_title, g_moderator, g_mod_edit_users, g_mod_rename_users, g_mod_change_passwords, g_mod_ban_users, g_mod_promote_users, g_read_board, g_view_users, g_post_replies, g_post_topics, g_edit_posts, g_delete_posts, g_delete_topics, g_post_links, g_set_title, g_search, g_search_users, g_send_email, g_post_flood, g_search_flood, g_email_flood, g_report_flood, g_promote_min_posts, g_promote_next_group
|
|
|
[$this->c->GROUP_ADMIN, \ForkBB\__('Administrators'), \ForkBB\__('Administrator '), 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0],
|
|
|
[$this->c->GROUP_MOD, \ForkBB\__('Moderators'), \ForkBB\__('Moderator '), 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0],
|
|
|
- [$this->c->GROUP_GUEST, \ForkBB\__('Guests'), NULL, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 120, 60, 0, 0, 0, 0],
|
|
|
- [$this->c->GROUP_MEMBER, \ForkBB\__('Members'), NULL, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 30, 30, 60, 60, 0, 0],
|
|
|
+ [$this->c->GROUP_GUEST, \ForkBB\__('Guests'), '', 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 120, 60, 0, 0, 0, 0],
|
|
|
+ [$this->c->GROUP_MEMBER, \ForkBB\__('Members'), '', 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 30, 30, 60, 60, 0, 0],
|
|
|
[$this->c->GROUP_NEW_MEMBER, \ForkBB\__('New members'), \ForkBB\__('New member'), 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 60, 30, 120, 60, 5, $this->c->GROUP_MEMBER],
|
|
|
];
|
|
|
foreach ($groups as $group) { //???? $db_type != 'pgsql'
|