Aber im Forum selbst wird der BBCode nicht umgesetzt

Woran liegt das, welche Funktion muß ich aufrufen und wo ist die zu finden ?
Code:
Code: Alles auswählen
/* newsthread erstellen */
$title = $n_cat.": ".$n_headline;
$sql_thread = "INSERT INTO ".$sql_pre."_topics (forum_id, topic_title, topic_poster, topic_time)
VALUES ('7', '".$title."', '".$_SESSION['ses_user_id']."', '".mktime()."')";
if(mysql_query($sql_thread))
{
echo "Newsthread erfolgreich erstellt.<br>";
}
$news_thread = mysql_insert_id();
/* newspost erstellen */
$sql_post = "INSERT INTO ".$sql_pre."_posts (topic_id, forum_id, poster_id, post_time, post_username)
VALUES ('".mysql_insert_id()."', '7', '".$_SESSION['ses_user_id']."', '".mktime()."', '".$_SESSION['ses_user']."')";
if(mysql_query($sql_post))
{
echo "Newspost Teil 1 erfolgreich erstellt.<br>";
}
$news_post = mysql_insert_id();
/* newspost text erstellen */
$sql_text = "INSERT INTO ".$sql_pre."_posts_text (post_id, post_subject, post_text)
VALUES ('".mysql_insert_id()."', '".$title."', '".$n_text."')";
if(mysql_query($sql_text))
{
echo "Newspost Teil 2 erfolgreich erstellt.<br>";
}
$sql_upd_t = "UPDATE ".$sql_pre."_topics SET topic_first_post_id = '".$news_post."',
topic_last_post_id = '".$news_post."' WHERE topic_id = '".$news_thread."'";
mysql_query($sql_upd_t);
Danke für die Hilfe !
P.S.: Hoffe das ist das richtige Forum O.o[/code]