Actron 0 Report post Posted June 5, 2005 Da hat Stefan auf ein Update hingewiesen: http://www.ipbsupport.de/board/index.php?showtopic=4165 In der Topics.php finde ich bei 1.3.1 die Stelle aber gar nicht. Was da los? Und die Zeile aus usercp.php finde ich hier auch nicht: http://forums.invisionpower.com/index.php?...dpost&p=1172011 cu Bernd Share this post Link to post
Tankred 0 Report post Posted June 5, 2005 (edited) Hast Du nur an der angegebenen Stelle gesucht oder im gesamten Dokument? Die zu ändernden Stellen sind nicht bei jedem in der selben Zeile. Edited June 5, 2005 by Tankred Share this post Link to post
Actron 0 Report post Posted June 5, 2005 Beides. Selbst und mit Suchfunktion geshcaut. Nix. Ist das vielleicht nur bei der 1.3 nicht bne der 1.3.1?? cu Bernd Share this post Link to post
Tankred 0 Report post Posted June 5, 2005 Es müsste für alle 1.3.x-Versionen sein, denn der Fix ist ja von 2005. Share this post Link to post
Actron 0 Report post Posted June 5, 2005 Aber gibt es die Zeilenbei euch? cu Share this post Link to post
Tankred 0 Report post Posted June 5, 2005 Schick mir die beiden Dateien einfach mal, ich schau mir das an. E-Mail-Adresse kommt per PN. Share this post Link to post
Actron 0 Report post Posted June 6, 2005 Nur die Stelle is ähnlich dem unten: if ($ibforums->input['hl']) { $keywords = str_replace( "+", " ", $ibforums->input['hl'] ); if ( preg_match("/,(and|or),/i", $keywords) ) { while ( preg_match("/,(and|or),/i", $keywords, $match) ) { $word_array = explode( ",".$match[1].",", $keywords ); if (is_array($word_array)) { foreach ($word_array as $keywords) { $row['post'] = preg_replace( "/(^|\s)(".preg_quote($keywords, '/').")(\s|,|\.|!|<br|$)/is", "\\1<span class='searchlite'>\\2</span>\\3", $row['post'] ); } } } } So is der Fix: //----------------------------------------- // Highlight... //----------------------------------------- if ($ibforums->input['hl']) { $ibforums->input['hl'] = $std->clean_value(urldecode($ibforums->input['hl'])); $loosematch = strstr( $ibforums->input['hl'], '*' ) ? 1 : 0; $keywords = str_replace( '*', '', str_replace( "+", " ", str_replace( '-', '', trim($ibforums->input['hl']) ) ) ); $word_array = array(); $endmatch1 = ""; $endmatch2 = "(.)"; Das andere finde ich auch nicht nzr ähnlich. Wohl doch 1.3... cu Bernd Share this post Link to post
Stefan 0 Report post Posted June 6, 2005 Die Suchfunktion hätte ggf. die ein oder andere Frage sicherlich unnötig gemacht. Link Share this post Link to post
Actron 0 Report post Posted June 6, 2005 Sind alle nicht so sicher dabei was? Wo genau kommt jetzt was hin? :-( Und usercp.php hat wohl garkeiner gepatcht..... cu Bernd Share this post Link to post