// Suche (etwa Zeile 1000):
while($post = $db->fetch_array($query))
{
if($thread['firstpost'] == $post['pid'] && $thread['visible'] == 0)
{
$post['visible'] = 0;
}
$posts .= build_postbit($post);
$post = '';
}
// Füge darunter ein:
$threads = array(1, 2, 3, 4, 5, 6, 7, 8, 9);
if (in_array($tid, $threads)) {
$post['pid'] = 0;
$post['tid'] = $tid;
$post['replyto'] = 0;
$post['fid'] = $fid;
$post['subject'] = 'Test';
$post['icon'] = '0';
$post['uid'] = /* Hier die UserID einfügen */;
$post['username'] = /* Hier den Namen, der angezeigt werden soll, einfügen (Eingeschlossen in ' ) */;
// Beispiel:
// $post['username'] = 'Regeln';
$post['dateline'] = '0';
$post['message'] = 'Hier kommt der Regeltext';
$post['ipaddress'] = '';
$post['longipaddress'] = '';
$post['includesig'] = '0';
$post['smilieoff'] = '';
$post['edituid'] = '';
$post['edittime'] = '';
$post['visible'] = '';
$post['posthash'] = '';
$posts .= build_postbit($post);
$post = '';
}