DevFuse Products (View All Products)
Issue information
-
#000543
-
Issue
-
0 - None Assigned
-
Confirmed
-
1.2.0
-
-
Issue Confirmations
-
Yes (0)No (0)
Still waiting for this to be updated Michael.
I have waited 3 months now.
I have waited 3 months now.
I don't have a fixed update schedule but here is a manual patch, if you want to patch your forum now.
Open admin/applications_addon/other/news/modules_admin/news/news.php
Find:
Replace With:
Find:
Replace With:
Save admin/applications_addon/other/news/modules_admin/news/news.php
Open admin/applications_addon/other/news/modules_admin/news/news.php
Find:
IPSText::getTextClass( 'bbcode' )->parse_html = 1;
IPSText::getTextClass( 'bbcode' )->parse_smilies = 1;
IPSText::getTextClass( 'bbcode' )->parse_bbcode = 1;
IPSText::getTextClass( 'bbcode' )->parsing_section = 'news_news';
if ( IPSText::getTextClass( 'editor' )->method == 'rte' )
{
$data['message'] = IPSText::getTextClass( 'bbcode' )->convertForRTE( $data['message'] );
}
else
{
$data['message'] = IPSText::getTextClass( 'bbcode' )->preEditParse( $data['message'] );
}
$show_editor = IPSText::getTextClass( 'editor' )->showEditor( $data['message'], 'message' );
Replace With:
# Load New Editor
$classToLoad = IPSLib::loadLibrary( IPS_ROOT_PATH . 'sources/classes/editor/composite.php', 'classes_editor_composite' );
$this->editor = new $classToLoad();
if ( $data['message'] )
{
$this->editor->setContent( $data['message'], 'news_news' );
}
$show_editor = $this->editor->show( 'message', array( 'height' => 250 ) );
Find:
$content = IPSText::getTextClass( 'editor' )->processRawPost( 'message' );
IPSText::getTextClass('bbcode')->parse_html = 1;
IPSText::getTextClass('bbcode')->parse_smilies = 1;
IPSText::getTextClass('bbcode')->parse_bbcode = 1;
IPSText::getTextClass( 'bbcode' )->parsing_section = 'news_news';
$save['message'] = IPSText::getTextClass('bbcode')->preDbParse( $content );
Replace With:
$classToLoad = IPSLib::loadLibrary( IPS_ROOT_PATH . 'sources/classes/editor/composite.php', 'classes_editor_composite' );
$editor = new $classToLoad();
$content = $editor->process( $_POST['message'] );
IPSText::getTextClass('bbcode')->parse_html = 0;
IPSText::getTextClass('bbcode')->parse_smilies = 1;
IPSText::getTextClass('bbcode')->parse_bbcode = 1;
IPSText::getTextClass('bbcode')->parsing_section = 'news_news';
$save['message'] = IPSText::getTextClass( 'bbcode' )->preDbParse( $content );
Save admin/applications_addon/other/news/modules_admin/news/news.php
Michael
Thanks very much, works perfectly.
Please keep up the great work.
Thanks very much, works perfectly.
Please keep up the great work.
1 user(s) are reading this issue
0 members, 1 guests, 0 anonymous users




Michael








