From: Jim W. <ter...@ph...> - 2009-08-13 21:18:02
|
Author: terrafrost Date: Thu Aug 13 22:17:16 2009 New Revision: 9971 Log: - Unapproved topics can no longer be replied to (Bug #44005) Modified: branches/phpBB-3_0_0/phpBB/docs/CHANGELOG.html branches/phpBB-3_0_0/phpBB/posting.php Modified: branches/phpBB-3_0_0/phpBB/docs/CHANGELOG.html ============================================================================== *** branches/phpBB-3_0_0/phpBB/docs/CHANGELOG.html (original) --- branches/phpBB-3_0_0/phpBB/docs/CHANGELOG.html Thu Aug 13 22:17:16 2009 *************** *** 220,225 **** --- 220,226 ---- <li>[Change] Parse multiline url title for [url] BBCode tag. (Bug #1309)</li> <li>[Change] Introduce new parameter to page_header() for forum specific who is online listings.</li> <li>[Change] Lifted minimum requirement for Firebird DBMS from 2.0+ to 2.1+.</li> + <li>[Change] Unapproved topics can no longer be replied to (Bug #44005)</li> <li>[Feature] Add language selection on the registration terms page (Bug #15085 - Patch by leviatan21)</li> <li>[Feature] Backported 3.2 captcha plugins. <ul> Modified: branches/phpBB-3_0_0/phpBB/posting.php ============================================================================== *** branches/phpBB-3_0_0/phpBB/posting.php (original) --- branches/phpBB-3_0_0/phpBB/posting.php Thu Aug 13 22:17:16 2009 *************** *** 95,101 **** FROM ' . TOPICS_TABLE . ' t, ' . FORUMS_TABLE . " f WHERE t.topic_id = $topic_id AND (f.forum_id = t.forum_id ! OR f.forum_id = $forum_id)"; break; case 'quote': --- 95,102 ---- FROM ' . TOPICS_TABLE . ' t, ' . FORUMS_TABLE . " f WHERE t.topic_id = $topic_id AND (f.forum_id = t.forum_id ! OR f.forum_id = $forum_id) ! AND t.topic_approved = 1"; break; case 'quote': *************** *** 124,130 **** AND u.user_id = p.poster_id AND (f.forum_id = t.forum_id OR f.forum_id = $forum_id)" . ! (($auth->acl_get('m_approve', $forum_id)) ? '' : 'AND p.post_approved = 1'); break; case 'smilies': --- 125,131 ---- AND u.user_id = p.poster_id AND (f.forum_id = t.forum_id OR f.forum_id = $forum_id)" . ! (($auth->acl_get('m_approve', $forum_id) && $mode != 'quote') ? '' : 'AND p.post_approved = 1'); break; case 'smilies': |