Ao instalar deu este erro
Continue com a instalação e deu erro na Base de dado
Vou ter que fazer o procedimento manual que vou colocar aqui
source/
Load.phpb.ID_THEME, b.override_theme, b.permission_mode, b.countPosts
, b.passwd
'posts_count' => empty($row['countPosts']),
'passwd' => $row['passwd'],
if ($user_info['is_mod'])
$user_info['groups'][] = 3;
// Can they view this board?
if ( !$user_info['is_admin'] && !$user_info['is_mod'] && $board_info['passwd'] && !in_array($board, $_SESSION['board_access']) )
{
if ( !isset($_POST['passwd']) || sha1($board_info['name'].$_POST['passwd']) != $board_info['passwd'] )
{
loadPermissions();
loadTheme();
require_once($GLOBALS['sourcedir'] . '/passwdBoard.php');
passwdBoardFailed(!empty($board) ? "board=$board" : "topic=$topic");
}
else
$_SESSION['board_access'][] = $board;
}
$sc = $_SESSION['rand_code'];
if ( !isset($_SESSION['board_access']) )
$_SESSION['board_access'] = array();
source/
BoardIndex.phpIFNULL(mods_mem.ID_MEMBER, 0) AS ID_MODERATOR, mods_mem.realName AS modRealName
, b.passwd
'href' => $scripturl . '?board=' . $row_board['ID_BOARD'] . '.0',
'passwd' => !empty($row_board['passwd']),
source/S
ubs-Boards.phpif (isset($boardOptions['board_name']))
$boardUpdates[] = 'name = \'' . $boardOptions['board_name'] . '\'';
if (isset($boardOptions['passwd']))
$boardUpdates[] = 'passwd = \'' . $boardOptions['passwd'] . '\'';
b.permission_mode, c.ID_CAT, c.name AS cName, c.catOrder, c.canCollapse
, b.passwd
'prev_board' => $prevBoard
'passwd' => !empty($row['passwd']),
source/
ManageBoards.php 'override_theme' => 0,
'passwd' => '',
$boardOptions['board_description'] = preg_replace('~[&]([^;]{8}|[^;]{0,8}$)~', '&$1', $_POST['desc']);
if ( $_POST['passwdBoard'] != "#FAKEPASSWORD" )
$boardOptions['passwd'] = !empty($_POST['passwdBoard']) ? sha1($boardOptions['board_name'].$_POST['passwdBoard']) : '';
languages/
Modifications.teuidioma.php?>
$txt['passwdBoard1'] = "Senha para este quadro";
$txt['passwdBoard2'] = "Deixe em branco se não tem nenhuma senha";
$txt['passwdBoard3'] = "Digite a senha do quadro: ";
$txt['passwdBoard4'] = "Entrar no Quadro";
$txt['passwdBoard5'] = "Este quadro esta protegido por uma senha e você não forneceu a senha correta nesta sessão";
$txt['passwdBoard6'] = "Quadro está protegido";
ManageBoards.template.php// Finish off the table.
echo '
<tr>
<td>
<b>', $txt['passwdBoard1'], '</b><br />
', $txt['passwdBoard2'], '<br /><br />
</td>
<td align="right">
<input type="password" name="passwdBoard" value="', $context['board']['passwd'] ? '#FAKEPASSWORD' : '', '" />
</td>
</tr>';
BoardIndex.template.php// 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'], '" />';
Por fim correr o ficheiro em anexo
ex.
http://www.teuforum.teudominio/forum/add_settings.php Demo e forum do web masterMz