Xpert писал(а):Только что смотрел код еще раз и обнаружмл, что в function_search я ошибся, забыв вызов функции. Поправил...
если можно, покажите а? а то поисковик на
http://www.phpbb.com/phpBB мне отказал
Добавлено спустя 58 минут 6 секунд:
вот я покапался и нашел:
Код: Выделить всё
OPEN posting.php
FIND
Code:
$topic_type = ( $topic_type != $post_data['topic_type'] && !$is_auth['auth_sticky'] && !$is_auth['auth_announce'] ) ? $post_data['topic_type'] : $topic_type;
submit_post($mode, $post_data, $return_message, $return_meta, $forum_id, $topic_id, $post_id, $poll_id, $topic_type, $bbcode_on, $html_on, $smilies_on, $attach_sig, $bbcode_uid, str_replace("\'", "''", $username), str_replace("\'", "''", $subject), str_replace("\'", "''", $message), str_replace("\'", "''", $poll_title), $poll_options, $poll_length);
REPLACE WITH
Code:
$topic_type = ( $topic_type != $post_data['topic_type'] && !$is_auth['auth_sticky'] && !$is_auth['auth_announce'] ) ? $post_data['topic_type'] : $topic_type;
$temp1=str_replace("\'", "''", $username);
$temp2= str_replace("\'", "''", $subject);
$temp3=str_replace("\'", "''", $message);
$temp4= str_replace("\'", "''", $poll_title);
submit_post($mode, $post_data, $return_message, $return_meta, $forum_id, $topic_id, $post_id, $poll_id, $topic_type, $bbcode_on, $html_on, $smilies_on, $attach_sig, $bbcode_uid, $temp1, $temp2, $temp3, $temp4, $poll_options, $poll_length);
OPEN search.php
FIND
Code:
$split_search = ( !strstr($multibyte_charset, $lang['ENCODING']) ) ? split_words(clean_words('search', stripslashes($search_keywords), $stopword_array, $synonym_array), 'search') : split(' ', $search_keywords);
REPLACE WITH
Code:
if (!strstr($multibyte_charset, $lang['ENCODING']))
{
$temp1 = stripslashes($search_keywords);
$temp2 = clean_words('search', $temp1, $stopword_array, $synonym_array); $split_search = split_words($temp2, 'search');
}
else
$split_search = split(' ', $search_keywords);
а в итоге поиск не работал таки не работает... ну одно радует, ошибок ни каких не выдает, типа просто пишет что ничего не найдено )))
Добавлено спустя 3 минуты 18 секунд:
если кому интересно откапал вот
тут