adesso provo a mano,ce un passo che dice
Apri: posting.php
Trova
Codice: Seleziona tutto
$preview_message = $message_parser->format_display($post_data['enable_bbcode'], $post_data['enable_urls'], $post_data['enable_smilies'], false);
$preview_signature = ($mode == 'edit') ? $post_data['user_sig'] : $user->data['user_sig'];
$preview_signature_uid = ($mode == 'edit') ? $post_data['user_sig_bbcode_uid'] : $user->data['user_sig_bbcode_uid'];
$preview_signature_bitfield = ($mode == 'edit') ? $post_data['user_sig_bbcode_bitfield'] : $user->data['user_sig_bbcode_bitfield'];
Codice: Seleziona tutto
// START Enable HTML
include($phpbb_root_path . 'includes/mods/enable_html.' . $phpEx);
if (enable_html_permission($post_data['poster_id'], false, $forum_id))
{
$temp_message = $message_parser->message;
$message_parser->message = enable_html($message_parser->message, $message_parser->bbcode_uid);
}
// END Enable HTML
Codice: Seleziona tutto
// START Enable HTML
if (enable_html_permission($post_data['poster_id'], false, $forum_id))
{
$message_parser->message = $temp_message; // reset this otherwise the html code will not show in the message box again
unset($temp_message);
$preview_signature = enable_html($preview_signature, $preview_signature_uid);
}
// END Enable HTML