diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2009-06-20 18:45:16 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2009-06-20 18:45:16 +0000 |
commit | 433de350c0fa2e1e09c23e6f5f29f118222d2df8 (patch) | |
tree | 25e43220f961118c26112aa08a858d7ab4f6c065 /phpBB/posting.php | |
parent | 0d626d77bfaebb7e7e281e963b486911470f0992 (diff) | |
download | forums-433de350c0fa2e1e09c23e6f5f29f118222d2df8.tar forums-433de350c0fa2e1e09c23e6f5f29f118222d2df8.tar.gz forums-433de350c0fa2e1e09c23e6f5f29f118222d2df8.tar.bz2 forums-433de350c0fa2e1e09c23e6f5f29f118222d2df8.tar.xz forums-433de350c0fa2e1e09c23e6f5f29f118222d2df8.zip |
- [Feature] New "Newly Registered Users" group for assigning permissions to newly registered users. They will be removed from this group once they reach a defineable amount of posts.
- [Feature] Ability to define if the "Newly Registered Users" group will be assigned as the default group to newly registered users.
As a coincidence also Bug #46535 got fixed.
Additionally the error message displayed with trigger_error() if accessing the private message tab in the ucp is now displayed inline in addition to a slightly different message for newly registered users to let them know that access permissions may be lifted over time.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9636 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r-- | phpBB/posting.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php index 4b715a66a2..90d5755003 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -1026,8 +1026,8 @@ if ($submit || $preview || $refresh) $captcha->reset(); } - // Check the permissions for post approval, as well as the queue trigger where users are put on approval with a post count lower than specified. Moderators are not affected. - if ((($config['enable_queue_trigger'] && $user->data['user_posts'] < $config['queue_trigger_posts']) || !$auth->acl_get('f_noapprove', $data['forum_id'])) && !$auth->acl_get('m_approve', $data['forum_id'])) + // Check the permissions for post approval. Moderators are not affected. + if (!$auth->acl_get('f_noapprove', $data['forum_id']) && !$auth->acl_get('m_approve', $data['forum_id'])) { meta_refresh(10, $redirect_url); $message = ($mode == 'edit') ? $user->lang['POST_EDITED_MOD'] : $user->lang['POST_STORED_MOD']; |