Download it here:
http://mkportal.thevnchannel.com/passwdBoard_0-2.zip [nofollow]In Themes/[YOUR THEME]/languages/Modifications.english.php
add this to the end of the file:
$txt['passwdBoard1'] = "Password for this board";
$txt['passwdBoard2'] = "Leave blank for no password";
$txt['passwdBoard3'] = "Please enter the board password: ";
$txt['passwdBoard4'] = "Enter Board";
$txt['passwdBoard5'] = "This board is password protected and you have not provided the correct password during this session";
$txt['passwdBoard6'] = "Board Unlocked";
In Themes/[YOUR THEME]/BoardIndex.template.php
find:
// Show some basic information about the number of posts, etc.
add before:
if ( !$context['user']['is_admin'] && !$context['user']['is_mod'] && !isset($board['moderators'][$context['user']['id']]) && $board['passwd'] && !in_array($board['id'], $_SESSION['board_access']) )
echo '<br/>
', $txt['passwdBoard3'], '
<form style="display:inline" action="', $board['href'], '" method="post">
<input type="password" name="passwd" />
<input type="submit" value="', $txt['passwdBoard4'], '" />
</form>';
else if ( $board['passwd'] )
echo '<img src="', $settings['images_url'], '/icons/quick_lock.gif" style="vertical-align:bottom" title="', $txt['passwdBoard6'], '" />';
Install the mod, and you should have the option to pasword protect boards.
However, don't forget to check that error i mentioned.