ja den meinte ich auch aber hab den schon raus bekommen aberda ist noch das ich per firefox die foren nicht sehe und per ie da ne fehlermeldung kommt.
Der fehler muß in der functions_post.php liegen aber ich bin mir momentan einfach nicht sicher wie ich das abändern muß
edit nun habe ich einwenig die codes durch gesehen und habe das problem glaube ich eingegrenzt auf diesen codeabschnitt der ist bei mir garned so vorhanden und das habe ich versucht an der richtigen stelle einzufügen:
mach ich also ich hab schon rausgefunden das sobald ich versuche diesen code einzubinden wo ich denke das es eigentlich richtig ist er nichts mehr macht
Code: Alles auswählen
#
#-----[ FIND ]------------------------------------------
#
if ($mode == 'newtopic' || $mode == 'reply')
#
#-----[ REPLACE WITH ]------------------------------------------
#
if ( !isset($post_data['flood_control_off']) && ( $mode == 'newtopic' || $mode == 'reply' ) ) // ADDED ' !isset($post_data['flood_control_off']) && ( ' AND ')' BY Quiz Hack
#
die einzigen zwei stellen wo ich dachte der code gehört in eine von denen sind hier drin:
Code: Alles auswählen
//
// Handle poll stuff
//
if ($mode == 'newtopic' || ($mode == 'editpost' && $post_data['first_post']))
{
$poll_length = (isset($poll_length)) ? max(0, intval($poll_length)) : 0;
if (!empty($poll_title))
{
$poll_title = htmlspecialchars(trim($poll_title));
}
if(!empty($poll_options))
{
$temp_option_text = array();
while(list($option_id, $option_text) = @each($poll_options))
{
$option_text = trim($option_text);
if (!empty($option_text))
{
$temp_option_text[$option_id] = htmlspecialchars($option_text);
}
}
$option_text = $temp_option_text;
if (count($poll_options) < 2)
{
$error_msg .= (!empty($error_msg)) ? '<br />' . $lang['To_few_poll_options'] : $lang['To_few_poll_options'];
}
else if (count($poll_options) > $board_config['max_poll_options'])
{
$error_msg .= (!empty($error_msg)) ? '<br />' . $lang['To_many_poll_options'] : $lang['To_many_poll_options'];
}
else if ($poll_title == '')
{
$error_msg .= (!empty($error_msg)) ? '<br />' . $lang['Empty_poll_title'] : $lang['Empty_poll_title'];
}
}
}
return;
}
//
// Post a new topic/reply/poll or edit existing post/poll
//
//-- mod : post icon -------------------------------------------------------------------------------
// here we added
// , $post_icon = 0
//-- modify
function submit_post($mode, &$post_data, &$message, &$meta, &$forum_id, &$topic_id, &$post_id, &$poll_id, &$topic_type, &$bbcode_on, &$html_on, &$smilies_on, &$attach_sig, &$bbcode_uid, &$post_username, &$post_subject, &$post_message, &$poll_title, &$poll_options, &$poll_length, $post_icon = 0)
//-- fin mod : post icon ---------------------------------------------------------------------------
{
global $board_config, $lang, $db, $phpbb_root_path, $phpEx;
global $userdata, $user_ip;
include($phpbb_root_path . 'includes/functions_search.'.$phpEx);
$current_time = time();
if ($mode == 'newtopic' || $mode == 'reply' || $mode == 'editpost')
{