Seite 1 von 1
Neuen Beitrag erstellen trotz bereits neuem Beitrag?
Verfasst: 10.08.2008 20:03
von DjBepy
Ahoi alle zusammen
Wenn ein User ein Beitrag tippt und absendet, während in der zwischenzeit bereits ein neuer Beitrag erstellt wurde, muss der User sich immer erst den neuen Beitrag durchlesen & nochmals auf absenden klicken.
Wie kann ich das abschalten, so das direkt gepostet wird, ohne das eine Prüfung statt findet?
Verfasst: 10.08.2008 21:20
von nickvergessen
posting.php
finde:
Code: Alles auswählen
// If replying/quoting and last post id has changed
// give user option to continue submit or return to post
// notify and show user the post made between his request and the final submit
if (($mode == 'reply' || $mode == 'quote') && $post_data['topic_cur_post_id'] && $post_data['topic_cur_post_id'] != $post_data['topic_last_post_id'])
{
// Only do so if it is allowed forum-wide
if ($post_data['forum_flags'] & FORUM_FLAG_POST_REVIEW)
{
if (topic_review($topic_id, $forum_id, 'post_review', $post_data['topic_cur_post_id']))
{
$template->assign_var('S_POST_REVIEW', true);
}
$submit = false;
$refresh = true;
}
}
ersetze mit:
Code: Alles auswählen
/*
// If replying/quoting and last post id has changed
// give user option to continue submit or return to post
// notify and show user the post made between his request and the final submit
if (($mode == 'reply' || $mode == 'quote') && $post_data['topic_cur_post_id'] && $post_data['topic_cur_post_id'] != $post_data['topic_last_post_id'])
{
// Only do so if it is allowed forum-wide
if ($post_data['forum_flags'] & FORUM_FLAG_POST_REVIEW)
{
if (topic_review($topic_id, $forum_id, 'post_review', $post_data['topic_cur_post_id']))
{
$template->assign_var('S_POST_REVIEW', true);
}
$submit = false;
$refresh = true;
}
}
*/
Verfasst: 10.08.2008 21:42
von DjBepy
Danke
