Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

FIX: Anonymous posters can reply to closed topics

edited September 2011 in Vanilla 2.0 - 2.8
There's a bug that allows anonymous users to reply to a post even if it has been locked. Here's the fix:

Open /plugins/Anonymouse/views/comment.php

After the first line:
<?php if (!defined('APPLICATION')) exit(); ?>

Add this:
<?php if ($this->Data['Discussion']->Closed) return; ?>

The anonymous reply form will no longer show up if the topic is closed.
Tagged:

Comments

Sign In or Register to comment.