в дистрибутиве блога нет - :-( в файле www\sources\classes\class_display.php, соответсвенно два раза находится: в районе 320 строки //-----------------------------------------
// Do we have a PM show?
//-----------------------------------------
if ( $this->ipsclass->member['show_popup'] AND ! $this->ipsclass->member['members_disable_pm'] )
{
$this->ipsclass->DB->simple_construct( array( 'update' => 'members', 'set' => 'show_popup=0', 'where' => 'id='.$this->ipsclass->member['id'] ) );
$this->ipsclass->DB->simple_shutdown_exec();
if ( $this->ipsclass->input['act'] != 'Msg' )
{
$this->ipsclass->skin['_wrapper'] = str_replace( '<!--IBF.NEWPMBOX-->', $this->ipsclass->get_new_pm_notification(), $this->ipsclass->skin['_wrapper'] );
}
}
if ( stristr( $this->ipsclass->skin['_wrapper'], '<!--exec.' ) )
{
$this->_parse_exec_tags();
} сюда то как раз я и переставил по вашей рекомендации выше код и еще один (в раойне 550 строки) /*-------------------------------------------------------------------------*/
// Parse EXEC tags
/*-------------------------------------------------------------------------*/
/**
* Parses exec tags in the wrapper
* Nicked from IP.Dynamic.
*/
function _parse_exec_tags()
{
preg_match_all( "#<\!--exec\.(file|url)=(?:[\"'])?(.+?)(?:[\"'])?-->#is", $this->ipsclass->skin['_wrapper'], $match );
for ($i=0; $i < count($match[0]); $i++)
{
$method = strtolower(trim( $match[1][$i] ));
$uri = trim( $match[2][$i] );
//-----------------------------------------
// PARSE: URL
//-----------------------------------------
if ( $method == 'url' )
{
//-----------------------------------------
// Buffer...
//-----------------------------------------
@ob_start();
include( $uri );
$data = @ob_get_contents();
@ob_end_clean();
}
//-----------------------------------------
// PARSE: LOCAL FILE
//-----------------------------------------
else
{
if ( file_exists( $uri ) )
{
//-----------------------------------------
// Buffer...
//-----------------------------------------
@ob_start();
include( $uri );
$data = @ob_get_contents();
@ob_end_clean();
}
}
$this->ipsclass->skin['_wrapper'] = str_replace( $match[0][$i], "<!--included content-->\n".$data."\n<!--/ included content-->", $this->ipsclass->skin['_wrapper'] );
unset( $data );
}
}