Вот выкладываю версии измененных файлов для форума.
Все сделано как в инструкции. Но ничего не работает. Всю голову уже сломал. Поправьте если что не так.
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 881: Undefined index: topic_first_post_show<?php
/**
*
* common [English]
*
* @package language
* @version $Id: common.php 8479 2008-03-29 00:22:48Z naderman $
* @copyright (c) 2005 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
exit;
}
if (empty($lang) || !is_array($lang))
{
$lang = array();
}
// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
//
// Some characters you may want to copy&paste:
//
_____________________________________
<?php
/**
*
* common [Russian]
*
* @package language
* @version $Id: common.php,v 1.195 2007/11/06 14:55:07 acydburn Exp $
* @copyright (c) 2005 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
exit;
}
if (empty($lang) || !is_array($lang))
{
$lang = array();
}
// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
//
// Some characters you may want to copy&paste:
//
SamFisherBD писал(а):Тупо набил сообщений на две страницы.. не работает мод - в чем проблема подскажите, пожалуйста!!!

SQL ERROR [ mysqli ]
Unknown column 'topic_first_post_show' in 'field list' [1054]
SQL
UPDATE cl_board_topics SET topic_first_post_show = ' . ((1) ? 1 : 0) . ' WHERE topic_id = 5272
BACKTRACE
FILE: includes/db/mysqli.php
LINE: 143
CALL: dbal->sql_error()
FILE: posting.php
LINE: 1020
CALL: dbal_mysqli->sql_query()ALTER TABLE phpbb_topics ADD topic_first_post_show TINYINT(1) UNSIGNED DEFAULT '0' NOT NULL;$poll_delete = (isset($_POST['poll_delete'])) ? true : false;$topic_first_post_show = (isset($_POST['topic_first_post_show'])) ? true : false; $topic_first_post_show = (isset($_POST['topic_first_post_show'])) ? 1 : 0; $topic_first_post_show = (isset($_POST['topic_first_post_show'])) ? true : false;Вернуться в Анонсы и поддержка модов для phpBB 3.0.x
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 0