Please upgrade here. These earlier versions are no longer being updated and have security issues.

FIX: Anonymous posters can reply to closed topics

This discussion is related to the Anonymouse addon.
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:
vaniller

Comments

Sign In or Register to comment.