Current time: 03-20-2010, 08:01 PM Hello There, Guest! (LoginRegister)


 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] announcement in password protected forum [C-sayakb]
04-22-2009, 04:05 PM
Post: #1
[F] announcement in password protected forum [C-sayakb]
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.
Visit this user's website Find all posts by this user
04-22-2009, 08:55 PM
Post: #2
RE: announcement in password protected forum
in announcement.php find:

PHP Code:
if($forumpermissions['canview'] == || $forumpermissions['canviewthreads'] == 0)
{
    
error_no_permission();


Add after:

PHP Code:
// Check if this forum is password protected and we have a valid password
check_forum_password($forum['fid']); 

[Image: ryangordon.png]
My Blog - My Mods
Visit this user's website Find all posts by this user
04-25-2009, 03:50 AM
Post: #3
[F] announcement in password protected forum
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

[Image: ryangordon.png]
My Blog - My Mods
Visit this user's website Find all posts by this user


Forum Jump: