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
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:
Add this:
The anonymous reply form will no longer show up if the topic is closed.
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:
1
Comments
I thought you were iamthes.
And indeed, I thought that there was some cleaner solution than what @Sodaware proposed, but you'd know better than me.