maxville
Проверенные
- Сообщения
- 144
- Реакции
- 54
- Баллы
- 3,330
Подскажите, как поправить под XenPorto 2, на офф сайте есть решение только для первого портала
XenPorta Support:
In library/EWRporta/ViewPublic/Custom.php, replace:
With:
в втором нашел в файле library/EWRporta2/ViewPublic/Global.php
Ребят, очень нужно =(
Вопрос актуальный
XenPorta Support:
In library/EWRporta/ViewPublic/Custom.php, replace:
PHP:
$bbCodeParser = new XenForo_BbCode_Parser(XenForo_BbCode_Formatter_Base::create('Base', array('view' => $this)));
$bbCodeOptions = array('states' => array('viewAttachments' => true));
XenForo_ViewPublic_Helper_Message::bbCodeWrapMessages($params[$block['block_id']], $bbCodeParser, $bbCodeOptions);
With:
PHP:
$formatter = Dark_ParseHTML_BbCode_Formatter_Ritsu::create('Dark_ParseHTML_BbCode_Formatter_Ritsu', array('view' => $this));
$bbCodeParser = new Dark_ParseHTML_BbCode_Parser($formatter);
$bbCodeOptions = array('states' => array('viewAttachments' => true));
Dark_ParseHTML_ViewPublic_Helper_Message::bbCodeWrapMessages($params[$block['block_id']], $bbCodeParser, $bbCodeOptions);
в втором нашел в файле library/EWRporta2/ViewPublic/Global.php
PHP:
$bbCodeParser = new XenForo_BbCode_Parser(XenForo_BbCode_Formatter_Base::create('Base', array('view' => $this)));
$bbCodeOptions = array('viewAttachments' => true);
Ребят, очень нужно =(
Вопрос актуальный