diff --git a/html/user/forum_post.php b/html/user/forum_post.php index 2494330f22..4c94ec73fa 100644 --- a/html/user/forum_post.php +++ b/html/user/forum_post.php @@ -25,6 +25,11 @@ if (time()-$logged_in_user->last_post<$forum->post_min_interval){ //Tell the user to wait a while before creating any more posts error_page(tr(FORUM_ERR_INTERVAL)); } +if (substr($logged_in_user->authenticator, 0, 1) == 'x'){ + //User has been bad so we are going to take away ability to post for awhile. + error_page("This account has been administratively disabled."); +} + $title = post_str("title", true); $content = post_str("content", true); if ($title && $content) { diff --git a/html/user/forum_reply.php b/html/user/forum_reply.php index a4d6a95fc6..546b3caa34 100644 --- a/html/user/forum_reply.php +++ b/html/user/forum_reply.php @@ -50,6 +50,11 @@ if (time()-$logged_in_user->last_post<$forum->post_min_interval){ This delay has been enforced to protect against abuse of the system."); } +if (substr($logged_in_user->authenticator, 0, 1) == 'x'){ + //User has been bad so we are going to take away ability to post for awhile. + error_page("This account has been administratively disabled."); +} + if ($category->is_helpdesk) { if (!$sort_style) { $sort_style = getSortStyle($logged_in_user,"answer");