MyBB Community Forums

Full Version: [F] announcement in password protected forum [C-sayakb]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
If a password protected forum has an announcement, users can access it directly by giving the announcements.php?aid=x URL. forumdisplay and showthread call the check_password function for the forum, announcement.php does not.
in announcement.php find:

if($forumpermissions['canview'] == 0 || $forumpermissions['canviewthreads'] == 0)

Add after:

// Check if this forum is password protected and we have a valid password
Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.

With regards,
MyBB Group