Want to get involved in developing SMF, then why not lend a hand on our github!
Started by Thantos, December 16, 2005, 01:21:36 AM
Quote from: pintas on August 20, 2007, 04:22:47 PMWell, i downloaded the 0.2 version. Wich version did you use? It works fine with me. All pretty and such, but any user can access the posts simply by clicking the options to view recent posts. So, or didn't install it correctly in my theme or there's a major security flaw in this mod.
$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";
// Show some basic information about the number of posts, etc.
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'], '" />';
Quote from: kamili34 on September 20, 2007, 01:32:11 PMSo when will be finish compatible version with smf 1.1.3
Quote from: Dragooon on September 21, 2007, 11:38:02 AM1.1.3 Version is out .See http://www.simplemachines.org/community/index.php?topic=195938.0