Verfasst: 12.06.2005 00:18
ich wäre zufrieden wen er das in mein forum da überhaupt mal anzeigen würde
phpBB.de - Die deutsche phpBB-Community
https://www.phpbb.de/community/
Auftrag lautet:'U_MINI_POST' => $mini_post_url,
//-- mod : categories hierarchy ------------------------------------------------
//-- delete
// 'U_POST_ID' => $postrow[$i]['post_id'])
// );
// }
//-- add
'U_POST_ID' => $postrow[$i]['post_id'],
'U_UNREAD_POST' => $config->url('viewtopic', array(POST_POST_URL => $postrow[$i]['post_id'], 'unmark' => 'post'), true),
));
$template->set_switch('postrow.light', !($i % 2));
//-- mod : attachmod -----------------------------------------------------------
//-- add
display_post_attachments($postrow[$i]['post_id'], $postrow[$i]['post_attachment']);
//-- fin mod : attachmod -------------------------------------------------------
$template->set_switch('postrow.unmark_read', $cookie_setup['keep_unreads']);
ich hab´s so, weil ich nicht genau wusste, wie ichs einfügen soll.... aber dann ist das wohl falsch:#
#-----[ FIND ]------------------------------------------
#
'U_POST_ID' => $postrow[$i]['post_id'])
#
#-----[ AFTER, ADD ]------------------------------------------
#
);
$cm_viewtopic->post_vars($postrow[$i],$userdata,$forum_id
mag mir jemand sagen, wie ichs einbauen muss, bittö'U_MINI_POST' => $mini_post_url,
//-- mod : categories hierarchy ------------------------------------------------
//-- delete
// 'U_POST_ID' => $postrow[$i]['post_id'])
// );
// }
//-- add
'U_POST_ID' => $postrow[$i]['post_id'],
'U_UNREAD_POST' => $config->url('viewtopic', array(POST_POST_URL => $postrow[$i]['post_id'], 'unmark' => 'post'), true),
));
$cm_viewtopic->post_vars($postrow[$i],$userdata,$forum_id
);
$template->set_switch('postrow.light', !($i % 2));
//-- mod : attachmod -----------------------------------------------------------
//-- add
display_post_attachments($postrow[$i]['post_id'], $postrow[$i]['post_attachment']);
//-- fin mod : attachmod -------------------------------------------------------
$template->set_switch('postrow.unmark_read', $cookie_setup['keep_unreads']);
Code: Alles auswählen
define('IN_PHPBB', true);
define('IN_CASHMOD', true);
define('CM_VIEWTOPIC', true);
Code: Alles auswählen
LIMIT $start, ".$board_config['posts_per_page'];
$cm_viewtopic->generate_columns($template,$forum_id,$sql);
Code: Alles auswählen
'U_POST_ID' => $postrow[$i]['post_id'])
);
$cm_viewtopic->post_vars($postrow[$i],$userdata,$forum_id