как научить phpBBlog bb-коду ?

в смысле? =)а Faq/manual есть где-нить ?
Код: Выделить всё
// Parse HTML
if ( !$board_config['allow_html'] || !$userdata['user_allowhtml'])
{
$text = preg_replace('#(<)([\/]?.*?)(>)#is', "<\\2>", $text);
}
// Parse BBcodes
if ( $bbcode_uid != '' )
{
$text = ( $board_config['allow_bbcode'] ) ? bbencode_second_pass($text, $bbcode_uid) : preg_replace('/\:[0-9a-z\:]+\]/si', ']', $text);
}
$text = make_clickable($text);
// Parse smilies
if ( $board_config['allow_smilies'] )
{
$text = smilies_pass($text);
}
// Replace naughty words
if (count($orig_word))
{
$text = str_replace('\"', '"', substr(@preg_replace('#(\>(((?>([^><]+|(?R)))*)\<))#se', "@preg_replace(\$orig_word, \$replacement_word, '\\0')", '>' . $text . '<'), 1, -1));
}
$text = str_replace("\n", "\n<br />\n", $text);
Код: Выделить всё
$text = htmlspecialchars($text);
$bbcode_uid = make_bbcode_uid();
$text = prepare_message(trim($text), $board_config['allow_html'], $board_config['allow_bbcode'], $board_config['allow_smilies'], $bbcode_uid);
$sql = "INSERT INTO " . BLOG_TABLE . " (user_id, date, text, bbcode_uid)
VALUES (" . $userdata['user_id'] . " , '" . time() . "', '$text', '$bbcode_uid')";
Код: Выделить всё
##############################################################
## Author Notes: phpBBlog allows to an Administrators to have a Blog inside phpBB and to directly
## manage it in the page. It is also possible to eliminate the comments added by the Users.
## The menu of the archives of the Blog is automatically generated
## and it is advisable not to add more than an event a day.
##
## Attention!! Only admins can add a event in the Blog, login first.