Verfasst: 16.03.2005 11:21
nein, das Attachment in einer PN wird nur einmalig angezeigt, wie es sein sollte... *seufz*
phpBB.de - Die deutsche phpBB-Community
https://www.phpbb.de/community/
ist doppelt drindisplay_post_attachments($postrow[$i]['post_id'], $postrow[$i]['post_attachment']);
'L_MINI_POST_ALT' => $mini_post_alt,
'U_MINI_POST' => $mini_post_url,
'U_POST_ID' => $postrow[$i]['post_id'])
);
display_post_attachments($postrow[$i]['post_id'], $postrow[$i]['post_attachment']);
//
//Nickpagebutton
//
$sql = "SELECT COUNT(uid) AS zaehle FROM ".NICKPAGE_TABLE." WHERE uid='".$poster_id."'";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Querrie-Fehler', '', __LINE__, __FILE__, $sql);
}
$row = $db->sql_fetchrow($result);
if($row['zaehle'] == "1")
{
$template->assign_block_vars('postrow.Nickpagebutton', array(
'U_NICKPAGE' => append_sid('nickpage.'.$phpEx.'?user='.$poster),
));
}
display_post_attachments($postrow[$i]['post_id'], $postrow[$i]['post_attachment']);
}
$template->pparse('body');
sprich ich habe gelesen, das ich es 2x einfügen soll, der sinn ist natürlich das man es einmal dazwischen einfügen soll!# The Line have to be added AFTER the ');' and BEFORE the '}'